home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue49 / ComCorn / Word_TLB.pas < prev   
Encoding:
Pascal/Delphi Source File  |  1999-08-01  |  992.6 KB  |  19,665 lines

  1. unit Word_TLB;
  2.  
  3. // ************************************************************************ //
  4. // WARNING                                                                  //
  5. // -------                                                                  //
  6. // The types declared in this file were generated from data read from a     //
  7. // Type Library. If this type library is explicitly or indirectly (via      //
  8. // another type library referring to this type library) re-imported, or the //
  9. // 'Refresh' command of the Type Library Editor activated while editing the //
  10. // Type Library, the contents of this file will be regenerated and all      //
  11. // manual modifications will be lost.                                       //
  12. // ************************************************************************ //
  13.  
  14. // PASTLWTR : $Revision:   1.11.1.75  $
  15. // File generated on 8/1/99 8:29:04 PM from Type Library described below.
  16.  
  17. // ************************************************************************ //
  18. // Type Lib: C:\Program Files\Microsoft Office\Office\MSWORD9.OLB
  19. // IID\LCID: {00020905-0000-0000-C000-000000000046}\0
  20. // Helpfile: C:\Program Files\Microsoft Office\Office\VBAWRD9.CHM
  21. // HelpString: Microsoft Word 9.0 Object Library
  22. // Version:    8.1
  23. // ************************************************************************ //
  24.  
  25. interface
  26.  
  27. uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL, 
  28.   Office_TLB, VBIDE_TLB;
  29.  
  30. // *********************************************************************//
  31. // GUIDS declared in the TypeLibrary. Following prefixes are used:      //
  32. //   Type Libraries     : LIBID_xxxx                                    //
  33. //   CoClasses          : CLASS_xxxx                                    //
  34. //   DISPInterfaces     : DIID_xxxx                                     //
  35. //   Non-DISP interfaces: IID_xxxx                                      //
  36. // *********************************************************************//
  37. const
  38.   LIBID_Word: TGUID = '{00020905-0000-0000-C000-000000000046}';
  39.   IID__Application: TGUID = '{00020970-0000-0000-C000-000000000046}';
  40.   IID__Global: TGUID = '{000209B9-0000-0000-C000-000000000046}';
  41.   IID_FontNames: TGUID = '{0002096F-0000-0000-C000-000000000046}';
  42.   IID_Languages: TGUID = '{0002096E-0000-0000-C000-000000000046}';
  43.   IID_Language: TGUID = '{0002096D-0000-0000-C000-000000000046}';
  44.   IID_Documents: TGUID = '{0002096C-0000-0000-C000-000000000046}';
  45.   IID__Document: TGUID = '{0002096B-0000-0000-C000-000000000046}';
  46.   IID_Template: TGUID = '{0002096A-0000-0000-C000-000000000046}';
  47.   IID_Templates: TGUID = '{000209A2-0000-0000-C000-000000000046}';
  48.   IID_RoutingSlip: TGUID = '{00020969-0000-0000-C000-000000000046}';
  49.   IID_Bookmark: TGUID = '{00020968-0000-0000-C000-000000000046}';
  50.   IID_Bookmarks: TGUID = '{00020967-0000-0000-C000-000000000046}';
  51.   IID_Variable: TGUID = '{00020966-0000-0000-C000-000000000046}';
  52.   IID_Variables: TGUID = '{00020965-0000-0000-C000-000000000046}';
  53.   IID_RecentFile: TGUID = '{00020964-0000-0000-C000-000000000046}';
  54.   IID_RecentFiles: TGUID = '{00020963-0000-0000-C000-000000000046}';
  55.   IID_Window_: TGUID = '{00020962-0000-0000-C000-000000000046}';
  56.   IID_Windows: TGUID = '{00020961-0000-0000-C000-000000000046}';
  57.   IID_Pane: TGUID = '{00020960-0000-0000-C000-000000000046}';
  58.   IID_Panes: TGUID = '{0002095F-0000-0000-C000-000000000046}';
  59.   IID_Range: TGUID = '{0002095E-0000-0000-C000-000000000046}';
  60.   IID_ListFormat: TGUID = '{000209C0-0000-0000-C000-000000000046}';
  61.   IID_Find: TGUID = '{000209B0-0000-0000-C000-000000000046}';
  62.   IID_Replacement: TGUID = '{000209B1-0000-0000-C000-000000000046}';
  63.   IID_Characters: TGUID = '{0002095D-0000-0000-C000-000000000046}';
  64.   IID_Words: TGUID = '{0002095C-0000-0000-C000-000000000046}';
  65.   IID_Sentences: TGUID = '{0002095B-0000-0000-C000-000000000046}';
  66.   IID_Sections: TGUID = '{0002095A-0000-0000-C000-000000000046}';
  67.   IID_Section: TGUID = '{00020959-0000-0000-C000-000000000046}';
  68.   IID_Paragraphs: TGUID = '{00020958-0000-0000-C000-000000000046}';
  69.   IID_Paragraph: TGUID = '{00020957-0000-0000-C000-000000000046}';
  70.   IID_DropCap: TGUID = '{00020956-0000-0000-C000-000000000046}';
  71.   IID_TabStops: TGUID = '{00020955-0000-0000-C000-000000000046}';
  72.   IID_TabStop: TGUID = '{00020954-0000-0000-C000-000000000046}';
  73.   IID__ParagraphFormat: TGUID = '{00020953-0000-0000-C000-000000000046}';
  74.   IID__Font: TGUID = '{00020952-0000-0000-C000-000000000046}';
  75.   IID_Table: TGUID = '{00020951-0000-0000-C000-000000000046}';
  76.   IID_Row: TGUID = '{00020950-0000-0000-C000-000000000046}';
  77.   IID_Column: TGUID = '{0002094F-0000-0000-C000-000000000046}';
  78.   IID_Cell: TGUID = '{0002094E-0000-0000-C000-000000000046}';
  79.   IID_Tables: TGUID = '{0002094D-0000-0000-C000-000000000046}';
  80.   IID_Rows: TGUID = '{0002094C-0000-0000-C000-000000000046}';
  81.   IID_Columns: TGUID = '{0002094B-0000-0000-C000-000000000046}';
  82.   IID_Cells: TGUID = '{0002094A-0000-0000-C000-000000000046}';
  83.   IID_AutoCorrect: TGUID = '{00020949-0000-0000-C000-000000000046}';
  84.   IID_AutoCorrectEntries: TGUID = '{00020948-0000-0000-C000-000000000046}';
  85.   IID_AutoCorrectEntry: TGUID = '{00020947-0000-0000-C000-000000000046}';
  86.   IID_FirstLetterExceptions: TGUID = '{00020946-0000-0000-C000-000000000046}';
  87.   IID_FirstLetterException: TGUID = '{00020945-0000-0000-C000-000000000046}';
  88.   IID_TwoInitialCapsExceptions: TGUID = '{00020944-0000-0000-C000-000000000046}';
  89.   IID_TwoInitialCapsException: TGUID = '{00020943-0000-0000-C000-000000000046}';
  90.   IID_Footnotes: TGUID = '{00020942-0000-0000-C000-000000000046}';
  91.   IID_Endnotes: TGUID = '{00020941-0000-0000-C000-000000000046}';
  92.   IID_Comments: TGUID = '{00020940-0000-0000-C000-000000000046}';
  93.   IID_Footnote: TGUID = '{0002093F-0000-0000-C000-000000000046}';
  94.   IID_Endnote: TGUID = '{0002093E-0000-0000-C000-000000000046}';
  95.   IID_Comment: TGUID = '{0002093D-0000-0000-C000-000000000046}';
  96.   IID_Borders: TGUID = '{0002093C-0000-0000-C000-000000000046}';
  97.   IID_Border: TGUID = '{0002093B-0000-0000-C000-000000000046}';
  98.   IID_Shading: TGUID = '{0002093A-0000-0000-C000-000000000046}';
  99.   IID_TextRetrievalMode: TGUID = '{00020939-0000-0000-C000-000000000046}';
  100.   IID_AutoTextEntries: TGUID = '{00020937-0000-0000-C000-000000000046}';
  101.   IID_AutoTextEntry: TGUID = '{00020936-0000-0000-C000-000000000046}';
  102.   IID_System_: TGUID = '{00020935-0000-0000-C000-000000000046}';
  103.   IID_OLEFormat: TGUID = '{00020933-0000-0000-C000-000000000046}';
  104.   IID_LinkFormat: TGUID = '{00020931-0000-0000-C000-000000000046}';
  105.   IID__OLEControl: TGUID = '{000209A4-0000-0000-C000-000000000046}';
  106.   IID_Fields: TGUID = '{00020930-0000-0000-C000-000000000046}';
  107.   IID_Field: TGUID = '{0002092F-0000-0000-C000-000000000046}';
  108.   IID_Browser: TGUID = '{0002092E-0000-0000-C000-000000000046}';
  109.   IID_Styles: TGUID = '{0002092D-0000-0000-C000-000000000046}';
  110.   IID_Style: TGUID = '{0002092C-0000-0000-C000-000000000046}';
  111.   IID_Frames: TGUID = '{0002092B-0000-0000-C000-000000000046}';
  112.   IID_Frame: TGUID = '{0002092A-0000-0000-C000-000000000046}';
  113.   IID_FormFields: TGUID = '{00020929-0000-0000-C000-000000000046}';
  114.   IID_FormField: TGUID = '{00020928-0000-0000-C000-000000000046}';
  115.   IID_TextInput: TGUID = '{00020927-0000-0000-C000-000000000046}';
  116.   IID_CheckBox: TGUID = '{00020926-0000-0000-C000-000000000046}';
  117.   IID_DropDown: TGUID = '{00020925-0000-0000-C000-000000000046}';
  118.   IID_ListEntries: TGUID = '{00020924-0000-0000-C000-000000000046}';
  119.   IID_ListEntry: TGUID = '{00020923-0000-0000-C000-000000000046}';
  120.   IID_TablesOfFigures: TGUID = '{00020922-0000-0000-C000-000000000046}';
  121.   IID_TableOfFigures: TGUID = '{00020921-0000-0000-C000-000000000046}';
  122.   IID_MailMerge: TGUID = '{00020920-0000-0000-C000-000000000046}';
  123.   IID_MailMergeFields: TGUID = '{0002091F-0000-0000-C000-000000000046}';
  124.   IID_MailMergeField: TGUID = '{0002091E-0000-0000-C000-000000000046}';
  125.   IID_MailMergeDataSource: TGUID = '{0002091D-0000-0000-C000-000000000046}';
  126.   IID_MailMergeFieldNames: TGUID = '{0002091C-0000-0000-C000-000000000046}';
  127.   IID_MailMergeFieldName: TGUID = '{0002091B-0000-0000-C000-000000000046}';
  128.   IID_MailMergeDataFields: TGUID = '{0002091A-0000-0000-C000-000000000046}';
  129.   IID_MailMergeDataField: TGUID = '{00020919-0000-0000-C000-000000000046}';
  130.   IID_Envelope: TGUID = '{00020918-0000-0000-C000-000000000046}';
  131.   IID_MailingLabel: TGUID = '{00020917-0000-0000-C000-000000000046}';
  132.   IID_CustomLabels: TGUID = '{00020916-0000-0000-C000-000000000046}';
  133.   IID_CustomLabel: TGUID = '{00020915-0000-0000-C000-000000000046}';
  134.   IID_TablesOfContents: TGUID = '{00020914-0000-0000-C000-000000000046}';
  135.   IID_TableOfContents: TGUID = '{00020913-0000-0000-C000-000000000046}';
  136.   IID_TablesOfAuthorities: TGUID = '{00020912-0000-0000-C000-000000000046}';
  137.   IID_TableOfAuthorities: TGUID = '{00020911-0000-0000-C000-000000000046}';
  138.   IID_Dialogs: TGUID = '{00020910-0000-0000-C000-000000000046}';
  139.   IID_Dialog: TGUID = '{000209B8-0000-0000-C000-000000000046}';
  140.   IID_PageSetup: TGUID = '{00020971-0000-0000-C000-000000000046}';
  141.   IID_LineNumbering: TGUID = '{00020972-0000-0000-C000-000000000046}';
  142.   IID_TextColumns: TGUID = '{00020973-0000-0000-C000-000000000046}';
  143.   IID_TextColumn: TGUID = '{00020974-0000-0000-C000-000000000046}';
  144.   IID_Selection: TGUID = '{00020975-0000-0000-C000-000000000046}';
  145.   IID_TablesOfAuthoritiesCategories: TGUID = '{00020976-0000-0000-C000-000000000046}';
  146.   IID_TableOfAuthoritiesCategory: TGUID = '{00020977-0000-0000-C000-000000000046}';
  147.   IID_CaptionLabels: TGUID = '{00020978-0000-0000-C000-000000000046}';
  148.   IID_CaptionLabel: TGUID = '{00020979-0000-0000-C000-000000000046}';
  149.   IID_AutoCaptions: TGUID = '{0002097A-0000-0000-C000-000000000046}';
  150.   IID_AutoCaption: TGUID = '{0002097B-0000-0000-C000-000000000046}';
  151.   IID_Indexes: TGUID = '{0002097C-0000-0000-C000-000000000046}';
  152.   IID_Index: TGUID = '{0002097D-0000-0000-C000-000000000046}';
  153.   IID_AddIn: TGUID = '{0002097E-0000-0000-C000-000000000046}';
  154.   IID_AddIns: TGUID = '{0002097F-0000-0000-C000-000000000046}';
  155.   IID_Revisions: TGUID = '{00020980-0000-0000-C000-000000000046}';
  156.   IID_Revision: TGUID = '{00020981-0000-0000-C000-000000000046}';
  157.   IID_Task: TGUID = '{00020982-0000-0000-C000-000000000046}';
  158.   IID_Tasks: TGUID = '{00020983-0000-0000-C000-000000000046}';
  159.   IID_HeadersFooters: TGUID = '{00020984-0000-0000-C000-000000000046}';
  160.   IID_HeaderFooter: TGUID = '{00020985-0000-0000-C000-000000000046}';
  161.   IID_PageNumbers: TGUID = '{00020986-0000-0000-C000-000000000046}';
  162.   IID_PageNumber: TGUID = '{00020987-0000-0000-C000-000000000046}';
  163.   IID_Subdocuments: TGUID = '{00020988-0000-0000-C000-000000000046}';
  164.   IID_Subdocument: TGUID = '{00020989-0000-0000-C000-000000000046}';
  165.   IID_HeadingStyles: TGUID = '{0002098A-0000-0000-C000-000000000046}';
  166.   IID_HeadingStyle: TGUID = '{0002098B-0000-0000-C000-000000000046}';
  167.   IID_StoryRanges: TGUID = '{0002098C-0000-0000-C000-000000000046}';
  168.   IID_ListLevel: TGUID = '{0002098D-0000-0000-C000-000000000046}';
  169.   IID_ListLevels: TGUID = '{0002098E-0000-0000-C000-000000000046}';
  170.   IID_ListTemplate: TGUID = '{0002098F-0000-0000-C000-000000000046}';
  171.   IID_ListTemplates: TGUID = '{00020990-0000-0000-C000-000000000046}';
  172.   IID_ListParagraphs: TGUID = '{00020991-0000-0000-C000-000000000046}';
  173.   IID_List: TGUID = '{00020992-0000-0000-C000-000000000046}';
  174.   IID_Lists: TGUID = '{00020993-0000-0000-C000-000000000046}';
  175.   IID_ListGallery: TGUID = '{00020994-0000-0000-C000-000000000046}';
  176.   IID_ListGalleries: TGUID = '{00020995-0000-0000-C000-000000000046}';
  177.   IID_KeyBindings: TGUID = '{00020996-0000-0000-C000-000000000046}';
  178.   IID_KeysBoundTo: TGUID = '{00020997-0000-0000-C000-000000000046}';
  179.   IID_KeyBinding: TGUID = '{00020998-0000-0000-C000-000000000046}';
  180.   IID_FileConverter: TGUID = '{00020999-0000-0000-C000-000000000046}';
  181.   IID_FileConverters: TGUID = '{0002099A-0000-0000-C000-000000000046}';
  182.   IID_SynonymInfo: TGUID = '{0002099B-0000-0000-C000-000000000046}';
  183.   IID_Hyperlinks: TGUID = '{0002099C-0000-0000-C000-000000000046}';
  184.   IID_Hyperlink: TGUID = '{0002099D-0000-0000-C000-000000000046}';
  185.   IID_Shapes: TGUID = '{0002099F-0000-0000-C000-000000000046}';
  186.   IID_ShapeRange: TGUID = '{000209B5-0000-0000-C000-000000000046}';
  187.   IID_GroupShapes: TGUID = '{000209B6-0000-0000-C000-000000000046}';
  188.   IID_Shape: TGUID = '{000209A0-0000-0000-C000-000000000046}';
  189.   IID_TextFrame: TGUID = '{000209B2-0000-0000-C000-000000000046}';
  190.   IID__LetterContent: TGUID = '{000209A1-0000-0000-C000-000000000046}';
  191.   IID_View: TGUID = '{000209A5-0000-0000-C000-000000000046}';
  192.   IID_Zoom: TGUID = '{000209A6-0000-0000-C000-000000000046}';
  193.   IID_Zooms: TGUID = '{000209A7-0000-0000-C000-000000000046}';
  194.   IID_InlineShape: TGUID = '{000209A8-0000-0000-C000-000000000046}';
  195.   IID_InlineShapes: TGUID = '{000209A9-0000-0000-C000-000000000046}';
  196.   IID_SpellingSuggestions: TGUID = '{000209AA-0000-0000-C000-000000000046}';
  197.   IID_SpellingSuggestion: TGUID = '{000209AB-0000-0000-C000-000000000046}';
  198.   IID_Dictionaries: TGUID = '{000209AC-0000-0000-C000-000000000046}';
  199.   IID_HangulHanjaConversionDictionaries: TGUID = '{000209E0-0000-0000-C000-000000000046}';
  200.   IID_Dictionary: TGUID = '{000209AD-0000-0000-C000-000000000046}';
  201.   IID_ReadabilityStatistics: TGUID = '{000209AE-0000-0000-C000-000000000046}';
  202.   IID_ReadabilityStatistic: TGUID = '{000209AF-0000-0000-C000-000000000046}';
  203.   IID_Versions: TGUID = '{000209B3-0000-0000-C000-000000000046}';
  204.   IID_Version: TGUID = '{000209B4-0000-0000-C000-000000000046}';
  205.   IID_Options: TGUID = '{000209B7-0000-0000-C000-000000000046}';
  206.   IID_MailMessage: TGUID = '{000209BA-0000-0000-C000-000000000046}';
  207.   IID_ProofreadingErrors: TGUID = '{000209BB-0000-0000-C000-000000000046}';
  208.   IID_Mailer: TGUID = '{000209BD-0000-0000-C000-000000000046}';
  209.   IID_WrapFormat: TGUID = '{000209C3-0000-0000-C000-000000000046}';
  210.   IID_HangulAndAlphabetExceptions: TGUID = '{000209D1-0000-0000-C000-000000000046}';
  211.   IID_HangulAndAlphabetException: TGUID = '{000209D2-0000-0000-C000-000000000046}';
  212.   IID_Adjustments: TGUID = '{000209C4-0000-0000-C000-000000000046}';
  213.   IID_CalloutFormat: TGUID = '{000209C5-0000-0000-C000-000000000046}';
  214.   IID_ColorFormat: TGUID = '{000209C6-0000-0000-C000-000000000046}';
  215.   IID_ConnectorFormat: TGUID = '{000209C7-0000-0000-C000-000000000046}';
  216.   IID_FillFormat: TGUID = '{000209C8-0000-0000-C000-000000000046}';
  217.   IID_FreeformBuilder: TGUID = '{000209C9-0000-0000-C000-000000000046}';
  218.   IID_LineFormat: TGUID = '{000209CA-0000-0000-C000-000000000046}';
  219.   IID_PictureFormat: TGUID = '{000209CB-0000-0000-C000-000000000046}';
  220.   IID_ShadowFormat: TGUID = '{000209CC-0000-0000-C000-000000000046}';
  221.   IID_ShapeNode: TGUID = '{000209CD-0000-0000-C000-000000000046}';
  222.   IID_ShapeNodes: TGUID = '{000209CE-0000-0000-C000-000000000046}';
  223.   IID_TextEffectFormat: TGUID = '{000209CF-0000-0000-C000-000000000046}';
  224.   IID_ThreeDFormat: TGUID = '{000209D0-0000-0000-C000-000000000046}';
  225.   DIID_ApplicationEvents: TGUID = '{000209F7-0000-0000-C000-000000000046}';
  226.   CLASS_Global: TGUID = '{000209F0-0000-0000-C000-000000000046}';
  227.   DIID_ApplicationEvents2: TGUID = '{000209FE-0000-0000-C000-000000000046}';
  228.   DIID_DocumentEvents: TGUID = '{000209F6-0000-0000-C000-000000000046}';
  229.   CLASS_Document: TGUID = '{00020906-0000-0000-C000-000000000046}';
  230.   CLASS_Font: TGUID = '{000209F5-0000-0000-C000-000000000046}';
  231.   CLASS_ParagraphFormat: TGUID = '{000209F4-0000-0000-C000-000000000046}';
  232.   DIID_OCXEvents: TGUID = '{000209F3-0000-0000-C000-000000000046}';
  233.   CLASS_OLEControl: TGUID = '{000209F2-0000-0000-C000-000000000046}';
  234.   CLASS_LetterContent: TGUID = '{000209F1-0000-0000-C000-000000000046}';
  235.   IID_IApplicationEvents: TGUID = '{000209F7-0001-0000-C000-000000000046}';
  236.   IID_IApplicationEvents2: TGUID = '{000209FE-0001-0000-C000-000000000046}';
  237.   CLASS_Application_: TGUID = '{000209FF-0000-0000-C000-000000000046}';
  238.   IID_EmailAuthor: TGUID = '{000209D7-0000-0000-C000-000000000046}';
  239.   IID_EmailOptions: TGUID = '{000209DB-0000-0000-C000-000000000046}';
  240.   IID_EmailSignature: TGUID = '{000209DC-0000-0000-C000-000000000046}';
  241.   IID_Email: TGUID = '{000209DD-0000-0000-C000-000000000046}';
  242.   IID_HorizontalLineFormat: TGUID = '{000209DE-0000-0000-C000-000000000046}';
  243.   IID_Frameset: TGUID = '{000209E2-0000-0000-C000-000000000046}';
  244.   IID_DefaultWebOptions: TGUID = '{000209E3-0000-0000-C000-000000000046}';
  245.   IID_WebOptions: TGUID = '{000209E4-0000-0000-C000-000000000046}';
  246.   IID_OtherCorrectionsExceptions: TGUID = '{000209DF-0000-0000-C000-000000000046}';
  247.   IID_OtherCorrectionsException: TGUID = '{000209E1-0000-0000-C000-000000000046}';
  248.  
  249. // *********************************************************************//
  250. // Declaration of Enumerations defined in Type Library                  //
  251. // *********************************************************************//
  252. // WdMailSystem constants
  253. type
  254.   WdMailSystem = TOleEnum;
  255. const
  256.   wdNoMailSystem = $00000000;
  257.   wdMAPI = $00000001;
  258.   wdPowerTalk = $00000002;
  259.   wdMAPIandPowerTalk = $00000003;
  260.  
  261. // WdTemplateType constants
  262. type
  263.   WdTemplateType = TOleEnum;
  264. const
  265.   wdNormalTemplate = $00000000;
  266.   wdGlobalTemplate = $00000001;
  267.   wdAttachedTemplate = $00000002;
  268.  
  269. // WdContinue constants
  270. type
  271.   WdContinue = TOleEnum;
  272. const
  273.   wdContinueDisabled = $00000000;
  274.   wdResetList = $00000001;
  275.   wdContinueList = $00000002;
  276.  
  277. // WdIMEMode constants
  278. type
  279.   WdIMEMode = TOleEnum;
  280. const
  281.   wdIMEModeNoControl = $00000000;
  282.   wdIMEModeOn = $00000001;
  283.   wdIMEModeOff = $00000002;
  284.   wdIMEModeHiragana = $00000004;
  285.   wdIMEModeKatakana = $00000005;
  286.   wdIMEModeKatakanaHalf = $00000006;
  287.   wdIMEModeAlphaFull = $00000007;
  288.   wdIMEModeAlpha = $00000008;
  289.   wdIMEModeHangulFull = $00000009;
  290.   wdIMEModeHangul = $0000000A;
  291.  
  292. // WdBaselineAlignment constants
  293. type
  294.   WdBaselineAlignment = TOleEnum;
  295. const
  296.   wdBaselineAlignTop = $00000000;
  297.   wdBaselineAlignCenter = $00000001;
  298.   wdBaselineAlignBaseline = $00000002;
  299.   wdBaselineAlignFarEast50 = $00000003;
  300.   wdBaselineAlignAuto = $00000004;
  301.  
  302. // WdIndexFilter constants
  303. type
  304.   WdIndexFilter = TOleEnum;
  305. const
  306.   wdIndexFilterNone = $00000000;
  307.   wdIndexFilterAiueo = $00000001;
  308.   wdIndexFilterAkasatana = $00000002;
  309.   wdIndexFilterChosung = $00000003;
  310.   wdIndexFilterLow = $00000004;
  311.   wdIndexFilterMedium = $00000005;
  312.   wdIndexFilterFull = $00000006;
  313.  
  314. // WdIndexSortBy constants
  315. type
  316.   WdIndexSortBy = TOleEnum;
  317. const
  318.   wdIndexSortByStroke = $00000000;
  319.   wdIndexSortBySyllable = $00000001;
  320.  
  321. // WdJustificationMode constants
  322. type
  323.   WdJustificationMode = TOleEnum;
  324. const
  325.   wdJustificationModeExpand = $00000000;
  326.   wdJustificationModeCompress = $00000001;
  327.   wdJustificationModeCompressKana = $00000002;
  328.  
  329. // WdFarEastLineBreakLevel constants
  330. type
  331.   WdFarEastLineBreakLevel = TOleEnum;
  332. const
  333.   wdFarEastLineBreakLevelNormal = $00000000;
  334.   wdFarEastLineBreakLevelStrict = $00000001;
  335.   wdFarEastLineBreakLevelCustom = $00000002;
  336.  
  337. // WdMultipleWordConversionsMode constants
  338. type
  339.   WdMultipleWordConversionsMode = TOleEnum;
  340. const
  341.   wdHangulToHanja = $00000000;
  342.   wdHanjaToHangul = $00000001;
  343.  
  344. // WdColorIndex constants
  345. type
  346.   WdColorIndex = TOleEnum;
  347. const
  348.   wdAuto = $00000000;
  349.   wdBlack = $00000001;
  350.   wdBlue = $00000002;
  351.   wdTurquoise = $00000003;
  352.   wdBrightGreen = $00000004;
  353.   wdPink = $00000005;
  354.   wdRed = $00000006;
  355.   wdYellow = $00000007;
  356.   wdWhite = $00000008;
  357.   wdDarkBlue = $00000009;
  358.   wdTeal = $0000000A;
  359.   wdGreen = $0000000B;
  360.   wdViolet = $0000000C;
  361.   wdDarkRed = $0000000D;
  362.   wdDarkYellow = $0000000E;
  363.   wdGray50 = $0000000F;
  364.   wdGray25 = $00000010;
  365.   wdByAuthor = $FFFFFFFF;
  366.   wdNoHighlight = $00000000;
  367.  
  368. // WdTextureIndex constants
  369. type
  370.   WdTextureIndex = TOleEnum;
  371. const
  372.   wdTextureNone = $00000000;
  373.   wdTexture2Pt5Percent = $00000019;
  374.   wdTexture5Percent = $00000032;
  375.   wdTexture7Pt5Percent = $0000004B;
  376.   wdTexture10Percent = $00000064;
  377.   wdTexture12Pt5Percent = $0000007D;
  378.   wdTexture15Percent = $00000096;
  379.   wdTexture17Pt5Percent = $000000AF;
  380.   wdTexture20Percent = $000000C8;
  381.   wdTexture22Pt5Percent = $000000E1;
  382.   wdTexture25Percent = $000000FA;
  383.   wdTexture27Pt5Percent = $00000113;
  384.   wdTexture30Percent = $0000012C;
  385.   wdTexture32Pt5Percent = $00000145;
  386.   wdTexture35Percent = $0000015E;
  387.   wdTexture37Pt5Percent = $00000177;
  388.   wdTexture40Percent = $00000190;
  389.   wdTexture42Pt5Percent = $000001A9;
  390.   wdTexture45Percent = $000001C2;
  391.   wdTexture47Pt5Percent = $000001DB;
  392.   wdTexture50Percent = $000001F4;
  393.   wdTexture52Pt5Percent = $0000020D;
  394.   wdTexture55Percent = $00000226;
  395.   wdTexture57Pt5Percent = $0000023F;
  396.   wdTexture60Percent = $00000258;
  397.   wdTexture62Pt5Percent = $00000271;
  398.   wdTexture65Percent = $0000028A;
  399.   wdTexture67Pt5Percent = $000002A3;
  400.   wdTexture70Percent = $000002BC;
  401.   wdTexture72Pt5Percent = $000002D5;
  402.   wdTexture75Percent = $000002EE;
  403.   wdTexture77Pt5Percent = $00000307;
  404.   wdTexture80Percent = $00000320;
  405.   wdTexture82Pt5Percent = $00000339;
  406.   wdTexture85Percent = $00000352;
  407.   wdTexture87Pt5Percent = $0000036B;
  408.   wdTexture90Percent = $00000384;
  409.   wdTexture92Pt5Percent = $0000039D;
  410.   wdTexture95Percent = $000003B6;
  411.   wdTexture97Pt5Percent = $000003CF;
  412.   wdTextureSolid = $000003E8;
  413.   wdTextureDarkHorizontal = $FFFFFFFF;
  414.   wdTextureDarkVertical = $FFFFFFFE;
  415.   wdTextureDarkDiagonalDown = $FFFFFFFD;
  416.   wdTextureDarkDiagonalUp = $FFFFFFFC;
  417.   wdTextureDarkCross = $FFFFFFFB;
  418.   wdTextureDarkDiagonalCross = $FFFFFFFA;
  419.   wdTextureHorizontal = $FFFFFFF9;
  420.   wdTextureVertical = $FFFFFFF8;
  421.   wdTextureDiagonalDown = $FFFFFFF7;
  422.   wdTextureDiagonalUp = $FFFFFFF6;
  423.   wdTextureCross = $FFFFFFF5;
  424.   wdTextureDiagonalCross = $FFFFFFF4;
  425.  
  426. // WdUnderline constants
  427. type
  428.   WdUnderline = TOleEnum;
  429. const
  430.   wdUnderlineNone = $00000000;
  431.   wdUnderlineSingle = $00000001;
  432.   wdUnderlineWords = $00000002;
  433.   wdUnderlineDouble = $00000003;
  434.   wdUnderlineDotted = $00000004;
  435.   wdUnderlineThick = $00000006;
  436.   wdUnderlineDash = $00000007;
  437.   wdUnderlineDotDash = $00000009;
  438.   wdUnderlineDotDotDash = $0000000A;
  439.   wdUnderlineWavy = $0000000B;
  440.   wdUnderlineWavyHeavy = $0000001B;
  441.   wdUnderlineDottedHeavy = $00000014;
  442.   wdUnderlineDashHeavy = $00000017;
  443.   wdUnderlineDotDashHeavy = $00000019;
  444.   wdUnderlineDotDotDashHeavy = $0000001A;
  445.   wdUnderlineDashLong = $00000027;
  446.   wdUnderlineDashLongHeavy = $00000037;
  447.   wdUnderlineWavyDouble = $0000002B;
  448.  
  449. // WdEmphasisMark constants
  450. type
  451.   WdEmphasisMark = TOleEnum;
  452. const
  453.   wdEmphasisMarkNone = $00000000;
  454.   wdEmphasisMarkOverSolidCircle = $00000001;
  455.   wdEmphasisMarkOverComma = $00000002;
  456.   wdEmphasisMarkOverWhiteCircle = $00000003;
  457.   wdEmphasisMarkUnderSolidCircle = $00000004;
  458.  
  459. // WdInternationalIndex constants
  460. type
  461.   WdInternationalIndex = TOleEnum;
  462. const
  463.   wdListSeparator = $00000011;
  464.   wdDecimalSeparator = $00000012;
  465.   wdThousandsSeparator = $00000013;
  466.   wdCurrencyCode = $00000014;
  467.   wd24HourClock = $00000015;
  468.   wdInternationalAM = $00000016;
  469.   wdInternationalPM = $00000017;
  470.   wdTimeSeparator = $00000018;
  471.   wdDateSeparator = $00000019;
  472.   wdProductLanguageID = $0000001A;
  473.  
  474. // WdAutoMacros constants
  475. type
  476.   WdAutoMacros = TOleEnum;
  477. const
  478.   wdAutoExec = $00000000;
  479.   wdAutoNew = $00000001;
  480.   wdAutoOpen = $00000002;
  481.   wdAutoClose = $00000003;
  482.   wdAutoExit = $00000004;
  483.  
  484. // WdCaptionPosition constants
  485. type
  486.   WdCaptionPosition = TOleEnum;
  487. const
  488.   wdCaptionPositionAbove = $00000000;
  489.   wdCaptionPositionBelow = $00000001;
  490.  
  491. // WdCountry constants
  492. type
  493.   WdCountry = TOleEnum;
  494. const
  495.   wdUS = $00000001;
  496.   wdCanada = $00000002;
  497.   wdLatinAmerica = $00000003;
  498.   wdNetherlands = $0000001F;
  499.   wdFrance = $00000021;
  500.   wdSpain = $00000022;
  501.   wdItaly = $00000027;
  502.   wdUK = $0000002C;
  503.   wdDenmark = $0000002D;
  504.   wdSweden = $0000002E;
  505.   wdNorway = $0000002F;
  506.   wdGermany = $00000031;
  507.   wdPeru = $00000033;
  508.   wdMexico = $00000034;
  509.   wdArgentina = $00000036;
  510.   wdBrazil = $00000037;
  511.   wdChile = $00000038;
  512.   wdVenezuela = $0000003A;
  513.   wdJapan = $00000051;
  514.   wdTaiwan = $00000376;
  515.   wdChina = $00000056;
  516.   wdKorea = $00000052;
  517.   wdFinland = $00000166;
  518.   wdIceland = $00000162;
  519.  
  520. // WdHeadingSeparator constants
  521. type
  522.   WdHeadingSeparator = TOleEnum;
  523. const
  524.   wdHeadingSeparatorNone = $00000000;
  525.   wdHeadingSeparatorBlankLine = $00000001;
  526.   wdHeadingSeparatorLetter = $00000002;
  527.   wdHeadingSeparatorLetterLow = $00000003;
  528.   wdHeadingSeparatorLetterFull = $00000004;
  529.  
  530. // WdSeparatorType constants
  531. type
  532.   WdSeparatorType = TOleEnum;
  533. const
  534.   wdSeparatorHyphen = $00000000;
  535.   wdSeparatorPeriod = $00000001;
  536.   wdSeparatorColon = $00000002;
  537.   wdSeparatorEmDash = $00000003;
  538.   wdSeparatorEnDash = $00000004;
  539.  
  540. // WdPageNumberAlignment constants
  541. type
  542.   WdPageNumberAlignment = TOleEnum;
  543. const
  544.   wdAlignPageNumberLeft = $00000000;
  545.   wdAlignPageNumberCenter = $00000001;
  546.   wdAlignPageNumberRight = $00000002;
  547.   wdAlignPageNumberInside = $00000003;
  548.   wdAlignPageNumberOutside = $00000004;
  549.  
  550. // WdBorderType constants
  551. type
  552.   WdBorderType = TOleEnum;
  553. const
  554.   wdBorderTop = $FFFFFFFF;
  555.   wdBorderLeft = $FFFFFFFE;
  556.   wdBorderBottom = $FFFFFFFD;
  557.   wdBorderRight = $FFFFFFFC;
  558.   wdBorderHorizontal = $FFFFFFFB;
  559.   wdBorderVertical = $FFFFFFFA;
  560.   wdBorderDiagonalDown = $FFFFFFF9;
  561.   wdBorderDiagonalUp = $FFFFFFF8;
  562.  
  563. // WdBorderTypeHID constants
  564. type
  565.   WdBorderTypeHID = TOleEnum;
  566. const
  567.   emptyenum = $00000000;
  568.  
  569. // WdFramePosition constants
  570. type
  571.   WdFramePosition = TOleEnum;
  572. const
  573.   wdFrameTop = $FFF0BDC1;
  574.   wdFrameLeft = $FFF0BDC2;
  575.   wdFrameBottom = $FFF0BDC3;
  576.   wdFrameRight = $FFF0BDC4;
  577.   wdFrameCenter = $FFF0BDC5;
  578.   wdFrameInside = $FFF0BDC6;
  579.   wdFrameOutside = $FFF0BDC7;
  580.  
  581. // WdAnimation constants
  582. type
  583.   WdAnimation = TOleEnum;
  584. const
  585.   wdAnimationNone = $00000000;
  586.   wdAnimationLasVegasLights = $00000001;
  587.   wdAnimationBlinkingBackground = $00000002;
  588.   wdAnimationSparkleText = $00000003;
  589.   wdAnimationMarchingBlackAnts = $00000004;
  590.   wdAnimationMarchingRedAnts = $00000005;
  591.   wdAnimationShimmer = $00000006;
  592.  
  593. // WdCharacterCase constants
  594. type
  595.   WdCharacterCase = TOleEnum;
  596. const
  597.   wdNextCase = $FFFFFFFF;
  598.   wdLowerCase = $00000000;
  599.   wdUpperCase = $00000001;
  600.   wdTitleWord = $00000002;
  601.   wdTitleSentence = $00000004;
  602.   wdToggleCase = $00000005;
  603.   wdHalfWidth = $00000006;
  604.   wdFullWidth = $00000007;
  605.   wdKatakana = $00000008;
  606.   wdHiragana = $00000009;
  607.  
  608. // WdCharacterCaseHID constants
  609. type
  610.   WdCharacterCaseHID = TOleEnum;
  611. const
  612.   emptyenum_ = $00000000;
  613.  
  614. // WdSummaryMode constants
  615. type
  616.   WdSummaryMode = TOleEnum;
  617. const
  618.   wdSummaryModeHighlight = $00000000;
  619.   wdSummaryModeHideAllButSummary = $00000001;
  620.   wdSummaryModeInsert = $00000002;
  621.   wdSummaryModeCreateNew = $00000003;
  622.  
  623. // WdSummaryLength constants
  624. type
  625.   WdSummaryLength = TOleEnum;
  626. const
  627.   wd10Sentences = $FFFFFFFE;
  628.   wd20Sentences = $FFFFFFFD;
  629.   wd100Words = $FFFFFFFC;
  630.   wd500Words = $FFFFFFFB;
  631.   wd10Percent = $FFFFFFFA;
  632.   wd25Percent = $FFFFFFF9;
  633.   wd50Percent = $FFFFFFF8;
  634.   wd75Percent = $FFFFFFF7;
  635.  
  636. // WdStyleType constants
  637. type
  638.   WdStyleType = TOleEnum;
  639. const
  640.   wdStyleTypeParagraph = $00000001;
  641.   wdStyleTypeCharacter = $00000002;
  642.  
  643. // WdUnits constants
  644. type
  645.   WdUnits = TOleEnum;
  646. const
  647.   wdCharacter = $00000001;
  648.   wdWord = $00000002;
  649.   wdSentence = $00000003;
  650.   wdParagraph = $00000004;
  651.   wdLine = $00000005;
  652.   wdStory = $00000006;
  653.   wdScreen = $00000007;
  654.   wdSection = $00000008;
  655.   wdColumn = $00000009;
  656.   wdRow = $0000000A;
  657.   wdWindow = $0000000B;
  658.   wdCell = $0000000C;
  659.   wdCharacterFormatting = $0000000D;
  660.   wdParagraphFormatting = $0000000E;
  661.   wdTable = $0000000F;
  662.   wdItem = $00000010;
  663.  
  664. // WdGoToItem constants
  665. type
  666.   WdGoToItem = TOleEnum;
  667. const
  668.   wdGoToBookmark = $FFFFFFFF;
  669.   wdGoToSection = $00000000;
  670.   wdGoToPage = $00000001;
  671.   wdGoToTable = $00000002;
  672.   wdGoToLine = $00000003;
  673.   wdGoToFootnote = $00000004;
  674.   wdGoToEndnote = $00000005;
  675.   wdGoToComment = $00000006;
  676.   wdGoToField = $00000007;
  677.   wdGoToGraphic = $00000008;
  678.   wdGoToObject = $00000009;
  679.   wdGoToEquation = $0000000A;
  680.   wdGoToHeading = $0000000B;
  681.   wdGoToPercent = $0000000C;
  682.   wdGoToSpellingError = $0000000D;
  683.   wdGoToGrammaticalError = $0000000E;
  684.   wdGoToProofreadingError = $0000000F;
  685.  
  686. // WdGoToDirection constants
  687. type
  688.   WdGoToDirection = TOleEnum;
  689. const
  690.   wdGoToFirst = $00000001;
  691.   wdGoToLast = $FFFFFFFF;
  692.   wdGoToNext = $00000002;
  693.   wdGoToRelative = $00000002;
  694.   wdGoToPrevious = $00000003;
  695.   wdGoToAbsolute = $00000001;
  696.  
  697. // WdCollapseDirection constants
  698. type
  699.   WdCollapseDirection = TOleEnum;
  700. const
  701.   wdCollapseStart = $00000001;
  702.   wdCollapseEnd = $00000000;
  703.  
  704. // WdRowHeightRule constants
  705. type
  706.   WdRowHeightRule = TOleEnum;
  707. const
  708.   wdRowHeightAuto = $00000000;
  709.   wdRowHeightAtLeast = $00000001;
  710.   wdRowHeightExactly = $00000002;
  711.  
  712. // WdFrameSizeRule constants
  713. type
  714.   WdFrameSizeRule = TOleEnum;
  715. const
  716.   wdFrameAuto = $00000000;
  717.   wdFrameAtLeast = $00000001;
  718.   wdFrameExact = $00000002;
  719.  
  720. // WdInsertCells constants
  721. type
  722.   WdInsertCells = TOleEnum;
  723. const
  724.   wdInsertCellsShiftRight = $00000000;
  725.   wdInsertCellsShiftDown = $00000001;
  726.   wdInsertCellsEntireRow = $00000002;
  727.   wdInsertCellsEntireColumn = $00000003;
  728.  
  729. // WdDeleteCells constants
  730. type
  731.   WdDeleteCells = TOleEnum;
  732. const
  733.   wdDeleteCellsShiftLeft = $00000000;
  734.   wdDeleteCellsShiftUp = $00000001;
  735.   wdDeleteCellsEntireRow = $00000002;
  736.   wdDeleteCellsEntireColumn = $00000003;
  737.  
  738. // WdListApplyTo constants
  739. type
  740.   WdListApplyTo = TOleEnum;
  741. const
  742.   wdListApplyToWholeList = $00000000;
  743.   wdListApplyToThisPointForward = $00000001;
  744.   wdListApplyToSelection = $00000002;
  745.  
  746. // WdAlertLevel constants
  747. type
  748.   WdAlertLevel = TOleEnum;
  749. const
  750.   wdAlertsNone = $00000000;
  751.   wdAlertsMessageBox = $FFFFFFFE;
  752.   wdAlertsAll = $FFFFFFFF;
  753.  
  754. // WdCursorType constants
  755. type
  756.   WdCursorType = TOleEnum;
  757. const
  758.   wdCursorWait = $00000000;
  759.   wdCursorIBeam = $00000001;
  760.   wdCursorNormal = $00000002;
  761.   wdCursorNorthwestArrow = $00000003;
  762.  
  763. // WdEnableCancelKey constants
  764. type
  765.   WdEnableCancelKey = TOleEnum;
  766. const
  767.   wdCancelDisabled = $00000000;
  768.   wdCancelInterrupt = $00000001;
  769.  
  770. // WdRulerStyle constants
  771. type
  772.   WdRulerStyle = TOleEnum;
  773. const
  774.   wdAdjustNone = $00000000;
  775.   wdAdjustProportional = $00000001;
  776.   wdAdjustFirstColumn = $00000002;
  777.   wdAdjustSameWidth = $00000003;
  778.  
  779. // WdParagraphAlignment constants
  780. type
  781.   WdParagraphAlignment = TOleEnum;
  782. const
  783.   wdAlignParagraphLeft = $00000000;
  784.   wdAlignParagraphCenter = $00000001;
  785.   wdAlignParagraphRight = $00000002;
  786.   wdAlignParagraphJustify = $00000003;
  787.   wdAlignParagraphDistribute = $00000004;
  788.   wdAlignParagraphJustifyMed = $00000005;
  789.   wdAlignParagraphJustifyHi = $00000007;
  790.   wdAlignParagraphJustifyLow = $00000008;
  791.  
  792. // WdParagraphAlignmentHID constants
  793. type
  794.   WdParagraphAlignmentHID = TOleEnum;
  795. const
  796.   emptyenum__ = $00000000;
  797.  
  798. // WdListLevelAlignment constants
  799. type
  800.   WdListLevelAlignment = TOleEnum;
  801. const
  802.   wdListLevelAlignLeft = $00000000;
  803.   wdListLevelAlignCenter = $00000001;
  804.   wdListLevelAlignRight = $00000002;
  805.  
  806. // WdRowAlignment constants
  807. type
  808.   WdRowAlignment = TOleEnum;
  809. const
  810.   wdAlignRowLeft = $00000000;
  811.   wdAlignRowCenter = $00000001;
  812.   wdAlignRowRight = $00000002;
  813.  
  814. // WdTabAlignment constants
  815. type
  816.   WdTabAlignment = TOleEnum;
  817. const
  818.   wdAlignTabLeft = $00000000;
  819.   wdAlignTabCenter = $00000001;
  820.   wdAlignTabRight = $00000002;
  821.   wdAlignTabDecimal = $00000003;
  822.   wdAlignTabBar = $00000004;
  823.   wdAlignTabList = $00000006;
  824.  
  825. // WdVerticalAlignment constants
  826. type
  827.   WdVerticalAlignment = TOleEnum;
  828. const
  829.   wdAlignVerticalTop = $00000000;
  830.   wdAlignVerticalCenter = $00000001;
  831.   wdAlignVerticalJustify = $00000002;
  832.   wdAlignVerticalBottom = $00000003;
  833.  
  834. // WdCellVerticalAlignment constants
  835. type
  836.   WdCellVerticalAlignment = TOleEnum;
  837. const
  838.   wdCellAlignVerticalTop = $00000000;
  839.   wdCellAlignVerticalCenter = $00000001;
  840.   wdCellAlignVerticalBottom = $00000003;
  841.  
  842. // WdTrailingCharacter constants
  843. type
  844.   WdTrailingCharacter = TOleEnum;
  845. const
  846.   wdTrailingTab = $00000000;
  847.   wdTrailingSpace = $00000001;
  848.   wdTrailingNone = $00000002;
  849.  
  850. // WdListGalleryType constants
  851. type
  852.   WdListGalleryType = TOleEnum;
  853. const
  854.   wdBulletGallery = $00000001;
  855.   wdNumberGallery = $00000002;
  856.   wdOutlineNumberGallery = $00000003;
  857.  
  858. // WdListNumberStyle constants
  859. type
  860.   WdListNumberStyle = TOleEnum;
  861. const
  862.   wdListNumberStyleArabic = $00000000;
  863.   wdListNumberStyleUppercaseRoman = $00000001;
  864.   wdListNumberStyleLowercaseRoman = $00000002;
  865.   wdListNumberStyleUppercaseLetter = $00000003;
  866.   wdListNumberStyleLowercaseLetter = $00000004;
  867.   wdListNumberStyleOrdinal = $00000005;
  868.   wdListNumberStyleCardinalText = $00000006;
  869.   wdListNumberStyleOrdinalText = $00000007;
  870.   wdListNumberStyleKanji = $0000000A;
  871.   wdListNumberStyleKanjiDigit = $0000000B;
  872.   wdListNumberStyleAiueoHalfWidth = $0000000C;
  873.   wdListNumberStyleIrohaHalfWidth = $0000000D;
  874.   wdListNumberStyleArabicFullWidth = $0000000E;
  875.   wdListNumberStyleKanjiTraditional = $00000010;
  876.   wdListNumberStyleKanjiTraditional2 = $00000011;
  877.   wdListNumberStyleNumberInCircle = $00000012;
  878.   wdListNumberStyleAiueo = $00000014;
  879.   wdListNumberStyleIroha = $00000015;
  880.   wdListNumberStyleArabicLZ = $00000016;
  881.   wdListNumberStyleBullet = $00000017;
  882.   wdListNumberStyleGanada = $00000018;
  883.   wdListNumberStyleChosung = $00000019;
  884.   wdListNumberStyleGBNum1 = $0000001A;
  885.   wdListNumberStyleGBNum2 = $0000001B;
  886.   wdListNumberStyleGBNum3 = $0000001C;
  887.   wdListNumberStyleGBNum4 = $0000001D;
  888.   wdListNumberStyleZodiac1 = $0000001E;
  889.   wdListNumberStyleZodiac2 = $0000001F;
  890.   wdListNumberStyleZodiac3 = $00000020;
  891.   wdListNumberStyleTradChinNum1 = $00000021;
  892.   wdListNumberStyleTradChinNum2 = $00000022;
  893.   wdListNumberStyleTradChinNum3 = $00000023;
  894.   wdListNumberStyleTradChinNum4 = $00000024;
  895.   wdListNumberStyleSimpChinNum1 = $00000025;
  896.   wdListNumberStyleSimpChinNum2 = $00000026;
  897.   wdListNumberStyleSimpChinNum3 = $00000027;
  898.   wdListNumberStyleSimpChinNum4 = $00000028;
  899.   wdListNumberStyleHanjaRead = $00000029;
  900.   wdListNumberStyleHanjaReadDigit = $0000002A;
  901.   wdListNumberStyleHangul = $0000002B;
  902.   wdListNumberStyleHanja = $0000002C;
  903.   wdListNumberStyleHebrew1 = $0000002D;
  904.   wdListNumberStyleArabic1 = $0000002E;
  905.   wdListNumberStyleHebrew2 = $0000002F;
  906.   wdListNumberStyleArabic2 = $00000030;
  907.   wdListNumberStyleLegal = $000000FD;
  908.   wdListNumberStyleLegalLZ = $000000FE;
  909.   wdListNumberStyleNone = $000000FF;
  910.  
  911. // WdListNumberStyleHID constants
  912. type
  913.   WdListNumberStyleHID = TOleEnum;
  914. const
  915.   emptyenum___ = $00000000;
  916.  
  917. // WdNoteNumberStyle constants
  918. type
  919.   WdNoteNumberStyle = TOleEnum;
  920. const
  921.   wdNoteNumberStyleArabic = $00000000;
  922.   wdNoteNumberStyleUppercaseRoman = $00000001;
  923.   wdNoteNumberStyleLowercaseRoman = $00000002;
  924.   wdNoteNumberStyleUppercaseLetter = $00000003;
  925.   wdNoteNumberStyleLowercaseLetter = $00000004;
  926.   wdNoteNumberStyleSymbol = $00000009;
  927.   wdNoteNumberStyleArabicFullWidth = $0000000E;
  928.   wdNoteNumberStyleKanji = $0000000A;
  929.   wdNoteNumberStyleKanjiDigit = $0000000B;
  930.   wdNoteNumberStyleKanjiTraditional = $00000010;
  931.   wdNoteNumberStyleNumberInCircle = $00000012;
  932.   wdNoteNumberStyleHanjaRead = $00000029;
  933.   wdNoteNumberStyleHanjaReadDigit = $0000002A;
  934.   wdNoteNumberStyleTradChinNum1 = $00000021;
  935.   wdNoteNumberStyleTradChinNum2 = $00000022;
  936.   wdNoteNumberStyleSimpChinNum1 = $00000025;
  937.   wdNoteNumberStyleSimpChinNum2 = $00000026;
  938.   wdNoteNumberStyleHebrewLetter1 = $0000002D;
  939.   wdNoteNumberStyleArabicLetter1 = $0000002E;
  940.   wdNoteNumberStyleHebrewLetter2 = $0000002F;
  941.   wdNoteNumberStyleArabicLetter2 = $00000030;
  942.  
  943. // WdNoteNumberStyleHID constants
  944. type
  945.   WdNoteNumberStyleHID = TOleEnum;
  946. const
  947.   emptyenum____ = $00000000;
  948.  
  949. // WdCaptionNumberStyle constants
  950. type
  951.   WdCaptionNumberStyle = TOleEnum;
  952. const
  953.   wdCaptionNumberStyleArabic = $00000000;
  954.   wdCaptionNumberStyleUppercaseRoman = $00000001;
  955.   wdCaptionNumberStyleLowercaseRoman = $00000002;
  956.   wdCaptionNumberStyleUppercaseLetter = $00000003;
  957.   wdCaptionNumberStyleLowercaseLetter = $00000004;
  958.   wdCaptionNumberStyleArabicFullWidth = $0000000E;
  959.   wdCaptionNumberStyleKanji = $0000000A;
  960.   wdCaptionNumberStyleKanjiDigit = $0000000B;
  961.   wdCaptionNumberStyleKanjiTraditional = $00000010;
  962.   wdCaptionNumberStyleNumberInCircle = $00000012;
  963.   wdCaptionNumberStyleGanada = $00000018;
  964.   wdCaptionNumberStyleChosung = $00000019;
  965.   wdCaptionNumberStyleZodiac1 = $0000001E;
  966.   wdCaptionNumberStyleZodiac2 = $0000001F;
  967.   wdCaptionNumberStyleHanjaRead = $00000029;
  968.   wdCaptionNumberStyleHanjaReadDigit = $0000002A;
  969.   wdCaptionNumberStyleTradChinNum2 = $00000022;
  970.   wdCaptionNumberStyleTradChinNum3 = $00000023;
  971.   wdCaptionNumberStyleSimpChinNum2 = $00000026;
  972.   wdCaptionNumberStyleSimpChinNum3 = $00000027;
  973.   wdCaptionNumberStyleHebrewLetter1 = $0000002D;
  974.   wdCaptionNumberStyleArabicLetter1 = $0000002E;
  975.   wdCaptionNumberStyleHebrewLetter2 = $0000002F;
  976.   wdCaptionNumberStyleArabicLetter2 = $00000030;
  977.  
  978. // WdCaptionNumberStyleHID constants
  979. type
  980.   WdCaptionNumberStyleHID = TOleEnum;
  981. const
  982.   emptyenum_____ = $00000000;
  983.  
  984. // WdPageNumberStyle constants
  985. type
  986.   WdPageNumberStyle = TOleEnum;
  987. const
  988.   wdPageNumberStyleArabic = $00000000;
  989.   wdPageNumberStyleUppercaseRoman = $00000001;
  990.   wdPageNumberStyleLowercaseRoman = $00000002;
  991.   wdPageNumberStyleUppercaseLetter = $00000003;
  992.   wdPageNumberStyleLowercaseLetter = $00000004;
  993.   wdPageNumberStyleArabicFullWidth = $0000000E;
  994.   wdPageNumberStyleKanji = $0000000A;
  995.   wdPageNumberStyleKanjiDigit = $0000000B;
  996.   wdPageNumberStyleKanjiTraditional = $00000010;
  997.   wdPageNumberStyleNumberInCircle = $00000012;
  998.   wdPageNumberStyleHanjaRead = $00000029;
  999.   wdPageNumberStyleHanjaReadDigit = $0000002A;
  1000.   wdPageNumberStyleTradChinNum1 = $00000021;
  1001.   wdPageNumberStyleTradChinNum2 = $00000022;
  1002.   wdPageNumberStyleSimpChinNum1 = $00000025;
  1003.   wdPageNumberStyleSimpChinNum2 = $00000026;
  1004.   wdPageNumberStyleHebrewLetter1 = $0000002D;
  1005.   wdPageNumberStyleArabicLetter1 = $0000002E;
  1006.   wdPageNumberStyleHebrewLetter2 = $0000002F;
  1007.   wdPageNumberStyleArabicLetter2 = $00000030;
  1008.  
  1009. // WdPageNumberStyleHID constants
  1010. type
  1011.   WdPageNumberStyleHID = TOleEnum;
  1012. const
  1013.   emptyenum______ = $00000000;
  1014.  
  1015. // WdStatistic constants
  1016. type
  1017.   WdStatistic = TOleEnum;
  1018. const
  1019.   wdStatisticWords = $00000000;
  1020.   wdStatisticLines = $00000001;
  1021.   wdStatisticPages = $00000002;
  1022.   wdStatisticCharacters = $00000003;
  1023.   wdStatisticParagraphs = $00000004;
  1024.   wdStatisticCharactersWithSpaces = $00000005;
  1025.   wdStatisticFarEastCharacters = $00000006;
  1026.  
  1027. // WdStatisticHID constants
  1028. type
  1029.   WdStatisticHID = TOleEnum;
  1030. const
  1031.   emptyenum_______ = $00000000;
  1032.  
  1033. // WdBuiltInProperty constants
  1034. type
  1035.   WdBuiltInProperty = TOleEnum;
  1036. const
  1037.   wdPropertyTitle = $00000001;
  1038.   wdPropertySubject = $00000002;
  1039.   wdPropertyAuthor = $00000003;
  1040.   wdPropertyKeywords = $00000004;
  1041.   wdPropertyComments = $00000005;
  1042.   wdPropertyTemplate = $00000006;
  1043.   wdPropertyLastAuthor = $00000007;
  1044.   wdPropertyRevision = $00000008;
  1045.   wdPropertyAppName = $00000009;
  1046.   wdPropertyTimeLastPrinted = $0000000A;
  1047.   wdPropertyTimeCreated = $0000000B;
  1048.   wdPropertyTimeLastSaved = $0000000C;
  1049.   wdPropertyVBATotalEdit = $0000000D;
  1050.   wdPropertyPages = $0000000E;
  1051.   wdPropertyWords = $0000000F;
  1052.   wdPropertyCharacters = $00000010;
  1053.   wdPropertySecurity = $00000011;
  1054.   wdPropertyCategory = $00000012;
  1055.   wdPropertyFormat = $00000013;
  1056.   wdPropertyManager = $00000014;
  1057.   wdPropertyCompany = $00000015;
  1058.   wdPropertyBytes = $00000016;
  1059.   wdPropertyLines = $00000017;
  1060.   wdPropertyParas = $00000018;
  1061.   wdPropertySlides = $00000019;
  1062.   wdPropertyNotes = $0000001A;
  1063.   wdPropertyHiddenSlides = $0000001B;
  1064.   wdPropertyMMClips = $0000001C;
  1065.   wdPropertyHyperlinkBase = $0000001D;
  1066.   wdPropertyCharsWSpaces = $0000001E;
  1067.  
  1068. // WdLineSpacing constants
  1069. type
  1070.   WdLineSpacing = TOleEnum;
  1071. const
  1072.   wdLineSpaceSingle = $00000000;
  1073.   wdLineSpace1pt5 = $00000001;
  1074.   wdLineSpaceDouble = $00000002;
  1075.   wdLineSpaceAtLeast = $00000003;
  1076.   wdLineSpaceExactly = $00000004;
  1077.   wdLineSpaceMultiple = $00000005;
  1078.  
  1079. // WdNumberType constants
  1080. type
  1081.   WdNumberType = TOleEnum;
  1082. const
  1083.   wdNumberParagraph = $00000001;
  1084.   wdNumberListNum = $00000002;
  1085.   wdNumberAllNumbers = $00000003;
  1086.  
  1087. // WdListType constants
  1088. type
  1089.   WdListType = TOleEnum;
  1090. const
  1091.   wdListNoNumbering = $00000000;
  1092.   wdListListNumOnly = $00000001;
  1093.   wdListBullet = $00000002;
  1094.   wdListSimpleNumbering = $00000003;
  1095.   wdListOutlineNumbering = $00000004;
  1096.   wdListMixedNumbering = $00000005;
  1097.  
  1098. // WdStoryType constants
  1099. type
  1100.   WdStoryType = TOleEnum;
  1101. const
  1102.   wdMainTextStory = $00000001;
  1103.   wdFootnotesStory = $00000002;
  1104.   wdEndnotesStory = $00000003;
  1105.   wdCommentsStory = $00000004;
  1106.   wdTextFrameStory = $00000005;
  1107.   wdEvenPagesHeaderStory = $00000006;
  1108.   wdPrimaryHeaderStory = $00000007;
  1109.   wdEvenPagesFooterStory = $00000008;
  1110.   wdPrimaryFooterStory = $00000009;
  1111.   wdFirstPageHeaderStory = $0000000A;
  1112.   wdFirstPageFooterStory = $0000000B;
  1113.  
  1114. // WdSaveFormat constants
  1115. type
  1116.   WdSaveFormat = TOleEnum;
  1117. const
  1118.   wdFormatDocument = $00000000;
  1119.   wdFormatTemplate = $00000001;
  1120.   wdFormatText = $00000002;
  1121.   wdFormatTextLineBreaks = $00000003;
  1122.   wdFormatDOSText = $00000004;
  1123.   wdFormatDOSTextLineBreaks = $00000005;
  1124.   wdFormatRTF = $00000006;
  1125.   wdFormatUnicodeText = $00000007;
  1126.   wdFormatEncodedText = $00000007;
  1127.   wdFormatHTML = $00000008;
  1128.  
  1129. // WdOpenFormat constants
  1130. type
  1131.   WdOpenFormat = TOleEnum;
  1132. const
  1133.   wdOpenFormatAuto = $00000000;
  1134.   wdOpenFormatDocument = $00000001;
  1135.   wdOpenFormatTemplate = $00000002;
  1136.   wdOpenFormatRTF = $00000003;
  1137.   wdOpenFormatText = $00000004;
  1138.   wdOpenFormatUnicodeText = $00000005;
  1139.   wdOpenFormatEncodedText = $00000005;
  1140.   wdOpenFormatAllWord = $00000006;
  1141.   wdOpenFormatWebPages = $00000007;
  1142.  
  1143. // WdHeaderFooterIndex constants
  1144. type
  1145.   WdHeaderFooterIndex = TOleEnum;
  1146. const
  1147.   wdHeaderFooterPrimary = $00000001;
  1148.   wdHeaderFooterFirstPage = $00000002;
  1149.   wdHeaderFooterEvenPages = $00000003;
  1150.  
  1151. // WdTocFormat constants
  1152. type
  1153.   WdTocFormat = TOleEnum;
  1154. const
  1155.   wdTOCTemplate = $00000000;
  1156.   wdTOCClassic = $00000001;
  1157.   wdTOCDistinctive = $00000002;
  1158.   wdTOCFancy = $00000003;
  1159.   wdTOCModern = $00000004;
  1160.   wdTOCFormal = $00000005;
  1161.   wdTOCSimple = $00000006;
  1162.  
  1163. // WdTofFormat constants
  1164. type
  1165.   WdTofFormat = TOleEnum;
  1166. const
  1167.   wdTOFTemplate = $00000000;
  1168.   wdTOFClassic = $00000001;
  1169.   wdTOFDistinctive = $00000002;
  1170.   wdTOFCentered = $00000003;
  1171.   wdTOFFormal = $00000004;
  1172.   wdTOFSimple = $00000005;
  1173.  
  1174. // WdToaFormat constants
  1175. type
  1176.   WdToaFormat = TOleEnum;
  1177. const
  1178.   wdTOATemplate = $00000000;
  1179.   wdTOAClassic = $00000001;
  1180.   wdTOADistinctive = $00000002;
  1181.   wdTOAFormal = $00000003;
  1182.   wdTOASimple = $00000004;
  1183.  
  1184. // WdLineStyle constants
  1185. type
  1186.   WdLineStyle = TOleEnum;
  1187. const
  1188.   wdLineStyleNone = $00000000;
  1189.   wdLineStyleSingle = $00000001;
  1190.   wdLineStyleDot = $00000002;
  1191.   wdLineStyleDashSmallGap = $00000003;
  1192.   wdLineStyleDashLargeGap = $00000004;
  1193.   wdLineStyleDashDot = $00000005;
  1194.   wdLineStyleDashDotDot = $00000006;
  1195.   wdLineStyleDouble = $00000007;
  1196.   wdLineStyleTriple = $00000008;
  1197.   wdLineStyleThinThickSmallGap = $00000009;
  1198.   wdLineStyleThickThinSmallGap = $0000000A;
  1199.   wdLineStyleThinThickThinSmallGap = $0000000B;
  1200.   wdLineStyleThinThickMedGap = $0000000C;
  1201.   wdLineStyleThickThinMedGap = $0000000D;
  1202.   wdLineStyleThinThickThinMedGap = $0000000E;
  1203.   wdLineStyleThinThickLargeGap = $0000000F;
  1204.   wdLineStyleThickThinLargeGap = $00000010;
  1205.   wdLineStyleThinThickThinLargeGap = $00000011;
  1206.   wdLineStyleSingleWavy = $00000012;
  1207.   wdLineStyleDoubleWavy = $00000013;
  1208.   wdLineStyleDashDotStroked = $00000014;
  1209.   wdLineStyleEmboss3D = $00000015;
  1210.   wdLineStyleEngrave3D = $00000016;
  1211.   wdLineStyleOutset = $00000017;
  1212.   wdLineStyleInset = $00000018;
  1213.  
  1214. // WdLineWidth constants
  1215. type
  1216.   WdLineWidth = TOleEnum;
  1217. const
  1218.   wdLineWidth025pt = $00000002;
  1219.   wdLineWidth050pt = $00000004;
  1220.   wdLineWidth075pt = $00000006;
  1221.   wdLineWidth100pt = $00000008;
  1222.   wdLineWidth150pt = $0000000C;
  1223.   wdLineWidth225pt = $00000012;
  1224.   wdLineWidth300pt = $00000018;
  1225.   wdLineWidth450pt = $00000024;
  1226.   wdLineWidth600pt = $00000030;
  1227.  
  1228. // WdBreakType constants
  1229. type
  1230.   WdBreakType = TOleEnum;
  1231. const
  1232.   wdSectionBreakNextPage = $00000002;
  1233.   wdSectionBreakContinuous = $00000003;
  1234.   wdSectionBreakEvenPage = $00000004;
  1235.   wdSectionBreakOddPage = $00000005;
  1236.   wdLineBreak = $00000006;
  1237.   wdPageBreak = $00000007;
  1238.   wdColumnBreak = $00000008;
  1239.   wdLineBreakClearLeft = $00000009;
  1240.   wdLineBreakClearRight = $0000000A;
  1241.   wdTextWrappingBreak = $0000000B;
  1242.  
  1243. // WdTabLeader constants
  1244. type
  1245.   WdTabLeader = TOleEnum;
  1246. const
  1247.   wdTabLeaderSpaces = $00000000;
  1248.   wdTabLeaderDots = $00000001;
  1249.   wdTabLeaderDashes = $00000002;
  1250.   wdTabLeaderLines = $00000003;
  1251.   wdTabLeaderHeavy = $00000004;
  1252.   wdTabLeaderMiddleDot = $00000005;
  1253.  
  1254. // WdTabLeaderHID constants
  1255. type
  1256.   WdTabLeaderHID = TOleEnum;
  1257. const
  1258.   emptyenum________ = $00000000;
  1259.  
  1260. // WdMeasurementUnits constants
  1261. type
  1262.   WdMeasurementUnits = TOleEnum;
  1263. const
  1264.   wdInches = $00000000;
  1265.   wdCentimeters = $00000001;
  1266.   wdMillimeters = $00000002;
  1267.   wdPoints = $00000003;
  1268.   wdPicas = $00000004;
  1269.  
  1270. // WdMeasurementUnitsHID constants
  1271. type
  1272.   WdMeasurementUnitsHID = TOleEnum;
  1273. const
  1274.   emptyenum_________ = $00000000;
  1275.  
  1276. // WdDropPosition constants
  1277. type
  1278.   WdDropPosition = TOleEnum;
  1279. const
  1280.   wdDropNone = $00000000;
  1281.   wdDropNormal = $00000001;
  1282.   wdDropMargin = $00000002;
  1283.  
  1284. // WdNumberingRule constants
  1285. type
  1286.   WdNumberingRule = TOleEnum;
  1287. const
  1288.   wdRestartContinuous = $00000000;
  1289.   wdRestartSection = $00000001;
  1290.   wdRestartPage = $00000002;
  1291.  
  1292. // WdFootnoteLocation constants
  1293. type
  1294.   WdFootnoteLocation = TOleEnum;
  1295. const
  1296.   wdBottomOfPage = $00000000;
  1297.   wdBeneathText = $00000001;
  1298.  
  1299. // WdEndnoteLocation constants
  1300. type
  1301.   WdEndnoteLocation = TOleEnum;
  1302. const
  1303.   wdEndOfSection = $00000000;
  1304.   wdEndOfDocument = $00000001;
  1305.  
  1306. // WdSortSeparator constants
  1307. type
  1308.   WdSortSeparator = TOleEnum;
  1309. const
  1310.   wdSortSeparateByTabs = $00000000;
  1311.   wdSortSeparateByCommas = $00000001;
  1312.   wdSortSeparateByDefaultTableSeparator = $00000002;
  1313.  
  1314. // WdTableFieldSeparator constants
  1315. type
  1316.   WdTableFieldSeparator = TOleEnum;
  1317. const
  1318.   wdSeparateByParagraphs = $00000000;
  1319.   wdSeparateByTabs = $00000001;
  1320.   wdSeparateByCommas = $00000002;
  1321.   wdSeparateByDefaultListSeparator = $00000003;
  1322.  
  1323. // WdSortFieldType constants
  1324. type
  1325.   WdSortFieldType = TOleEnum;
  1326. const
  1327.   wdSortFieldAlphanumeric = $00000000;
  1328.   wdSortFieldNumeric = $00000001;
  1329.   wdSortFieldDate = $00000002;
  1330.   wdSortFieldSyllable = $00000003;
  1331.   wdSortFieldJapanJIS = $00000004;
  1332.   wdSortFieldStroke = $00000005;
  1333.   wdSortFieldKoreaKS = $00000006;
  1334.  
  1335. // WdSortFieldTypeHID constants
  1336. type
  1337.   WdSortFieldTypeHID = TOleEnum;
  1338. const
  1339.   emptyenum__________ = $00000000;
  1340.  
  1341. // WdSortOrder constants
  1342. type
  1343.   WdSortOrder = TOleEnum;
  1344. const
  1345.   wdSortOrderAscending = $00000000;
  1346.   wdSortOrderDescending = $00000001;
  1347.  
  1348. // WdTableFormat constants
  1349. type
  1350.   WdTableFormat = TOleEnum;
  1351. const
  1352.   wdTableFormatNone = $00000000;
  1353.   wdTableFormatSimple1 = $00000001;
  1354.   wdTableFormatSimple2 = $00000002;
  1355.   wdTableFormatSimple3 = $00000003;
  1356.   wdTableFormatClassic1 = $00000004;
  1357.   wdTableFormatClassic2 = $00000005;
  1358.   wdTableFormatClassic3 = $00000006;
  1359.   wdTableFormatClassic4 = $00000007;
  1360.   wdTableFormatColorful1 = $00000008;
  1361.   wdTableFormatColorful2 = $00000009;
  1362.   wdTableFormatColorful3 = $0000000A;
  1363.   wdTableFormatColumns1 = $0000000B;
  1364.   wdTableFormatColumns2 = $0000000C;
  1365.   wdTableFormatColumns3 = $0000000D;
  1366.   wdTableFormatColumns4 = $0000000E;
  1367.   wdTableFormatColumns5 = $0000000F;
  1368.   wdTableFormatGrid1 = $00000010;
  1369.   wdTableFormatGrid2 = $00000011;
  1370.   wdTableFormatGrid3 = $00000012;
  1371.   wdTableFormatGrid4 = $00000013;
  1372.   wdTableFormatGrid5 = $00000014;
  1373.   wdTableFormatGrid6 = $00000015;
  1374.   wdTableFormatGrid7 = $00000016;
  1375.   wdTableFormatGrid8 = $00000017;
  1376.   wdTableFormatList1 = $00000018;
  1377.   wdTableFormatList2 = $00000019;
  1378.   wdTableFormatList3 = $0000001A;
  1379.   wdTableFormatList4 = $0000001B;
  1380.   wdTableFormatList5 = $0000001C;
  1381.   wdTableFormatList6 = $0000001D;
  1382.   wdTableFormatList7 = $0000001E;
  1383.   wdTableFormatList8 = $0000001F;
  1384.   wdTableFormat3DEffects1 = $00000020;
  1385.   wdTableFormat3DEffects2 = $00000021;
  1386.   wdTableFormat3DEffects3 = $00000022;
  1387.   wdTableFormatContemporary = $00000023;
  1388.   wdTableFormatElegant = $00000024;
  1389.   wdTableFormatProfessional = $00000025;
  1390.   wdTableFormatSubtle1 = $00000026;
  1391.   wdTableFormatSubtle2 = $00000027;
  1392.   wdTableFormatWeb1 = $00000028;
  1393.   wdTableFormatWeb2 = $00000029;
  1394.   wdTableFormatWeb3 = $0000002A;
  1395.  
  1396. // WdTableFormatApply constants
  1397. type
  1398.   WdTableFormatApply = TOleEnum;
  1399. const
  1400.   wdTableFormatApplyBorders = $00000001;
  1401.   wdTableFormatApplyShading = $00000002;
  1402.   wdTableFormatApplyFont = $00000004;
  1403.   wdTableFormatApplyColor = $00000008;
  1404.   wdTableFormatApplyAutoFit = $00000010;
  1405.   wdTableFormatApplyHeadingRows = $00000020;
  1406.   wdTableFormatApplyLastRow = $00000040;
  1407.   wdTableFormatApplyFirstColumn = $00000080;
  1408.   wdTableFormatApplyLastColumn = $00000100;
  1409.  
  1410. // WdLanguageID constants
  1411. type
  1412.   WdLanguageID = TOleEnum;
  1413. const
  1414.   wdLanguageNone = $00000000;
  1415.   wdNoProofing = $00000400;
  1416.   wdAfrikaans = $00000436;
  1417.   wdAlbanian = $0000041C;
  1418.   wdArabicAlgeria = $00001401;
  1419.   wdArabicBahrain = $00003C01;
  1420.   wdArabicEgypt = $00000C01;
  1421.   wdArabicIraq = $00000801;
  1422.   wdArabicJordan = $00002C01;
  1423.   wdArabicKuwait = $00003401;
  1424.   wdArabicLebanon = $00003001;
  1425.   wdArabicLibya = $00001001;
  1426.   wdArabicMorocco = $00001801;
  1427.   wdArabicOman = $00002001;
  1428.   wdArabicQatar = $00004001;
  1429.   wdArabic = $00000401;
  1430.   wdArabicSyria = $00002801;
  1431.   wdArabicTunisia = $00001C01;
  1432.   wdArabicUAE = $00003801;
  1433.   wdArabicYemen = $00002401;
  1434.   wdArmenian = $0000042B;
  1435.   wdAssamese = $0000044D;
  1436.   wdAzeriCyrillic = $0000082C;
  1437.   wdAzeriLatin = $0000042C;
  1438.   wdBasque = $0000042D;
  1439.   wdByelorussian = $00000423;
  1440.   wdBengali = $00000445;
  1441.   wdBulgarian = $00000402;
  1442.   wdBurmese = $00000455;
  1443.   wdCatalan = $00000403;
  1444.   wdChineseHongKong = $00000C04;
  1445.   wdChineseMacao = $00001404;
  1446.   wdSimplifiedChinese = $00000804;
  1447.   wdChineseSingapore = $00001004;
  1448.   wdTraditionalChinese = $00000404;
  1449.   wdCroatian = $0000041A;
  1450.   wdCzech = $00000405;
  1451.   wdDanish = $00000406;
  1452.   wdBelgianDutch = $00000813;
  1453.   wdDutch = $00000413;
  1454.   wdEnglishAUS = $00000C09;
  1455.   wdEnglishBelize = $00002809;
  1456.   wdEnglishCanadian = $00001009;
  1457.   wdEnglishCaribbean = $00002409;
  1458.   wdEnglishIreland = $00001809;
  1459.   wdEnglishJamaica = $00002009;
  1460.   wdEnglishNewZealand = $00001409;
  1461.   wdEnglishPhilippines = $00003409;
  1462.   wdEnglishSouthAfrica = $00001C09;
  1463.   wdEnglishTrinidad = $00002C09;
  1464.   wdEnglishUK = $00000809;
  1465.   wdEnglishUS = $00000409;
  1466.   wdEnglishZimbabwe = $00003009;
  1467.   wdEstonian = $00000425;
  1468.   wdFaeroese = $00000438;
  1469.   wdFarsi = $00000429;
  1470.   wdFinnish = $0000040B;
  1471.   wdBelgianFrench = $0000080C;
  1472.   wdFrenchCameroon = $00002C0C;
  1473.   wdFrenchCanadian = $00000C0C;
  1474.   wdFrenchCotedIvoire = $0000300C;
  1475.   wdFrench = $0000040C;
  1476.   wdFrenchLuxembourg = $0000140C;
  1477.   wdFrenchMali = $0000340C;
  1478.   wdFrenchMonaco = $0000180C;
  1479.   wdFrenchReunion = $0000200C;
  1480.   wdFrenchSenegal = $0000280C;
  1481.   wdSwissFrench = $0000100C;
  1482.   wdFrenchWestIndies = $00001C0C;
  1483.   wdFrenchZaire = $0000240C;
  1484.   wdFrisianNetherlands = $00000462;
  1485.   wdGaelicIreland = $0000083C;
  1486.   wdGaelicScotland = $0000043C;
  1487.   wdGalician = $00000456;
  1488.   wdGeorgian = $00000437;
  1489.   wdGermanAustria = $00000C07;
  1490.   wdGerman = $00000407;
  1491.   wdGermanLiechtenstein = $00001407;
  1492.   wdGermanLuxembourg = $00001007;
  1493.   wdSwissGerman = $00000807;
  1494.   wdGreek = $00000408;
  1495.   wdGujarati = $00000447;
  1496.   wdHebrew = $0000040D;
  1497.   wdHindi = $00000439;
  1498.   wdHungarian = $0000040E;
  1499.   wdIcelandic = $0000040F;
  1500.   wdIndonesian = $00000421;
  1501.   wdItalian = $00000410;
  1502.   wdSwissItalian = $00000810;
  1503.   wdJapanese = $00000411;
  1504.   wdKannada = $0000044B;
  1505.   wdKashmiri = $00000460;
  1506.   wdKazakh = $0000043F;
  1507.   wdKhmer = $00000453;
  1508.   wdKirghiz = $00000440;
  1509.   wdKonkani = $00000457;
  1510.   wdKorean = $00000412;
  1511.   wdLao = $00000454;
  1512.   wdLatvian = $00000426;
  1513.   wdLithuanian = $00000427;
  1514.   wdMacedonian = $0000042F;
  1515.   wdMalaysian = $0000043E;
  1516.   wdMalayBruneiDarussalam = $0000083E;
  1517.   wdMalayalam = $0000044C;
  1518.   wdMaltese = $0000043A;
  1519.   wdManipuri = $00000458;
  1520.   wdMarathi = $0000044E;
  1521.   wdMongolian = $00000450;
  1522.   wdNepali = $00000461;
  1523.   wdNorwegianBokmol = $00000414;
  1524.   wdNorwegianNynorsk = $00000814;
  1525.   wdOriya = $00000448;
  1526.   wdPolish = $00000415;
  1527.   wdBrazilianPortuguese = $00000416;
  1528.   wdPortuguese = $00000816;
  1529.   wdPunjabi = $00000446;
  1530.   wdRhaetoRomanic = $00000417;
  1531.   wdRomanianMoldova = $00000818;
  1532.   wdRomanian = $00000418;
  1533.   wdRussianMoldova = $00000819;
  1534.   wdRussian = $00000419;
  1535.   wdSamiLappish = $0000043B;
  1536.   wdSanskrit = $0000044F;
  1537.   wdSerbianCyrillic = $00000C1A;
  1538.   wdSerbianLatin = $0000081A;
  1539.   wdSindhi = $00000459;
  1540.   wdSlovak = $0000041B;
  1541.   wdSlovenian = $00000424;
  1542.   wdSorbian = $0000042E;
  1543.   wdSpanishArgentina = $00002C0A;
  1544.   wdSpanishBolivia = $0000400A;
  1545.   wdSpanishChile = $0000340A;
  1546.   wdSpanishColombia = $0000240A;
  1547.   wdSpanishCostaRica = $0000140A;
  1548.   wdSpanishDominicanRepublic = $00001C0A;
  1549.   wdSpanishEcuador = $0000300A;
  1550.   wdSpanishElSalvador = $0000440A;
  1551.   wdSpanishGuatemala = $0000100A;
  1552.   wdSpanishHonduras = $0000480A;
  1553.   wdMexicanSpanish = $0000080A;
  1554.   wdSpanishNicaragua = $00004C0A;
  1555.   wdSpanishPanama = $0000180A;
  1556.   wdSpanishParaguay = $00003C0A;
  1557.   wdSpanishPeru = $0000280A;
  1558.   wdSpanishPuertoRico = $0000500A;
  1559.   wdSpanishModernSort = $00000C0A;
  1560.   wdSpanish = $0000040A;
  1561.   wdSpanishUruguay = $0000380A;
  1562.   wdSpanishVenezuela = $0000200A;
  1563.   wdSesotho = $00000430;
  1564.   wdSutu = $00000430;
  1565.   wdSwahili = $00000441;
  1566.   wdSwedishFinland = $0000081D;
  1567.   wdSwedish = $0000041D;
  1568.   wdTajik = $00000428;
  1569.   wdTamil = $00000449;
  1570.   wdTatar = $00000444;
  1571.   wdTelugu = $0000044A;
  1572.   wdThai = $0000041E;
  1573.   wdTibetan = $00000451;
  1574.   wdTsonga = $00000431;
  1575.   wdTswana = $00000432;
  1576.   wdTurkish = $0000041F;
  1577.   wdTurkmen = $00000442;
  1578.   wdUkrainian = $00000422;
  1579.   wdUrdu = $00000420;
  1580.   wdUzbekCyrillic = $00000843;
  1581.   wdUzbekLatin = $00000443;
  1582.   wdVenda = $00000433;
  1583.   wdVietnamese = $0000042A;
  1584.   wdWelsh = $00000452;
  1585.   wdXhosa = $00000434;
  1586.   wdZulu = $00000435;
  1587.  
  1588. // WdFieldType constants
  1589. type
  1590.   WdFieldType = TOleEnum;
  1591. const
  1592.   wdFieldEmpty = $FFFFFFFF;
  1593.   wdFieldRef = $00000003;
  1594.   wdFieldIndexEntry = $00000004;
  1595.   wdFieldFootnoteRef = $00000005;
  1596.   wdFieldSet = $00000006;
  1597.   wdFieldIf = $00000007;
  1598.   wdFieldIndex = $00000008;
  1599.   wdFieldTOCEntry = $00000009;
  1600.   wdFieldStyleRef = $0000000A;
  1601.   wdFieldRefDoc = $0000000B;
  1602.   wdFieldSequence = $0000000C;
  1603.   wdFieldTOC = $0000000D;
  1604.   wdFieldInfo = $0000000E;
  1605.   wdFieldTitle = $0000000F;
  1606.   wdFieldSubject = $00000010;
  1607.   wdFieldAuthor = $00000011;
  1608.   wdFieldKeyWord = $00000012;
  1609.   wdFieldComments = $00000013;
  1610.   wdFieldLastSavedBy = $00000014;
  1611.   wdFieldCreateDate = $00000015;
  1612.   wdFieldSaveDate = $00000016;
  1613.   wdFieldPrintDate = $00000017;
  1614.   wdFieldRevisionNum = $00000018;
  1615.   wdFieldEditTime = $00000019;
  1616.   wdFieldNumPages = $0000001A;
  1617.   wdFieldNumWords = $0000001B;
  1618.   wdFieldNumChars = $0000001C;
  1619.   wdFieldFileName = $0000001D;
  1620.   wdFieldTemplate = $0000001E;
  1621.   wdFieldDate = $0000001F;
  1622.   wdFieldTime = $00000020;
  1623.   wdFieldPage = $00000021;
  1624.   wdFieldExpression = $00000022;
  1625.   wdFieldQuote = $00000023;
  1626.   wdFieldInclude = $00000024;
  1627.   wdFieldPageRef = $00000025;
  1628.   wdFieldAsk = $00000026;
  1629.   wdFieldFillIn = $00000027;
  1630.   wdFieldData = $00000028;
  1631.   wdFieldNext = $00000029;
  1632.   wdFieldNextIf = $0000002A;
  1633.   wdFieldSkipIf = $0000002B;
  1634.   wdFieldMergeRec = $0000002C;
  1635.   wdFieldDDE = $0000002D;
  1636.   wdFieldDDEAuto = $0000002E;
  1637.   wdFieldGlossary = $0000002F;
  1638.   wdFieldPrint = $00000030;
  1639.   wdFieldFormula = $00000031;
  1640.   wdFieldGoToButton = $00000032;
  1641.   wdFieldMacroButton = $00000033;
  1642.   wdFieldAutoNumOutline = $00000034;
  1643.   wdFieldAutoNumLegal = $00000035;
  1644.   wdFieldAutoNum = $00000036;
  1645.   wdFieldImport = $00000037;
  1646.   wdFieldLink = $00000038;
  1647.   wdFieldSymbol = $00000039;
  1648.   wdFieldEmbed = $0000003A;
  1649.   wdFieldMergeField = $0000003B;
  1650.   wdFieldUserName = $0000003C;
  1651.   wdFieldUserInitials = $0000003D;
  1652.   wdFieldUserAddress = $0000003E;
  1653.   wdFieldBarCode = $0000003F;
  1654.   wdFieldDocVariable = $00000040;
  1655.   wdFieldSection = $00000041;
  1656.   wdFieldSectionPages = $00000042;
  1657.   wdFieldIncludePicture = $00000043;
  1658.   wdFieldIncludeText = $00000044;
  1659.   wdFieldFileSize = $00000045;
  1660.   wdFieldFormTextInput = $00000046;
  1661.   wdFieldFormCheckBox = $00000047;
  1662.   wdFieldNoteRef = $00000048;
  1663.   wdFieldTOA = $00000049;
  1664.   wdFieldTOAEntry = $0000004A;
  1665.   wdFieldMergeSeq = $0000004B;
  1666.   wdFieldPrivate = $0000004D;
  1667.   wdFieldDatabase = $0000004E;
  1668.   wdFieldAutoText = $0000004F;
  1669.   wdFieldCompare = $00000050;
  1670.   wdFieldAddin = $00000051;
  1671.   wdFieldSubscriber = $00000052;
  1672.   wdFieldFormDropDown = $00000053;
  1673.   wdFieldAdvance = $00000054;
  1674.   wdFieldDocProperty = $00000055;
  1675.   wdFieldOCX = $00000057;
  1676.   wdFieldHyperlink = $00000058;
  1677.   wdFieldAutoTextList = $00000059;
  1678.   wdFieldListNum = $0000005A;
  1679.   wdFieldHTMLActiveX = $0000005B;
  1680.  
  1681. // WdBuiltinStyle constants
  1682. type
  1683.   WdBuiltinStyle = TOleEnum;
  1684. const
  1685.   wdStyleNormal = $FFFFFFFF;
  1686.   wdStyleEnvelopeAddress = $FFFFFFDB;
  1687.   wdStyleEnvelopeReturn = $FFFFFFDA;
  1688.   wdStyleBodyText = $FFFFFFBD;
  1689.   wdStyleHeading1 = $FFFFFFFE;
  1690.   wdStyleHeading2 = $FFFFFFFD;
  1691.   wdStyleHeading3 = $FFFFFFFC;
  1692.   wdStyleHeading4 = $FFFFFFFB;
  1693.   wdStyleHeading5 = $FFFFFFFA;
  1694.   wdStyleHeading6 = $FFFFFFF9;
  1695.   wdStyleHeading7 = $FFFFFFF8;
  1696.   wdStyleHeading8 = $FFFFFFF7;
  1697.   wdStyleHeading9 = $FFFFFFF6;
  1698.   wdStyleIndex1 = $FFFFFFF5;
  1699.   wdStyleIndex2 = $FFFFFFF4;
  1700.   wdStyleIndex3 = $FFFFFFF3;
  1701.   wdStyleIndex4 = $FFFFFFF2;
  1702.   wdStyleIndex5 = $FFFFFFF1;
  1703.   wdStyleIndex6 = $FFFFFFF0;
  1704.   wdStyleIndex7 = $FFFFFFEF;
  1705.   wdStyleIndex8 = $FFFFFFEE;
  1706.   wdStyleIndex9 = $FFFFFFED;
  1707.   wdStyleTOC1 = $FFFFFFEC;
  1708.   wdStyleTOC2 = $FFFFFFEB;
  1709.   wdStyleTOC3 = $FFFFFFEA;
  1710.   wdStyleTOC4 = $FFFFFFE9;
  1711.   wdStyleTOC5 = $FFFFFFE8;
  1712.   wdStyleTOC6 = $FFFFFFE7;
  1713.   wdStyleTOC7 = $FFFFFFE6;
  1714.   wdStyleTOC8 = $FFFFFFE5;
  1715.   wdStyleTOC9 = $FFFFFFE4;
  1716.   wdStyleNormalIndent = $FFFFFFE3;
  1717.   wdStyleFootnoteText = $FFFFFFE2;
  1718.   wdStyleCommentText = $FFFFFFE1;
  1719.   wdStyleHeader = $FFFFFFE0;
  1720.   wdStyleFooter = $FFFFFFDF;
  1721.   wdStyleIndexHeading = $FFFFFFDE;
  1722.   wdStyleCaption = $FFFFFFDD;
  1723.   wdStyleTableOfFigures = $FFFFFFDC;
  1724.   wdStyleFootnoteReference = $FFFFFFD9;
  1725.   wdStyleCommentReference = $FFFFFFD8;
  1726.   wdStyleLineNumber = $FFFFFFD7;
  1727.   wdStylePageNumber = $FFFFFFD6;
  1728.   wdStyleEndnoteReference = $FFFFFFD5;
  1729.   wdStyleEndnoteText = $FFFFFFD4;
  1730.   wdStyleTableOfAuthorities = $FFFFFFD3;
  1731.   wdStyleMacroText = $FFFFFFD2;
  1732.   wdStyleTOAHeading = $FFFFFFD1;
  1733.   wdStyleList = $FFFFFFD0;
  1734.   wdStyleListBullet = $FFFFFFCF;
  1735.   wdStyleListNumber = $FFFFFFCE;
  1736.   wdStyleList2 = $FFFFFFCD;
  1737.   wdStyleList3 = $FFFFFFCC;
  1738.   wdStyleList4 = $FFFFFFCB;
  1739.   wdStyleList5 = $FFFFFFCA;
  1740.   wdStyleListBullet2 = $FFFFFFC9;
  1741.   wdStyleListBullet3 = $FFFFFFC8;
  1742.   wdStyleListBullet4 = $FFFFFFC7;
  1743.   wdStyleListBullet5 = $FFFFFFC6;
  1744.   wdStyleListNumber2 = $FFFFFFC5;
  1745.   wdStyleListNumber3 = $FFFFFFC4;
  1746.   wdStyleListNumber4 = $FFFFFFC3;
  1747.   wdStyleListNumber5 = $FFFFFFC2;
  1748.   wdStyleTitle = $FFFFFFC1;
  1749.   wdStyleClosing = $FFFFFFC0;
  1750.   wdStyleSignature = $FFFFFFBF;
  1751.   wdStyleDefaultParagraphFont = $FFFFFFBE;
  1752.   wdStyleBodyTextIndent = $FFFFFFBC;
  1753.   wdStyleListContinue = $FFFFFFBB;
  1754.   wdStyleListContinue2 = $FFFFFFBA;
  1755.   wdStyleListContinue3 = $FFFFFFB9;
  1756.   wdStyleListContinue4 = $FFFFFFB8;
  1757.   wdStyleListContinue5 = $FFFFFFB7;
  1758.   wdStyleMessageHeader = $FFFFFFB6;
  1759.   wdStyleSubtitle = $FFFFFFB5;
  1760.   wdStyleSalutation = $FFFFFFB4;
  1761.   wdStyleDate = $FFFFFFB3;
  1762.   wdStyleBodyTextFirstIndent = $FFFFFFB2;
  1763.   wdStyleBodyTextFirstIndent2 = $FFFFFFB1;
  1764.   wdStyleNoteHeading = $FFFFFFB0;
  1765.   wdStyleBodyText2 = $FFFFFFAF;
  1766.   wdStyleBodyText3 = $FFFFFFAE;
  1767.   wdStyleBodyTextIndent2 = $FFFFFFAD;
  1768.   wdStyleBodyTextIndent3 = $FFFFFFAC;
  1769.   wdStyleBlockQuotation = $FFFFFFAB;
  1770.   wdStyleHyperlink = $FFFFFFAA;
  1771.   wdStyleHyperlinkFollowed = $FFFFFFA9;
  1772.   wdStyleStrong = $FFFFFFA8;
  1773.   wdStyleEmphasis = $FFFFFFA7;
  1774.   wdStyleNavPane = $FFFFFFA6;
  1775.   wdStylePlainText = $FFFFFFA5;
  1776.   wdStyleHtmlNormal = $FFFFFFA1;
  1777.   wdStyleHtmlAcronym = $FFFFFFA0;
  1778.   wdStyleHtmlAddress = $FFFFFF9F;
  1779.   wdStyleHtmlCite = $FFFFFF9E;
  1780.   wdStyleHtmlCode = $FFFFFF9D;
  1781.   wdStyleHtmlDfn = $FFFFFF9C;
  1782.   wdStyleHtmlKbd = $FFFFFF9B;
  1783.   wdStyleHtmlPre = $FFFFFF9A;
  1784.   wdStyleHtmlSamp = $FFFFFF99;
  1785.   wdStyleHtmlTt = $FFFFFF98;
  1786.   wdStyleHtmlVar = $FFFFFF97;
  1787.  
  1788. // WdWordDialogTab constants
  1789. type
  1790.   WdWordDialogTab = TOleEnum;
  1791. const
  1792.   wdDialogToolsOptionsTabView = $000000CC;
  1793.   wdDialogToolsOptionsTabGeneral = $000000CB;
  1794.   wdDialogToolsOptionsTabEdit = $000000E0;
  1795.   wdDialogToolsOptionsTabPrint = $000000D0;
  1796.   wdDialogToolsOptionsTabSave = $000000D1;
  1797.   wdDialogToolsOptionsTabProofread = $000000D3;
  1798.   wdDialogToolsOptionsTabTrackChanges = $00000182;
  1799.   wdDialogToolsOptionsTabUserInfo = $000000D5;
  1800.   wdDialogToolsOptionsTabCompatibility = $0000020D;
  1801.   wdDialogToolsOptionsTabTypography = $000002E3;
  1802.   wdDialogToolsOptionsTabFileLocations = $000000E1;
  1803.   wdDialogToolsOptionsTabFuzzy = $00000316;
  1804.   wdDialogToolsOptionsTabHangulHanjaConversion = $00000312;
  1805.   wdDialogToolsOptionsTabBidi = $00000405;
  1806.   wdDialogFilePageSetupTabMargins = $000249F0;
  1807.   wdDialogFilePageSetupTabPaperSize = $000249F1;
  1808.   wdDialogFilePageSetupTabPaperSource = $000249F2;
  1809.   wdDialogFilePageSetupTabLayout = $000249F3;
  1810.   wdDialogFilePageSetupTabCharsLines = $000249F4;
  1811.   wdDialogInsertSymbolTabSymbols = $00030D40;
  1812.   wdDialogInsertSymbolTabSpecialCharacters = $00030D41;
  1813.   wdDialogNoteOptionsTabAllFootnotes = $000493E0;
  1814.   wdDialogNoteOptionsTabAllEndnotes = $000493E1;
  1815.   wdDialogInsertIndexAndTablesTabIndex = $00061A80;
  1816.   wdDialogInsertIndexAndTablesTabTableOfContents = $00061A81;
  1817.   wdDialogInsertIndexAndTablesTabTableOfFigures = $00061A82;
  1818.   wdDialogInsertIndexAndTablesTabTableOfAuthorities = $00061A83;
  1819.   wdDialogOrganizerTabStyles = $0007A120;
  1820.   wdDialogOrganizerTabAutoText = $0007A121;
  1821.   wdDialogOrganizerTabCommandBars = $0007A122;
  1822.   wdDialogOrganizerTabMacros = $0007A123;
  1823.   wdDialogFormatFontTabFont = $000927C0;
  1824.   wdDialogFormatFontTabCharacterSpacing = $000927C1;
  1825.   wdDialogFormatFontTabAnimation = $000927C2;
  1826.   wdDialogFormatBordersAndShadingTabBorders = $000AAE60;
  1827.   wdDialogFormatBordersAndShadingTabPageBorder = $000AAE61;
  1828.   wdDialogFormatBordersAndShadingTabShading = $000AAE62;
  1829.   wdDialogToolsEnvelopesAndLabelsTabEnvelopes = $000C3500;
  1830.   wdDialogToolsEnvelopesAndLabelsTabLabels = $000C3501;
  1831.   wdDialogFormatParagraphTabIndentsAndSpacing = $000F4240;
  1832.   wdDialogFormatParagraphTabTextFlow = $000F4241;
  1833.   wdDialogFormatParagraphTabTeisai = $000F4242;
  1834.   wdDialogFormatDrawingObjectTabColorsAndLines = $00124F80;
  1835.   wdDialogFormatDrawingObjectTabSize = $00124F81;
  1836.   wdDialogFormatDrawingObjectTabPosition = $00124F82;
  1837.   wdDialogFormatDrawingObjectTabWrapping = $00124F83;
  1838.   wdDialogFormatDrawingObjectTabPicture = $00124F84;
  1839.   wdDialogFormatDrawingObjectTabTextbox = $00124F85;
  1840.   wdDialogFormatDrawingObjectTabWeb = $00124F86;
  1841.   wdDialogFormatDrawingObjectTabHR = $00124F87;
  1842.   wdDialogToolsAutoCorrectExceptionsTabFirstLetter = $00155CC0;
  1843.   wdDialogToolsAutoCorrectExceptionsTabInitialCaps = $00155CC1;
  1844.   wdDialogToolsAutoCorrectExceptionsTabHangulAndAlphabet = $00155CC2;
  1845.   wdDialogToolsAutoCorrectExceptionsTabIac = $00155CC3;
  1846.   wdDialogFormatBulletsAndNumberingTabBulleted = $0016E360;
  1847.   wdDialogFormatBulletsAndNumberingTabNumbered = $0016E361;
  1848.   wdDialogFormatBulletsAndNumberingTabOutlineNumbered = $0016E362;
  1849.   wdDialogLetterWizardTabLetterFormat = $00186A00;
  1850.   wdDialogLetterWizardTabRecipientInfo = $00186A01;
  1851.   wdDialogLetterWizardTabOtherElements = $00186A02;
  1852.   wdDialogLetterWizardTabSenderInfo = $00186A03;
  1853.   wdDialogToolsAutoManagerTabAutoCorrect = $0019F0A0;
  1854.   wdDialogToolsAutoManagerTabAutoFormatAsYouType = $0019F0A1;
  1855.   wdDialogToolsAutoManagerTabAutoText = $0019F0A2;
  1856.   wdDialogToolsAutoManagerTabAutoFormat = $0019F0A3;
  1857.   wdDialogEmailOptionsTabSignature = $001CFDE0;
  1858.   wdDialogEmailOptionsTabStationary = $001CFDE1;
  1859.   wdDialogEmailOptionsTabQuoting = $001CFDE2;
  1860.   wdDialogWebOptionsGeneral = $001E8480;
  1861.   wdDialogWebOptionsFiles = $001E8481;
  1862.   wdDialogWebOptionsPictures = $001E8482;
  1863.   wdDialogWebOptionsEncoding = $001E8483;
  1864.   wdDialogWebOptionsFonts = $001E8484;
  1865.  
  1866. // WdWordDialogTabHID constants
  1867. type
  1868.   WdWordDialogTabHID = TOleEnum;
  1869. const
  1870.   emptyenum___________ = $00000000;
  1871.  
  1872. // WdWordDialog constants
  1873. type
  1874.   WdWordDialog = TOleEnum;
  1875. const
  1876.   wdDialogHelpAbout = $00000009;
  1877.   wdDialogHelpWordPerfectHelp = $0000000A;
  1878.   wdDialogHelpWordPerfectHelpOptions = $000001FF;
  1879.   wdDialogFormatChangeCase = $00000142;
  1880.   wdDialogToolsOptionsFuzzy = $00000316;
  1881.   wdDialogToolsWordCount = $000000E4;
  1882.   wdDialogDocumentStatistics = $0000004E;
  1883.   wdDialogFileNew = $0000004F;
  1884.   wdDialogFileOpen = $00000050;
  1885.   wdDialogMailMergeOpenDataSource = $00000051;
  1886.   wdDialogMailMergeOpenHeaderSource = $00000052;
  1887.   wdDialogMailMergeUseAddressBook = $0000030B;
  1888.   wdDialogFileSaveAs = $00000054;
  1889.   wdDialogFileSummaryInfo = $00000056;
  1890.   wdDialogToolsTemplates = $00000057;
  1891.   wdDialogOrganizer = $000000DE;
  1892.   wdDialogFilePrint = $00000058;
  1893.   wdDialogMailMerge = $000002A4;
  1894.   wdDialogMailMergeCheck = $000002A5;
  1895.   wdDialogMailMergeQueryOptions = $000002A9;
  1896.   wdDialogMailMergeFindRecord = $00000239;
  1897.   wdDialogMailMergeInsertIf = $00000FD1;
  1898.   wdDialogMailMergeInsertNextIf = $00000FD5;
  1899.   wdDialogMailMergeInsertSkipIf = $00000FD7;
  1900.   wdDialogMailMergeInsertFillIn = $00000FD0;
  1901.   wdDialogMailMergeInsertAsk = $00000FCF;
  1902.   wdDialogMailMergeInsertSet = $00000FD6;
  1903.   wdDialogMailMergeHelper = $000002A8;
  1904.   wdDialogLetterWizard = $00000335;
  1905.   wdDialogFilePrintSetup = $00000061;
  1906.   wdDialogFileFind = $00000063;
  1907.   wdDialogMailMergeCreateDataSource = $00000282;
  1908.   wdDialogMailMergeCreateHeaderSource = $00000283;
  1909.   wdDialogEditPasteSpecial = $0000006F;
  1910.   wdDialogEditFind = $00000070;
  1911.   wdDialogEditReplace = $00000075;
  1912.   wdDialogEditGoToOld = $0000032B;
  1913.   wdDialogEditGoTo = $00000380;
  1914.   wdDialogCreateAutoText = $00000368;
  1915.   wdDialogEditAutoText = $000003D9;
  1916.   wdDialogEditLinks = $0000007C;
  1917.   wdDialogEditObject = $0000007D;
  1918.   wdDialogConvertObject = $00000188;
  1919.   wdDialogTableToText = $00000080;
  1920.   wdDialogTextToTable = $0000007F;
  1921.   wdDialogTableInsertTable = $00000081;
  1922.   wdDialogTableInsertCells = $00000082;
  1923.   wdDialogTableInsertRow = $00000083;
  1924.   wdDialogTableDeleteCells = $00000085;
  1925.   wdDialogTableSplitCells = $00000089;
  1926.   wdDialogTableFormula = $0000015C;
  1927.   wdDialogTableAutoFormat = $00000233;
  1928.   wdDialogTableFormatCell = $00000264;
  1929.   wdDialogViewZoom = $00000241;
  1930.   wdDialogNewToolbar = $0000024A;
  1931.   wdDialogInsertBreak = $0000009F;
  1932.   wdDialogInsertFootnote = $00000172;
  1933.   wdDialogInsertSymbol = $000000A2;
  1934.   wdDialogInsertPicture = $000000A3;
  1935.   wdDialogInsertFile = $000000A4;
  1936.   wdDialogInsertDateTime = $000000A5;
  1937.   wdDialogInsertNumber = $0000032C;
  1938.   wdDialogInsertField = $000000A6;
  1939.   wdDialogInsertDatabase = $00000155;
  1940.   wdDialogInsertMergeField = $000000A7;
  1941.   wdDialogInsertBookmark = $000000A8;
  1942.   wdDialogInsertHyperlink = $0000039D;
  1943.   wdDialogMarkIndexEntry = $000000A9;
  1944.   wdDialogMarkCitation = $000001CF;
  1945.   wdDialogEditTOACategory = $00000271;
  1946.   wdDialogInsertIndexAndTables = $000001D9;
  1947.   wdDialogInsertIndex = $000000AA;
  1948.   wdDialogInsertTableOfContents = $000000AB;
  1949.   wdDialogMarkTableOfContentsEntry = $000001BA;
  1950.   wdDialogInsertTableOfFigures = $000001D8;
  1951.   wdDialogInsertTableOfAuthorities = $000001D7;
  1952.   wdDialogInsertObject = $000000AC;
  1953.   wdDialogFormatCallout = $00000262;
  1954.   wdDialogDrawSnapToGrid = $00000279;
  1955.   wdDialogDrawAlign = $0000027A;
  1956.   wdDialogToolsEnvelopesAndLabels = $0000025F;
  1957.   wdDialogToolsCreateEnvelope = $000000AD;
  1958.   wdDialogToolsCreateLabels = $000001E9;
  1959.   wdDialogToolsProtectDocument = $000001F7;
  1960.   wdDialogToolsProtectSection = $00000242;
  1961.   wdDialogToolsUnprotectDocument = $00000209;
  1962.   wdDialogFormatFont = $000000AE;
  1963.   wdDialogFormatParagraph = $000000AF;
  1964.   wdDialogFormatSectionLayout = $000000B0;
  1965.   wdDialogFormatColumns = $000000B1;
  1966.   wdDialogFileDocumentLayout = $000000B2;
  1967.   wdDialogFileMacPageSetup = $000002AD;
  1968.   wdDialogFilePrintOneCopy = $000001BD;
  1969.   wdDialogFileMacPageSetupGX = $000001BC;
  1970.   wdDialogFileMacCustomPageSetupGX = $000002E1;
  1971.   wdDialogFilePageSetup = $000000B2;
  1972.   wdDialogFormatTabs = $000000B3;
  1973.   wdDialogFormatStyle = $000000B4;
  1974.   wdDialogFormatStyleGallery = $000001F9;
  1975.   wdDialogFormatDefineStyleFont = $000000B5;
  1976.   wdDialogFormatDefineStylePara = $000000B6;
  1977.   wdDialogFormatDefineStyleTabs = $000000B7;
  1978.   wdDialogFormatDefineStyleFrame = $000000B8;
  1979.   wdDialogFormatDefineStyleBorders = $000000B9;
  1980.   wdDialogFormatDefineStyleLang = $000000BA;
  1981.   wdDialogFormatPicture = $000000BB;
  1982.   wdDialogToolsLanguage = $000000BC;
  1983.   wdDialogFormatBordersAndShading = $000000BD;
  1984.   wdDialogFormatDrawingObject = $000003C0;
  1985.   wdDialogFormatFrame = $000000BE;
  1986.   wdDialogFormatDropCap = $000001E8;
  1987.   wdDialogFormatBulletsAndNumbering = $00000338;
  1988.   wdDialogToolsHyphenation = $000000C3;
  1989.   wdDialogToolsBulletsNumbers = $000000C4;
  1990.   wdDialogToolsHighlightChanges = $000000C5;
  1991.   wdDialogToolsAcceptRejectChanges = $000001FA;
  1992.   wdDialogToolsMergeDocuments = $000001B3;
  1993.   wdDialogToolsCompareDocuments = $000000C6;
  1994.   wdDialogTableSort = $000000C7;
  1995.   wdDialogToolsCustomizeMenuBar = $00000267;
  1996.   wdDialogToolsCustomize = $00000098;
  1997.   wdDialogToolsCustomizeKeyboard = $000001B0;
  1998.   wdDialogToolsCustomizeMenus = $000001B1;
  1999.   wdDialogListCommands = $000002D3;
  2000.   wdDialogToolsOptions = $000003CE;
  2001.   wdDialogToolsOptionsGeneral = $000000CB;
  2002.   wdDialogToolsAdvancedSettings = $000000CE;
  2003.   wdDialogToolsOptionsCompatibility = $0000020D;
  2004.   wdDialogToolsOptionsPrint = $000000D0;
  2005.   wdDialogToolsOptionsSave = $000000D1;
  2006.   wdDialogToolsOptionsSpellingAndGrammar = $000000D3;
  2007.   wdDialogToolsSpellingAndGrammar = $0000033C;
  2008.   wdDialogToolsThesaurus = $000000C2;
  2009.   wdDialogToolsOptionsUserInfo = $000000D5;
  2010.   wdDialogToolsOptionsAutoFormat = $000003BF;
  2011.   wdDialogToolsOptionsTrackChanges = $00000182;
  2012.   wdDialogToolsOptionsEdit = $000000E0;
  2013.   wdDialogToolsMacro = $000000D7;
  2014.   wdDialogInsertPageNumbers = $00000126;
  2015.   wdDialogFormatPageNumber = $0000012A;
  2016.   wdDialogNoteOptions = $00000175;
  2017.   wdDialogCopyFile = $0000012C;
  2018.   wdDialogFormatAddrFonts = $00000067;
  2019.   wdDialogFormatRetAddrFonts = $000000DD;
  2020.   wdDialogToolsOptionsFileLocations = $000000E1;
  2021.   wdDialogToolsCreateDirectory = $00000341;
  2022.   wdDialogUpdateTOC = $0000014B;
  2023.   wdDialogInsertFormField = $000001E3;
  2024.   wdDialogFormFieldOptions = $00000161;
  2025.   wdDialogInsertCaption = $00000165;
  2026.   wdDialogInsertAutoCaption = $00000167;
  2027.   wdDialogInsertAddCaption = $00000192;
  2028.   wdDialogInsertCaptionNumbering = $00000166;
  2029.   wdDialogInsertCrossReference = $0000016F;
  2030.   wdDialogToolsManageFields = $00000277;
  2031.   wdDialogToolsAutoManager = $00000393;
  2032.   wdDialogToolsAutoCorrect = $0000017A;
  2033.   wdDialogToolsAutoCorrectExceptions = $000002FA;
  2034.   wdDialogConnect = $000001A4;
  2035.   wdDialogToolsOptionsBidi = $00000405;
  2036.   wdDialogToolsOptionsView = $000000CC;
  2037.   wdDialogInsertSubdocument = $00000247;
  2038.   wdDialogFileRoutingSlip = $00000270;
  2039.   wdDialogFontSubstitution = $00000245;
  2040.   wdDialogEditCreatePublisher = $000002DC;
  2041.   wdDialogEditSubscribeTo = $000002DD;
  2042.   wdDialogEditPublishOptions = $000002DF;
  2043.   wdDialogEditSubscribeOptions = $000002E0;
  2044.   wdDialogToolsOptionsTypography = $000002E3;
  2045.   wdDialogToolsOptionsAutoFormatAsYouType = $0000030A;
  2046.   wdDialogControlRun = $000000EB;
  2047.   wdDialogFileVersions = $000003B1;
  2048.   wdDialogToolsAutoSummarize = $0000036A;
  2049.   wdDialogFileSaveVersion = $000003EF;
  2050.   wdDialogWindowActivate = $000000DC;
  2051.   wdDialogToolsMacroRecord = $000000D6;
  2052.   wdDialogToolsRevisions = $000000C5;
  2053.   wdDialogEmailOptions = $0000035F;
  2054.   wdDialogWebOptions = $00000382;
  2055.   wdDialogFitText = $000003D7;
  2056.   wdDialogPhoneticGuide = $000003DA;
  2057.   wdDialogHorizontalInVertical = $00000488;
  2058.   wdDialogTwoLinesInOne = $00000489;
  2059.   wdDialogFormatEncloseCharacters = $0000048A;
  2060.   wdDialogFormatTheme = $00000357;
  2061.   wdDialogTCSCTranslator = $00000484;
  2062.  
  2063. // WdWordDialogHID constants
  2064. type
  2065.   WdWordDialogHID = TOleEnum;
  2066. const
  2067.   emptyenum____________ = $00000000;
  2068.  
  2069. // WdFieldKind constants
  2070. type
  2071.   WdFieldKind = TOleEnum;
  2072. const
  2073.   wdFieldKindNone = $00000000;
  2074.   wdFieldKindHot = $00000001;
  2075.   wdFieldKindWarm = $00000002;
  2076.   wdFieldKindCold = $00000003;
  2077.  
  2078. // WdTextFormFieldType constants
  2079. type
  2080.   WdTextFormFieldType = TOleEnum;
  2081. const
  2082.   wdRegularText = $00000000;
  2083.   wdNumberText = $00000001;
  2084.   wdDateText = $00000002;
  2085.   wdCurrentDateText = $00000003;
  2086.   wdCurrentTimeText = $00000004;
  2087.   wdCalculationText = $00000005;
  2088.  
  2089. // WdChevronConvertRule constants
  2090. type
  2091.   WdChevronConvertRule = TOleEnum;
  2092. const
  2093.   wdNeverConvert = $00000000;
  2094.   wdAlwaysConvert = $00000001;
  2095.   wdAskToNotConvert = $00000002;
  2096.   wdAskToConvert = $00000003;
  2097.  
  2098. // WdMailMergeMainDocType constants
  2099. type
  2100.   WdMailMergeMainDocType = TOleEnum;
  2101. const
  2102.   wdNotAMergeDocument = $FFFFFFFF;
  2103.   wdFormLetters = $00000000;
  2104.   wdMailingLabels = $00000001;
  2105.   wdEnvelopes = $00000002;
  2106.   wdCatalog = $00000003;
  2107.  
  2108. // WdMailMergeState constants
  2109. type
  2110.   WdMailMergeState = TOleEnum;
  2111. const
  2112.   wdNormalDocument = $00000000;
  2113.   wdMainDocumentOnly = $00000001;
  2114.   wdMainAndDataSource = $00000002;
  2115.   wdMainAndHeader = $00000003;
  2116.   wdMainAndSourceAndHeader = $00000004;
  2117.   wdDataSource = $00000005;
  2118.  
  2119. // WdMailMergeDestination constants
  2120. type
  2121.   WdMailMergeDestination = TOleEnum;
  2122. const
  2123.   wdSendToNewDocument = $00000000;
  2124.   wdSendToPrinter = $00000001;
  2125.   wdSendToEmail = $00000002;
  2126.   wdSendToFax = $00000003;
  2127.  
  2128. // WdMailMergeActiveRecord constants
  2129. type
  2130.   WdMailMergeActiveRecord = TOleEnum;
  2131. const
  2132.   wdNoActiveRecord = $FFFFFFFF;
  2133.   wdNextRecord = $FFFFFFFE;
  2134.   wdPreviousRecord = $FFFFFFFD;
  2135.   wdFirstRecord = $FFFFFFFC;
  2136.   wdLastRecord = $FFFFFFFB;
  2137.  
  2138. // WdMailMergeDefaultRecord constants
  2139. type
  2140.   WdMailMergeDefaultRecord = TOleEnum;
  2141. const
  2142.   wdDefaultFirstRecord = $00000001;
  2143.   wdDefaultLastRecord = $FFFFFFF0;
  2144.  
  2145. // WdMailMergeDataSource constants
  2146. type
  2147.   WdMailMergeDataSource = TOleEnum;
  2148. const
  2149.   wdNoMergeInfo = $FFFFFFFF;
  2150.   wdMergeInfoFromWord = $00000000;
  2151.   wdMergeInfoFromAccessDDE = $00000001;
  2152.   wdMergeInfoFromExcelDDE = $00000002;
  2153.   wdMergeInfoFromMSQueryDDE = $00000003;
  2154.   wdMergeInfoFromODBC = $00000004;
  2155.  
  2156. // WdMailMergeComparison constants
  2157. type
  2158.   WdMailMergeComparison = TOleEnum;
  2159. const
  2160.   wdMergeIfEqual = $00000000;
  2161.   wdMergeIfNotEqual = $00000001;
  2162.   wdMergeIfLessThan = $00000002;
  2163.   wdMergeIfGreaterThan = $00000003;
  2164.   wdMergeIfLessThanOrEqual = $00000004;
  2165.   wdMergeIfGreaterThanOrEqual = $00000005;
  2166.   wdMergeIfIsBlank = $00000006;
  2167.   wdMergeIfIsNotBlank = $00000007;
  2168.  
  2169. // WdBookmarkSortBy constants
  2170. type
  2171.   WdBookmarkSortBy = TOleEnum;
  2172. const
  2173.   wdSortByName = $00000000;
  2174.   wdSortByLocation = $00000001;
  2175.  
  2176. // WdWindowState constants
  2177. type
  2178.   WdWindowState = TOleEnum;
  2179. const
  2180.   wdWindowStateNormal = $00000000;
  2181.   wdWindowStateMaximize = $00000001;
  2182.   wdWindowStateMinimize = $00000002;
  2183.  
  2184. // WdPictureLinkType constants
  2185. type
  2186.   WdPictureLinkType = TOleEnum;
  2187. const
  2188.   wdLinkNone = $00000000;
  2189.   wdLinkDataInDoc = $00000001;
  2190.   wdLinkDataOnDisk = $00000002;
  2191.  
  2192. // WdLinkType constants
  2193. type
  2194.   WdLinkType = TOleEnum;
  2195. const
  2196.   wdLinkTypeOLE = $00000000;
  2197.   wdLinkTypePicture = $00000001;
  2198.   wdLinkTypeText = $00000002;
  2199.   wdLinkTypeReference = $00000003;
  2200.   wdLinkTypeInclude = $00000004;
  2201.   wdLinkTypeImport = $00000005;
  2202.   wdLinkTypeDDE = $00000006;
  2203.   wdLinkTypeDDEAuto = $00000007;
  2204.  
  2205. // WdWindowType constants
  2206. type
  2207.   WdWindowType = TOleEnum;
  2208. const
  2209.   wdWindowDocument = $00000000;
  2210.   wdWindowTemplate = $00000001;
  2211.  
  2212. // WdViewType constants
  2213. type
  2214.   WdViewType = TOleEnum;
  2215. const
  2216.   wdNormalView = $00000001;
  2217.   wdOutlineView = $00000002;
  2218.   wdPrintView = $00000003;
  2219.   wdPrintPreview = $00000004;
  2220.   wdMasterView = $00000005;
  2221.   wdWebView = $00000006;
  2222.  
  2223. // WdSeekView constants
  2224. type
  2225.   WdSeekView = TOleEnum;
  2226. const
  2227.   wdSeekMainDocument = $00000000;
  2228.   wdSeekPrimaryHeader = $00000001;
  2229.   wdSeekFirstPageHeader = $00000002;
  2230.   wdSeekEvenPagesHeader = $00000003;
  2231.   wdSeekPrimaryFooter = $00000004;
  2232.   wdSeekFirstPageFooter = $00000005;
  2233.   wdSeekEvenPagesFooter = $00000006;
  2234.   wdSeekFootnotes = $00000007;
  2235.   wdSeekEndnotes = $00000008;
  2236.   wdSeekCurrentPageHeader = $00000009;
  2237.   wdSeekCurrentPageFooter = $0000000A;
  2238.  
  2239. // WdSpecialPane constants
  2240. type
  2241.   WdSpecialPane = TOleEnum;
  2242. const
  2243.   wdPaneNone = $00000000;
  2244.   wdPanePrimaryHeader = $00000001;
  2245.   wdPaneFirstPageHeader = $00000002;
  2246.   wdPaneEvenPagesHeader = $00000003;
  2247.   wdPanePrimaryFooter = $00000004;
  2248.   wdPaneFirstPageFooter = $00000005;
  2249.   wdPaneEvenPagesFooter = $00000006;
  2250.   wdPaneFootnotes = $00000007;
  2251.   wdPaneEndnotes = $00000008;
  2252.   wdPaneFootnoteContinuationNotice = $00000009;
  2253.   wdPaneFootnoteContinuationSeparator = $0000000A;
  2254.   wdPaneFootnoteSeparator = $0000000B;
  2255.   wdPaneEndnoteContinuationNotice = $0000000C;
  2256.   wdPaneEndnoteContinuationSeparator = $0000000D;
  2257.   wdPaneEndnoteSeparator = $0000000E;
  2258.   wdPaneComments = $0000000F;
  2259.   wdPaneCurrentPageHeader = $00000010;
  2260.   wdPaneCurrentPageFooter = $00000011;
  2261.  
  2262. // WdPageFit constants
  2263. type
  2264.   WdPageFit = TOleEnum;
  2265. const
  2266.   wdPageFitNone = $00000000;
  2267.   wdPageFitFullPage = $00000001;
  2268.   wdPageFitBestFit = $00000002;
  2269.   wdPageFitTextFit = $00000003;
  2270.  
  2271. // WdBrowseTarget constants
  2272. type
  2273.   WdBrowseTarget = TOleEnum;
  2274. const
  2275.   wdBrowsePage = $00000001;
  2276.   wdBrowseSection = $00000002;
  2277.   wdBrowseComment = $00000003;
  2278.   wdBrowseFootnote = $00000004;
  2279.   wdBrowseEndnote = $00000005;
  2280.   wdBrowseField = $00000006;
  2281.   wdBrowseTable = $00000007;
  2282.   wdBrowseGraphic = $00000008;
  2283.   wdBrowseHeading = $00000009;
  2284.   wdBrowseEdit = $0000000A;
  2285.   wdBrowseFind = $0000000B;
  2286.   wdBrowseGoTo = $0000000C;
  2287.  
  2288. // WdPaperTray constants
  2289. type
  2290.   WdPaperTray = TOleEnum;
  2291. const
  2292.   wdPrinterDefaultBin = $00000000;
  2293.   wdPrinterUpperBin = $00000001;
  2294.   wdPrinterOnlyBin = $00000001;
  2295.   wdPrinterLowerBin = $00000002;
  2296.   wdPrinterMiddleBin = $00000003;
  2297.   wdPrinterManualFeed = $00000004;
  2298.   wdPrinterEnvelopeFeed = $00000005;
  2299.   wdPrinterManualEnvelopeFeed = $00000006;
  2300.   wdPrinterAutomaticSheetFeed = $00000007;
  2301.   wdPrinterTractorFeed = $00000008;
  2302.   wdPrinterSmallFormatBin = $00000009;
  2303.   wdPrinterLargeFormatBin = $0000000A;
  2304.   wdPrinterLargeCapacityBin = $0000000B;
  2305.   wdPrinterPaperCassette = $0000000E;
  2306.   wdPrinterFormSource = $0000000F;
  2307.  
  2308. // WdOrientation constants
  2309. type
  2310.   WdOrientation = TOleEnum;
  2311. const
  2312.   wdOrientPortrait = $00000000;
  2313.   wdOrientLandscape = $00000001;
  2314.  
  2315. // WdSelectionType constants
  2316. type
  2317.   WdSelectionType = TOleEnum;
  2318. const
  2319.   wdNoSelection = $00000000;
  2320.   wdSelectionIP = $00000001;
  2321.   wdSelectionNormal = $00000002;
  2322.   wdSelectionFrame = $00000003;
  2323.   wdSelectionColumn = $00000004;
  2324.   wdSelectionRow = $00000005;
  2325.   wdSelectionBlock = $00000006;
  2326.   wdSelectionInlineShape = $00000007;
  2327.   wdSelectionShape = $00000008;
  2328.  
  2329. // WdCaptionLabelID constants
  2330. type
  2331.   WdCaptionLabelID = TOleEnum;
  2332. const
  2333.   wdCaptionFigure = $FFFFFFFF;
  2334.   wdCaptionTable = $FFFFFFFE;
  2335.   wdCaptionEquation = $FFFFFFFD;
  2336.  
  2337. // WdReferenceType constants
  2338. type
  2339.   WdReferenceType = TOleEnum;
  2340. const
  2341.   wdRefTypeNumberedItem = $00000000;
  2342.   wdRefTypeHeading = $00000001;
  2343.   wdRefTypeBookmark = $00000002;
  2344.   wdRefTypeFootnote = $00000003;
  2345.   wdRefTypeEndnote = $00000004;
  2346.  
  2347. // WdReferenceKind constants
  2348. type
  2349.   WdReferenceKind = TOleEnum;
  2350. const
  2351.   wdContentText = $FFFFFFFF;
  2352.   wdNumberRelativeContext = $FFFFFFFE;
  2353.   wdNumberNoContext = $FFFFFFFD;
  2354.   wdNumberFullContext = $FFFFFFFC;
  2355.   wdEntireCaption = $00000002;
  2356.   wdOnlyLabelAndNumber = $00000003;
  2357.   wdOnlyCaptionText = $00000004;
  2358.   wdFootnoteNumber = $00000005;
  2359.   wdEndnoteNumber = $00000006;
  2360.   wdPageNumber = $00000007;
  2361.   wdPosition = $0000000F;
  2362.   wdFootnoteNumberFormatted = $00000010;
  2363.   wdEndnoteNumberFormatted = $00000011;
  2364.  
  2365. // WdIndexFormat constants
  2366. type
  2367.   WdIndexFormat = TOleEnum;
  2368. const
  2369.   wdIndexTemplate = $00000000;
  2370.   wdIndexClassic = $00000001;
  2371.   wdIndexFancy = $00000002;
  2372.   wdIndexModern = $00000003;
  2373.   wdIndexBulleted = $00000004;
  2374.   wdIndexFormal = $00000005;
  2375.   wdIndexSimple = $00000006;
  2376.  
  2377. // WdIndexType constants
  2378. type
  2379.   WdIndexType = TOleEnum;
  2380. const
  2381.   wdIndexIndent = $00000000;
  2382.   wdIndexRunin = $00000001;
  2383.  
  2384. // WdRevisionsWrap constants
  2385. type
  2386.   WdRevisionsWrap = TOleEnum;
  2387. const
  2388.   wdWrapNever = $00000000;
  2389.   wdWrapAlways = $00000001;
  2390.   wdWrapAsk = $00000002;
  2391.  
  2392. // WdRevisionType constants
  2393. type
  2394.   WdRevisionType = TOleEnum;
  2395. const
  2396.   wdNoRevision = $00000000;
  2397.   wdRevisionInsert = $00000001;
  2398.   wdRevisionDelete = $00000002;
  2399.   wdRevisionProperty = $00000003;
  2400.   wdRevisionParagraphNumber = $00000004;
  2401.   wdRevisionDisplayField = $00000005;
  2402.   wdRevisionReconcile = $00000006;
  2403.   wdRevisionConflict = $00000007;
  2404.   wdRevisionStyle = $00000008;
  2405.   wdRevisionReplace = $00000009;
  2406.  
  2407. // WdRoutingSlipDelivery constants
  2408. type
  2409.   WdRoutingSlipDelivery = TOleEnum;
  2410. const
  2411.   wdOneAfterAnother = $00000000;
  2412.   wdAllAtOnce = $00000001;
  2413.  
  2414. // WdRoutingSlipStatus constants
  2415. type
  2416.   WdRoutingSlipStatus = TOleEnum;
  2417. const
  2418.   wdNotYetRouted = $00000000;
  2419.   wdRouteInProgress = $00000001;
  2420.   wdRouteComplete = $00000002;
  2421.  
  2422. // WdSectionStart constants
  2423. type
  2424.   WdSectionStart = TOleEnum;
  2425. const
  2426.   wdSectionContinuous = $00000000;
  2427.   wdSectionNewColumn = $00000001;
  2428.   wdSectionNewPage = $00000002;
  2429.   wdSectionEvenPage = $00000003;
  2430.   wdSectionOddPage = $00000004;
  2431.  
  2432. // WdSaveOptions constants
  2433. type
  2434.   WdSaveOptions = TOleEnum;
  2435. const
  2436.   wdDoNotSaveChanges = $00000000;
  2437.   wdSaveChanges = $FFFFFFFF;
  2438.   wdPromptToSaveChanges = $FFFFFFFE;
  2439.  
  2440. // WdDocumentKind constants
  2441. type
  2442.   WdDocumentKind = TOleEnum;
  2443. const
  2444.   wdDocumentNotSpecified = $00000000;
  2445.   wdDocumentLetter = $00000001;
  2446.   wdDocumentEmail = $00000002;
  2447.  
  2448. // WdDocumentType constants
  2449. type
  2450.   WdDocumentType = TOleEnum;
  2451. const
  2452.   wdTypeDocument = $00000000;
  2453.   wdTypeTemplate = $00000001;
  2454.   wdTypeFrameset = $00000002;
  2455.  
  2456. // WdOriginalFormat constants
  2457. type
  2458.   WdOriginalFormat = TOleEnum;
  2459. const
  2460.   wdWordDocument = $00000000;
  2461.   wdOriginalDocumentFormat = $00000001;
  2462.   wdPromptUser = $00000002;
  2463.  
  2464. // WdRelocate constants
  2465. type
  2466.   WdRelocate = TOleEnum;
  2467. const
  2468.   wdRelocateUp = $00000000;
  2469.   wdRelocateDown = $00000001;
  2470.  
  2471. // WdInsertedTextMark constants
  2472. type
  2473.   WdInsertedTextMark = TOleEnum;
  2474. const
  2475.   wdInsertedTextMarkNone = $00000000;
  2476.   wdInsertedTextMarkBold = $00000001;
  2477.   wdInsertedTextMarkItalic = $00000002;
  2478.   wdInsertedTextMarkUnderline = $00000003;
  2479.   wdInsertedTextMarkDoubleUnderline = $00000004;
  2480.  
  2481. // WdRevisedLinesMark constants
  2482. type
  2483.   WdRevisedLinesMark = TOleEnum;
  2484. const
  2485.   wdRevisedLinesMarkNone = $00000000;
  2486.   wdRevisedLinesMarkLeftBorder = $00000001;
  2487.   wdRevisedLinesMarkRightBorder = $00000002;
  2488.   wdRevisedLinesMarkOutsideBorder = $00000003;
  2489.  
  2490. // WdDeletedTextMark constants
  2491. type
  2492.   WdDeletedTextMark = TOleEnum;
  2493. const
  2494.   wdDeletedTextMarkHidden = $00000000;
  2495.   wdDeletedTextMarkStrikeThrough = $00000001;
  2496.   wdDeletedTextMarkCaret = $00000002;
  2497.   wdDeletedTextMarkPound = $00000003;
  2498.  
  2499. // WdRevisedPropertiesMark constants
  2500. type
  2501.   WdRevisedPropertiesMark = TOleEnum;
  2502. const
  2503.   wdRevisedPropertiesMarkNone = $00000000;
  2504.   wdRevisedPropertiesMarkBold = $00000001;
  2505.   wdRevisedPropertiesMarkItalic = $00000002;
  2506.   wdRevisedPropertiesMarkUnderline = $00000003;
  2507.   wdRevisedPropertiesMarkDoubleUnderline = $00000004;
  2508.  
  2509. // WdFieldShading constants
  2510. type
  2511.   WdFieldShading = TOleEnum;
  2512. const
  2513.   wdFieldShadingNever = $00000000;
  2514.   wdFieldShadingAlways = $00000001;
  2515.   wdFieldShadingWhenSelected = $00000002;
  2516.  
  2517. // WdDefaultFilePath constants
  2518. type
  2519.   WdDefaultFilePath = TOleEnum;
  2520. const
  2521.   wdDocumentsPath = $00000000;
  2522.   wdPicturesPath = $00000001;
  2523.   wdUserTemplatesPath = $00000002;
  2524.   wdWorkgroupTemplatesPath = $00000003;
  2525.   wdUserOptionsPath = $00000004;
  2526.   wdAutoRecoverPath = $00000005;
  2527.   wdToolsPath = $00000006;
  2528.   wdTutorialPath = $00000007;
  2529.   wdStartupPath = $00000008;
  2530.   wdProgramPath = $00000009;
  2531.   wdGraphicsFiltersPath = $0000000A;
  2532.   wdTextConvertersPath = $0000000B;
  2533.   wdProofingToolsPath = $0000000C;
  2534.   wdTempFilePath = $0000000D;
  2535.   wdCurrentFolderPath = $0000000E;
  2536.   wdStyleGalleryPath = $0000000F;
  2537.   wdBorderArtPath = $00000013;
  2538.  
  2539. // WdCompatibility constants
  2540. type
  2541.   WdCompatibility = TOleEnum;
  2542. const
  2543.   wdNoTabHangIndent = $00000001;
  2544.   wdNoSpaceRaiseLower = $00000002;
  2545.   wdPrintColBlack = $00000003;
  2546.   wdWrapTrailSpaces = $00000004;
  2547.   wdNoColumnBalance = $00000005;
  2548.   wdConvMailMergeEsc = $00000006;
  2549.   wdSuppressSpBfAfterPgBrk = $00000007;
  2550.   wdSuppressTopSpacing = $00000008;
  2551.   wdOrigWordTableRules = $00000009;
  2552.   wdTransparentMetafiles = $0000000A;
  2553.   wdShowBreaksInFrames = $0000000B;
  2554.   wdSwapBordersFacingPages = $0000000C;
  2555.   wdLeaveBackslashAlone = $0000000D;
  2556.   wdExpandShiftReturn = $0000000E;
  2557.   wdDontULTrailSpace = $0000000F;
  2558.   wdDontBalanceSingleByteDoubleByteWidth = $00000010;
  2559.   wdSuppressTopSpacingMac5 = $00000011;
  2560.   wdSpacingInWholePoints = $00000012;
  2561.   wdPrintBodyTextBeforeHeader = $00000013;
  2562.   wdNoLeading = $00000014;
  2563.   wdNoSpaceForUL = $00000015;
  2564.   wdMWSmallCaps = $00000016;
  2565.   wdNoExtraLineSpacing = $00000017;
  2566.   wdTruncateFontHeight = $00000018;
  2567.   wdSubFontBySize = $00000019;
  2568.   wdUsePrinterMetrics = $0000001A;
  2569.   wdWW6BorderRules = $0000001B;
  2570.   wdExactOnTop = $0000001C;
  2571.   wdSuppressBottomSpacing = $0000001D;
  2572.   wdWPSpaceWidth = $0000001E;
  2573.   wdWPJustification = $0000001F;
  2574.   wdLineWrapLikeWord6 = $00000020;
  2575.   wdShapeLayoutLikeWW8 = $00000021;
  2576.   wdFootnoteLayoutLikeWW8 = $00000022;
  2577.   wdDontUseHTMLParagraphAutoSpacing = $00000023;
  2578.   wdDontAdjustLineHeightInTable = $00000024;
  2579.   wdForgetLastTabAlignment = $00000025;
  2580.   wdAutospaceLikeWW7 = $00000026;
  2581.   wdAlignTablesRowByRow = $00000027;
  2582.   wdLayoutRawTableWidth = $00000028;
  2583.   wdLayoutTableRowsApart = $00000029;
  2584.   wdUseWord97LineBreakingRules = $0000002A;
  2585.  
  2586. // WdPaperSize constants
  2587. type
  2588.   WdPaperSize = TOleEnum;
  2589. const
  2590.   wdPaper10x14 = $00000000;
  2591.   wdPaper11x17 = $00000001;
  2592.   wdPaperLetter = $00000002;
  2593.   wdPaperLetterSmall = $00000003;
  2594.   wdPaperLegal = $00000004;
  2595.   wdPaperExecutive = $00000005;
  2596.   wdPaperA3 = $00000006;
  2597.   wdPaperA4 = $00000007;
  2598.   wdPaperA4Small = $00000008;
  2599.   wdPaperA5 = $00000009;
  2600.   wdPaperB4 = $0000000A;
  2601.   wdPaperB5 = $0000000B;
  2602.   wdPaperCSheet = $0000000C;
  2603.   wdPaperDSheet = $0000000D;
  2604.   wdPaperESheet = $0000000E;
  2605.   wdPaperFanfoldLegalGerman = $0000000F;
  2606.   wdPaperFanfoldStdGerman = $00000010;
  2607.   wdPaperFanfoldUS = $00000011;
  2608.   wdPaperFolio = $00000012;
  2609.   wdPaperLedger = $00000013;
  2610.   wdPaperNote = $00000014;
  2611.   wdPaperQuarto = $00000015;
  2612.   wdPaperStatement = $00000016;
  2613.   wdPaperTabloid = $00000017;
  2614.   wdPaperEnvelope9 = $00000018;
  2615.   wdPaperEnvelope10 = $00000019;
  2616.   wdPaperEnvelope11 = $0000001A;
  2617.   wdPaperEnvelope12 = $0000001B;
  2618.   wdPaperEnvelope14 = $0000001C;
  2619.   wdPaperEnvelopeB4 = $0000001D;
  2620.   wdPaperEnvelopeB5 = $0000001E;
  2621.   wdPaperEnvelopeB6 = $0000001F;
  2622.   wdPaperEnvelopeC3 = $00000020;
  2623.   wdPaperEnvelopeC4 = $00000021;
  2624.   wdPaperEnvelopeC5 = $00000022;
  2625.   wdPaperEnvelopeC6 = $00000023;
  2626.   wdPaperEnvelopeC65 = $00000024;
  2627.   wdPaperEnvelopeDL = $00000025;
  2628.   wdPaperEnvelopeItaly = $00000026;
  2629.   wdPaperEnvelopeMonarch = $00000027;
  2630.   wdPaperEnvelopePersonal = $00000028;
  2631.   wdPaperCustom = $00000029;
  2632.  
  2633. // WdCustomLabelPageSize constants
  2634. type
  2635.   WdCustomLabelPageSize = TOleEnum;
  2636. const
  2637.   wdCustomLabelLetter = $00000000;
  2638.   wdCustomLabelLetterLS = $00000001;
  2639.   wdCustomLabelA4 = $00000002;
  2640.   wdCustomLabelA4LS = $00000003;
  2641.   wdCustomLabelA5 = $00000004;
  2642.   wdCustomLabelA5LS = $00000005;
  2643.   wdCustomLabelB5 = $00000006;
  2644.   wdCustomLabelMini = $00000007;
  2645.   wdCustomLabelFanfold = $00000008;
  2646.   wdCustomLabelVertHalfSheet = $00000009;
  2647.   wdCustomLabelVertHalfSheetLS = $0000000A;
  2648.   wdCustomLabelHigaki = $0000000B;
  2649.   wdCustomLabelHigakiLS = $0000000C;
  2650.   wdCustomLabelB4JIS = $0000000D;
  2651.  
  2652. // WdProtectionType constants
  2653. type
  2654.   WdProtectionType = TOleEnum;
  2655. const
  2656.   wdNoProtection = $FFFFFFFF;
  2657.   wdAllowOnlyRevisions = $00000000;
  2658.   wdAllowOnlyComments = $00000001;
  2659.   wdAllowOnlyFormFields = $00000002;
  2660.  
  2661. // WdPartOfSpeech constants
  2662. type
  2663.   WdPartOfSpeech = TOleEnum;
  2664. const
  2665.   wdAdjective = $00000000;
  2666.   wdNoun = $00000001;
  2667.   wdAdverb = $00000002;
  2668.   wdVerb = $00000003;
  2669.   wdPronoun = $00000004;
  2670.   wdConjunction = $00000005;
  2671.   wdPreposition = $00000006;
  2672.   wdInterjection = $00000007;
  2673.   wdIdiom = $00000008;
  2674.   wdOther = $00000009;
  2675.  
  2676. // WdSubscriberFormats constants
  2677. type
  2678.   WdSubscriberFormats = TOleEnum;
  2679. const
  2680.   wdSubscriberBestFormat = $00000000;
  2681.   wdSubscriberRTF = $00000001;
  2682.   wdSubscriberText = $00000002;
  2683.   wdSubscriberPict = $00000004;
  2684.  
  2685. // WdEditionType constants
  2686. type
  2687.   WdEditionType = TOleEnum;
  2688. const
  2689.   wdPublisher = $00000000;
  2690.   wdSubscriber = $00000001;
  2691.  
  2692. // WdEditionOption constants
  2693. type
  2694.   WdEditionOption = TOleEnum;
  2695. const
  2696.   wdCancelPublisher = $00000000;
  2697.   wdSendPublisher = $00000001;
  2698.   wdSelectPublisher = $00000002;
  2699.   wdAutomaticUpdate = $00000003;
  2700.   wdManualUpdate = $00000004;
  2701.   wdChangeAttributes = $00000005;
  2702.   wdUpdateSubscriber = $00000006;
  2703.   wdOpenSource = $00000007;
  2704.  
  2705. // WdRelativeHorizontalPosition constants
  2706. type
  2707.   WdRelativeHorizontalPosition = TOleEnum;
  2708. const
  2709.   wdRelativeHorizontalPositionMargin = $00000000;
  2710.   wdRelativeHorizontalPositionPage = $00000001;
  2711.   wdRelativeHorizontalPositionColumn = $00000002;
  2712.   wdRelativeHorizontalPositionCharacter = $00000003;
  2713.  
  2714. // WdRelativeVerticalPosition constants
  2715. type
  2716.   WdRelativeVerticalPosition = TOleEnum;
  2717. const
  2718.   wdRelativeVerticalPositionMargin = $00000000;
  2719.   wdRelativeVerticalPositionPage = $00000001;
  2720.   wdRelativeVerticalPositionParagraph = $00000002;
  2721.   wdRelativeVerticalPositionLine = $00000003;
  2722.  
  2723. // WdHelpType constants
  2724. type
  2725.   WdHelpType = TOleEnum;
  2726. const
  2727.   wdHelp = $00000000;
  2728.   wdHelpAbout = $00000001;
  2729.   wdHelpActiveWindow = $00000002;
  2730.   wdHelpContents = $00000003;
  2731.   wdHelpExamplesAndDemos = $00000004;
  2732.   wdHelpIndex = $00000005;
  2733.   wdHelpKeyboard = $00000006;
  2734.   wdHelpPSSHelp = $00000007;
  2735.   wdHelpQuickPreview = $00000008;
  2736.   wdHelpSearch = $00000009;
  2737.   wdHelpUsingHelp = $0000000A;
  2738.   wdHelpIchitaro = $0000000B;
  2739.   wdHelpPE2 = $0000000C;
  2740.   wdHelpHWP = $0000000D;
  2741.  
  2742. // WdHelpTypeHID constants
  2743. type
  2744.   WdHelpTypeHID = TOleEnum;
  2745. const
  2746.   emptyenum_____________ = $00000000;
  2747.  
  2748. // WdKeyCategory constants
  2749. type
  2750.   WdKeyCategory = TOleEnum;
  2751. const
  2752.   wdKeyCategoryNil = $FFFFFFFF;
  2753.   wdKeyCategoryDisable = $00000000;
  2754.   wdKeyCategoryCommand = $00000001;
  2755.   wdKeyCategoryMacro = $00000002;
  2756.   wdKeyCategoryFont = $00000003;
  2757.   wdKeyCategoryAutoText = $00000004;
  2758.   wdKeyCategoryStyle = $00000005;
  2759.   wdKeyCategorySymbol = $00000006;
  2760.   wdKeyCategoryPrefix = $00000007;
  2761.  
  2762. // WdKey constants
  2763. type
  2764.   WdKey = TOleEnum;
  2765. const
  2766.   wdNoKey = $000000FF;
  2767.   wdKeyShift = $00000100;
  2768.   wdKeyControl = $00000200;
  2769.   wdKeyCommand = $00000200;
  2770.   wdKeyAlt = $00000400;
  2771.   wdKeyOption = $00000400;
  2772.   wdKeyA = $00000041;
  2773.   wdKeyB = $00000042;
  2774.   wdKeyC = $00000043;
  2775.   wdKeyD = $00000044;
  2776.   wdKeyE = $00000045;
  2777.   wdKeyF = $00000046;
  2778.   wdKeyG = $00000047;
  2779.   wdKeyH = $00000048;
  2780.   wdKeyI = $00000049;
  2781.   wdKeyJ = $0000004A;
  2782.   wdKeyK = $0000004B;
  2783.   wdKeyL = $0000004C;
  2784.   wdKeyM = $0000004D;
  2785.   wdKeyN = $0000004E;
  2786.   wdKeyO = $0000004F;
  2787.   wdKeyP = $00000050;
  2788.   wdKeyQ = $00000051;
  2789.   wdKeyR = $00000052;
  2790.   wdKeyS = $00000053;
  2791.   wdKeyT = $00000054;
  2792.   wdKeyU = $00000055;
  2793.   wdKeyV = $00000056;
  2794.   wdKeyW = $00000057;
  2795.   wdKeyX = $00000058;
  2796.   wdKeyY = $00000059;
  2797.   wdKeyZ = $0000005A;
  2798.   wdKey0 = $00000030;
  2799.   wdKey1 = $00000031;
  2800.   wdKey2 = $00000032;
  2801.   wdKey3 = $00000033;
  2802.   wdKey4 = $00000034;
  2803.   wdKey5 = $00000035;
  2804.   wdKey6 = $00000036;
  2805.   wdKey7 = $00000037;
  2806.   wdKey8 = $00000038;
  2807.   wdKey9 = $00000039;
  2808.   wdKeyBackspace = $00000008;
  2809.   wdKeyTab = $00000009;
  2810.   wdKeyNumeric5Special = $0000000C;
  2811.   wdKeyReturn = $0000000D;
  2812.   wdKeyPause = $00000013;
  2813.   wdKeyEsc = $0000001B;
  2814.   wdKeySpacebar = $00000020;
  2815.   wdKeyPageUp = $00000021;
  2816.   wdKeyPageDown = $00000022;
  2817.   wdKeyEnd = $00000023;
  2818.   wdKeyHome = $00000024;
  2819.   wdKeyInsert = $0000002D;
  2820.   wdKeyDelete = $0000002E;
  2821.   wdKeyNumeric0 = $00000060;
  2822.   wdKeyNumeric1 = $00000061;
  2823.   wdKeyNumeric2 = $00000062;
  2824.   wdKeyNumeric3 = $00000063;
  2825.   wdKeyNumeric4 = $00000064;
  2826.   wdKeyNumeric5 = $00000065;
  2827.   wdKeyNumeric6 = $00000066;
  2828.   wdKeyNumeric7 = $00000067;
  2829.   wdKeyNumeric8 = $00000068;
  2830.   wdKeyNumeric9 = $00000069;
  2831.   wdKeyNumericMultiply = $0000006A;
  2832.   wdKeyNumericAdd = $0000006B;
  2833.   wdKeyNumericSubtract = $0000006D;
  2834.   wdKeyNumericDecimal = $0000006E;
  2835.   wdKeyNumericDivide = $0000006F;
  2836.   wdKeyF1 = $00000070;
  2837.   wdKeyF2 = $00000071;
  2838.   wdKeyF3 = $00000072;
  2839.   wdKeyF4 = $00000073;
  2840.   wdKeyF5 = $00000074;
  2841.   wdKeyF6 = $00000075;
  2842.   wdKeyF7 = $00000076;
  2843.   wdKeyF8 = $00000077;
  2844.   wdKeyF9 = $00000078;
  2845.   wdKeyF10 = $00000079;
  2846.   wdKeyF11 = $0000007A;
  2847.   wdKeyF12 = $0000007B;
  2848.   wdKeyF13 = $0000007C;
  2849.   wdKeyF14 = $0000007D;
  2850.   wdKeyF15 = $0000007E;
  2851.   wdKeyF16 = $0000007F;
  2852.   wdKeyScrollLock = $00000091;
  2853.   wdKeySemiColon = $000000BA;
  2854.   wdKeyEquals = $000000BB;
  2855.   wdKeyComma = $000000BC;
  2856.   wdKeyHyphen = $000000BD;
  2857.   wdKeyPeriod = $000000BE;
  2858.   wdKeySlash = $000000BF;
  2859.   wdKeyBackSingleQuote = $000000C0;
  2860.   wdKeyOpenSquareBrace = $000000DB;
  2861.   wdKeyBackSlash = $000000DC;
  2862.   wdKeyCloseSquareBrace = $000000DD;
  2863.   wdKeySingleQuote = $000000DE;
  2864.  
  2865. // WdOLEType constants
  2866. type
  2867.   WdOLEType = TOleEnum;
  2868. const
  2869.   wdOLELink = $00000000;
  2870.   wdOLEEmbed = $00000001;
  2871.   wdOLEControl = $00000002;
  2872.  
  2873. // WdOLEVerb constants
  2874. type
  2875.   WdOLEVerb = TOleEnum;
  2876. const
  2877.   wdOLEVerbPrimary = $00000000;
  2878.   wdOLEVerbShow = $FFFFFFFF;
  2879.   wdOLEVerbOpen = $FFFFFFFE;
  2880.   wdOLEVerbHide = $FFFFFFFD;
  2881.   wdOLEVerbUIActivate = $FFFFFFFC;
  2882.   wdOLEVerbInPlaceActivate = $FFFFFFFB;
  2883.   wdOLEVerbDiscardUndoState = $FFFFFFFA;
  2884.  
  2885. // WdOLEPlacement constants
  2886. type
  2887.   WdOLEPlacement = TOleEnum;
  2888. const
  2889.   wdInLine = $00000000;
  2890.   wdFloatOverText = $00000001;
  2891.  
  2892. // WdEnvelopeOrientation constants
  2893. type
  2894.   WdEnvelopeOrientation = TOleEnum;
  2895. const
  2896.   wdLeftPortrait = $00000000;
  2897.   wdCenterPortrait = $00000001;
  2898.   wdRightPortrait = $00000002;
  2899.   wdLeftLandscape = $00000003;
  2900.   wdCenterLandscape = $00000004;
  2901.   wdRightLandscape = $00000005;
  2902.   wdLeftClockwise = $00000006;
  2903.   wdCenterClockwise = $00000007;
  2904.   wdRightClockwise = $00000008;
  2905.  
  2906. // WdLetterStyle constants
  2907. type
  2908.   WdLetterStyle = TOleEnum;
  2909. const
  2910.   wdFullBlock = $00000000;
  2911.   wdModifiedBlock = $00000001;
  2912.   wdSemiBlock = $00000002;
  2913.  
  2914. // WdLetterheadLocation constants
  2915. type
  2916.   WdLetterheadLocation = TOleEnum;
  2917. const
  2918.   wdLetterTop = $00000000;
  2919.   wdLetterBottom = $00000001;
  2920.   wdLetterLeft = $00000002;
  2921.   wdLetterRight = $00000003;
  2922.  
  2923. // WdSalutationType constants
  2924. type
  2925.   WdSalutationType = TOleEnum;
  2926. const
  2927.   wdSalutationInformal = $00000000;
  2928.   wdSalutationFormal = $00000001;
  2929.   wdSalutationBusiness = $00000002;
  2930.   wdSalutationOther = $00000003;
  2931.  
  2932. // WdSalutationGender constants
  2933. type
  2934.   WdSalutationGender = TOleEnum;
  2935. const
  2936.   wdGenderFemale = $00000000;
  2937.   wdGenderMale = $00000001;
  2938.   wdGenderNeutral = $00000002;
  2939.   wdGenderUnknown = $00000003;
  2940.  
  2941. // WdMovementType constants
  2942. type
  2943.   WdMovementType = TOleEnum;
  2944. const
  2945.   wdMove = $00000000;
  2946.   wdExtend = $00000001;
  2947.  
  2948. // WdConstants constants
  2949. type
  2950.   WdConstants = TOleEnum;
  2951. const
  2952.   wdUndefined = $0098967F;
  2953.   wdToggle = $0098967E;
  2954.   wdForward = $3FFFFFFF;
  2955.   wdBackward = $C0000001;
  2956.   wdAutoPosition = $00000000;
  2957.   wdFirst = $00000001;
  2958.   wdCreatorCode = $4D535744;
  2959.  
  2960. // WdPasteDataType constants
  2961. type
  2962.   WdPasteDataType = TOleEnum;
  2963. const
  2964.   wdPasteOLEObject = $00000000;
  2965.   wdPasteRTF = $00000001;
  2966.   wdPasteText = $00000002;
  2967.   wdPasteMetafilePicture = $00000003;
  2968.   wdPasteBitmap = $00000004;
  2969.   wdPasteDeviceIndependentBitmap = $00000005;
  2970.   wdPasteHyperlink = $00000007;
  2971.   wdPasteShape = $00000008;
  2972.   wdPasteEnhancedMetafile = $00000009;
  2973.   wdPasteHTML = $0000000A;
  2974.  
  2975. // WdPrintOutItem constants
  2976. type
  2977.   WdPrintOutItem = TOleEnum;
  2978. const
  2979.   wdPrintDocumentContent = $00000000;
  2980.   wdPrintProperties = $00000001;
  2981.   wdPrintComments = $00000002;
  2982.   wdPrintStyles = $00000003;
  2983.   wdPrintAutoTextEntries = $00000004;
  2984.   wdPrintKeyAssignments = $00000005;
  2985.   wdPrintEnvelope = $00000006;
  2986.  
  2987. // WdPrintOutPages constants
  2988. type
  2989.   WdPrintOutPages = TOleEnum;
  2990. const
  2991.   wdPrintAllPages = $00000000;
  2992.   wdPrintOddPagesOnly = $00000001;
  2993.   wdPrintEvenPagesOnly = $00000002;
  2994.  
  2995. // WdPrintOutRange constants
  2996. type
  2997.   WdPrintOutRange = TOleEnum;
  2998. const
  2999.   wdPrintAllDocument = $00000000;
  3000.   wdPrintSelection = $00000001;
  3001.   wdPrintCurrentPage = $00000002;
  3002.   wdPrintFromTo = $00000003;
  3003.   wdPrintRangeOfPages = $00000004;
  3004.  
  3005. // WdDictionaryType constants
  3006. type
  3007.   WdDictionaryType = TOleEnum;
  3008. const
  3009.   wdSpelling = $00000000;
  3010.   wdGrammar = $00000001;
  3011.   wdThesaurus = $00000002;
  3012.   wdHyphenation = $00000003;
  3013.   wdSpellingComplete = $00000004;
  3014.   wdSpellingCustom = $00000005;
  3015.   wdSpellingLegal = $00000006;
  3016.   wdSpellingMedical = $00000007;
  3017.   wdHangulHanjaConversion = $00000008;
  3018.   wdHangulHanjaConversionCustom = $00000009;
  3019.  
  3020. // WdDictionaryTypeHID constants
  3021. type
  3022.   WdDictionaryTypeHID = TOleEnum;
  3023. const
  3024.   emptyenum______________ = $00000000;
  3025.  
  3026. // WdSpellingWordType constants
  3027. type
  3028.   WdSpellingWordType = TOleEnum;
  3029. const
  3030.   wdSpellword = $00000000;
  3031.   wdWildcard = $00000001;
  3032.   wdAnagram = $00000002;
  3033.  
  3034. // WdSpellingErrorType constants
  3035. type
  3036.   WdSpellingErrorType = TOleEnum;
  3037. const
  3038.   wdSpellingCorrect = $00000000;
  3039.   wdSpellingNotInDictionary = $00000001;
  3040.   wdSpellingCapitalization = $00000002;
  3041.  
  3042. // WdProofreadingErrorType constants
  3043. type
  3044.   WdProofreadingErrorType = TOleEnum;
  3045. const
  3046.   wdSpellingError = $00000000;
  3047.   wdGrammaticalError = $00000001;
  3048.  
  3049. // WdInlineShapeType constants
  3050. type
  3051.   WdInlineShapeType = TOleEnum;
  3052. const
  3053.   wdInlineShapeEmbeddedOLEObject = $00000001;
  3054.   wdInlineShapeLinkedOLEObject = $00000002;
  3055.   wdInlineShapePicture = $00000003;
  3056.   wdInlineShapeLinkedPicture = $00000004;
  3057.   wdInlineShapeOLEControlObject = $00000005;
  3058.   wdInlineShapeHorizontalLine = $00000006;
  3059.   wdInlineShapePictureHorizontalLine = $00000007;
  3060.   wdInlineShapeLinkedPictureHorizontalLine = $00000008;
  3061.   wdInlineShapePictureBullet = $00000009;
  3062.   wdInlineShapeScriptAnchor = $0000000A;
  3063.   wdInlineShapeOWSAnchor = $0000000B;
  3064.  
  3065. // WdArrangeStyle constants
  3066. type
  3067.   WdArrangeStyle = TOleEnum;
  3068. const
  3069.   wdTiled = $00000000;
  3070.   wdIcons = $00000001;
  3071.  
  3072. // WdSelectionFlags constants
  3073. type
  3074.   WdSelectionFlags = TOleEnum;
  3075. const
  3076.   wdSelStartActive = $00000001;
  3077.   wdSelAtEOL = $00000002;
  3078.   wdSelOvertype = $00000004;
  3079.   wdSelActive = $00000008;
  3080.   wdSelReplace = $00000010;
  3081.  
  3082. // WdAutoVersions constants
  3083. type
  3084.   WdAutoVersions = TOleEnum;
  3085. const
  3086.   wdAutoVersionOff = $00000000;
  3087.   wdAutoVersionOnClose = $00000001;
  3088.  
  3089. // WdOrganizerObject constants
  3090. type
  3091.   WdOrganizerObject = TOleEnum;
  3092. const
  3093.   wdOrganizerObjectStyles = $00000000;
  3094.   wdOrganizerObjectAutoText = $00000001;
  3095.   wdOrganizerObjectCommandBars = $00000002;
  3096.   wdOrganizerObjectProjectItems = $00000003;
  3097.  
  3098. // WdFindMatch constants
  3099. type
  3100.   WdFindMatch = TOleEnum;
  3101. const
  3102.   wdMatchParagraphMark = $0001000F;
  3103.   wdMatchTabCharacter = $00000009;
  3104.   wdMatchCommentMark = $00000005;
  3105.   wdMatchAnyCharacter = $0001003F;
  3106.   wdMatchAnyDigit = $0001001F;
  3107.   wdMatchAnyLetter = $0001002F;
  3108.   wdMatchCaretCharacter = $0000000B;
  3109.   wdMatchColumnBreak = $0000000E;
  3110.   wdMatchEmDash = $00002014;
  3111.   wdMatchEnDash = $00002013;
  3112.   wdMatchEndnoteMark = $00010013;
  3113.   wdMatchField = $00000013;
  3114.   wdMatchFootnoteMark = $00010012;
  3115.   wdMatchGraphic = $00000001;
  3116.   wdMatchManualLineBreak = $0001000F;
  3117.   wdMatchManualPageBreak = $0001001C;
  3118.   wdMatchNonbreakingHyphen = $0000001E;
  3119.   wdMatchNonbreakingSpace = $000000A0;
  3120.   wdMatchOptionalHyphen = $0000001F;
  3121.   wdMatchSectionBreak = $0001002C;
  3122.   wdMatchWhiteSpace = $00010077;
  3123.  
  3124. // WdFindWrap constants
  3125. type
  3126.   WdFindWrap = TOleEnum;
  3127. const
  3128.   wdFindStop = $00000000;
  3129.   wdFindContinue = $00000001;
  3130.   wdFindAsk = $00000002;
  3131.  
  3132. // WdInformation constants
  3133. type
  3134.   WdInformation = TOleEnum;
  3135. const
  3136.   wdActiveEndAdjustedPageNumber = $00000001;
  3137.   wdActiveEndSectionNumber = $00000002;
  3138.   wdActiveEndPageNumber = $00000003;
  3139.   wdNumberOfPagesInDocument = $00000004;
  3140.   wdHorizontalPositionRelativeToPage = $00000005;
  3141.   wdVerticalPositionRelativeToPage = $00000006;
  3142.   wdHorizontalPositionRelativeToTextBoundary = $00000007;
  3143.   wdVerticalPositionRelativeToTextBoundary = $00000008;
  3144.   wdFirstCharacterColumnNumber = $00000009;
  3145.   wdFirstCharacterLineNumber = $0000000A;
  3146.   wdFrameIsSelected = $0000000B;
  3147.   wdWithInTable = $0000000C;
  3148.   wdStartOfRangeRowNumber = $0000000D;
  3149.   wdEndOfRangeRowNumber = $0000000E;
  3150.   wdMaximumNumberOfRows = $0000000F;
  3151.   wdStartOfRangeColumnNumber = $00000010;
  3152.   wdEndOfRangeColumnNumber = $00000011;
  3153.   wdMaximumNumberOfColumns = $00000012;
  3154.   wdZoomPercentage = $00000013;
  3155.   wdSelectionMode = $00000014;
  3156.   wdCapsLock = $00000015;
  3157.   wdNumLock = $00000016;
  3158.   wdOverType = $00000017;
  3159.   wdRevisionMarking = $00000018;
  3160.   wdInFootnoteEndnotePane = $00000019;
  3161.   wdInCommentPane = $0000001A;
  3162.   wdInHeaderFooter = $0000001C;
  3163.   wdAtEndOfRowMarker = $0000001F;
  3164.   wdReferenceOfType = $00000020;
  3165.   wdHeaderFooterType = $00000021;
  3166.   wdInMasterDocument = $00000022;
  3167.   wdInFootnote = $00000023;
  3168.   wdInEndnote = $00000024;
  3169.   wdInWordMail = $00000025;
  3170.   wdInClipboard = $00000026;
  3171.  
  3172. // WdWrapType constants
  3173. type
  3174.   WdWrapType = TOleEnum;
  3175. const
  3176.   wdWrapSquare = $00000000;
  3177.   wdWrapTight = $00000001;
  3178.   wdWrapThrough = $00000002;
  3179.   wdWrapNone = $00000003;
  3180.   wdWrapTopBottom = $00000004;
  3181.  
  3182. // WdWrapSideType constants
  3183. type
  3184.   WdWrapSideType = TOleEnum;
  3185. const
  3186.   wdWrapBoth = $00000000;
  3187.   wdWrapLeft = $00000001;
  3188.   wdWrapRight = $00000002;
  3189.   wdWrapLargest = $00000003;
  3190.  
  3191. // WdOutlineLevel constants
  3192. type
  3193.   WdOutlineLevel = TOleEnum;
  3194. const
  3195.   wdOutlineLevel1 = $00000001;
  3196.   wdOutlineLevel2 = $00000002;
  3197.   wdOutlineLevel3 = $00000003;
  3198.   wdOutlineLevel4 = $00000004;
  3199.   wdOutlineLevel5 = $00000005;
  3200.   wdOutlineLevel6 = $00000006;
  3201.   wdOutlineLevel7 = $00000007;
  3202.   wdOutlineLevel8 = $00000008;
  3203.   wdOutlineLevel9 = $00000009;
  3204.   wdOutlineLevelBodyText = $0000000A;
  3205.  
  3206. // WdTextOrientation constants
  3207. type
  3208.   WdTextOrientation = TOleEnum;
  3209. const
  3210.   wdTextOrientationHorizontal = $00000000;
  3211.   wdTextOrientationUpward = $00000002;
  3212.   wdTextOrientationDownward = $00000003;
  3213.   wdTextOrientationVerticalFarEast = $00000001;
  3214.   wdTextOrientationHorizontalRotatedFarEast = $00000004;
  3215.  
  3216. // WdTextOrientationHID constants
  3217. type
  3218.   WdTextOrientationHID = TOleEnum;
  3219. const
  3220.   emptyenum_______________ = $00000000;
  3221.  
  3222. // WdPageBorderArt constants
  3223. type
  3224.   WdPageBorderArt = TOleEnum;
  3225. const
  3226.   wdArtApples = $00000001;
  3227.   wdArtMapleMuffins = $00000002;
  3228.   wdArtCakeSlice = $00000003;
  3229.   wdArtCandyCorn = $00000004;
  3230.   wdArtIceCreamCones = $00000005;
  3231.   wdArtChampagneBottle = $00000006;
  3232.   wdArtPartyGlass = $00000007;
  3233.   wdArtChristmasTree = $00000008;
  3234.   wdArtTrees = $00000009;
  3235.   wdArtPalmsColor = $0000000A;
  3236.   wdArtBalloons3Colors = $0000000B;
  3237.   wdArtBalloonsHotAir = $0000000C;
  3238.   wdArtPartyFavor = $0000000D;
  3239.   wdArtConfettiStreamers = $0000000E;
  3240.   wdArtHearts = $0000000F;
  3241.   wdArtHeartBalloon = $00000010;
  3242.   wdArtStars3D = $00000011;
  3243.   wdArtStarsShadowed = $00000012;
  3244.   wdArtStars = $00000013;
  3245.   wdArtSun = $00000014;
  3246.   wdArtEarth2 = $00000015;
  3247.   wdArtEarth1 = $00000016;
  3248.   wdArtPeopleHats = $00000017;
  3249.   wdArtSombrero = $00000018;
  3250.   wdArtPencils = $00000019;
  3251.   wdArtPackages = $0000001A;
  3252.   wdArtClocks = $0000001B;
  3253.   wdArtFirecrackers = $0000001C;
  3254.   wdArtRings = $0000001D;
  3255.   wdArtMapPins = $0000001E;
  3256.   wdArtConfetti = $0000001F;
  3257.   wdArtCreaturesButterfly = $00000020;
  3258.   wdArtCreaturesLadyBug = $00000021;
  3259.   wdArtCreaturesFish = $00000022;
  3260.   wdArtBirdsFlight = $00000023;
  3261.   wdArtScaredCat = $00000024;
  3262.   wdArtBats = $00000025;
  3263.   wdArtFlowersRoses = $00000026;
  3264.   wdArtFlowersRedRose = $00000027;
  3265.   wdArtPoinsettias = $00000028;
  3266.   wdArtHolly = $00000029;
  3267.   wdArtFlowersTiny = $0000002A;
  3268.   wdArtFlowersPansy = $0000002B;
  3269.   wdArtFlowersModern2 = $0000002C;
  3270.   wdArtFlowersModern1 = $0000002D;
  3271.   wdArtWhiteFlowers = $0000002E;
  3272.   wdArtVine = $0000002F;
  3273.   wdArtFlowersDaisies = $00000030;
  3274.   wdArtFlowersBlockPrint = $00000031;
  3275.   wdArtDecoArchColor = $00000032;
  3276.   wdArtFans = $00000033;
  3277.   wdArtFilm = $00000034;
  3278.   wdArtLightning1 = $00000035;
  3279.   wdArtCompass = $00000036;
  3280.   wdArtDoubleD = $00000037;
  3281.   wdArtClassicalWave = $00000038;
  3282.   wdArtShadowedSquares = $00000039;
  3283.   wdArtTwistedLines1 = $0000003A;
  3284.   wdArtWaveline = $0000003B;
  3285.   wdArtQuadrants = $0000003C;
  3286.   wdArtCheckedBarColor = $0000003D;
  3287.   wdArtSwirligig = $0000003E;
  3288.   wdArtPushPinNote1 = $0000003F;
  3289.   wdArtPushPinNote2 = $00000040;
  3290.   wdArtPumpkin1 = $00000041;
  3291.   wdArtEggsBlack = $00000042;
  3292.   wdArtCup = $00000043;
  3293.   wdArtHeartGray = $00000044;
  3294.   wdArtGingerbreadMan = $00000045;
  3295.   wdArtBabyPacifier = $00000046;
  3296.   wdArtBabyRattle = $00000047;
  3297.   wdArtCabins = $00000048;
  3298.   wdArtHouseFunky = $00000049;
  3299.   wdArtStarsBlack = $0000004A;
  3300.   wdArtSnowflakes = $0000004B;
  3301.   wdArtSnowflakeFancy = $0000004C;
  3302.   wdArtSkyrocket = $0000004D;
  3303.   wdArtSeattle = $0000004E;
  3304.   wdArtMusicNotes = $0000004F;
  3305.   wdArtPalmsBlack = $00000050;
  3306.   wdArtMapleLeaf = $00000051;
  3307.   wdArtPaperClips = $00000052;
  3308.   wdArtShorebirdTracks = $00000053;
  3309.   wdArtPeople = $00000054;
  3310.   wdArtPeopleWaving = $00000055;
  3311.   wdArtEclipsingSquares2 = $00000056;
  3312.   wdArtHypnotic = $00000057;
  3313.   wdArtDiamondsGray = $00000058;
  3314.   wdArtDecoArch = $00000059;
  3315.   wdArtDecoBlocks = $0000005A;
  3316.   wdArtCirclesLines = $0000005B;
  3317.   wdArtPapyrus = $0000005C;
  3318.   wdArtWoodwork = $0000005D;
  3319.   wdArtWeavingBraid = $0000005E;
  3320.   wdArtWeavingRibbon = $0000005F;
  3321.   wdArtWeavingAngles = $00000060;
  3322.   wdArtArchedScallops = $00000061;
  3323.   wdArtSafari = $00000062;
  3324.   wdArtCelticKnotwork = $00000063;
  3325.   wdArtCrazyMaze = $00000064;
  3326.   wdArtEclipsingSquares1 = $00000065;
  3327.   wdArtBirds = $00000066;
  3328.   wdArtFlowersTeacup = $00000067;
  3329.   wdArtNorthwest = $00000068;
  3330.   wdArtSouthwest = $00000069;
  3331.   wdArtTribal6 = $0000006A;
  3332.   wdArtTribal4 = $0000006B;
  3333.   wdArtTribal3 = $0000006C;
  3334.   wdArtTribal2 = $0000006D;
  3335.   wdArtTribal5 = $0000006E;
  3336.   wdArtXIllusions = $0000006F;
  3337.   wdArtZanyTriangles = $00000070;
  3338.   wdArtPyramids = $00000071;
  3339.   wdArtPyramidsAbove = $00000072;
  3340.   wdArtConfettiGrays = $00000073;
  3341.   wdArtConfettiOutline = $00000074;
  3342.   wdArtConfettiWhite = $00000075;
  3343.   wdArtMosaic = $00000076;
  3344.   wdArtLightning2 = $00000077;
  3345.   wdArtHeebieJeebies = $00000078;
  3346.   wdArtLightBulb = $00000079;
  3347.   wdArtGradient = $0000007A;
  3348.   wdArtTriangleParty = $0000007B;
  3349.   wdArtTwistedLines2 = $0000007C;
  3350.   wdArtMoons = $0000007D;
  3351.   wdArtOvals = $0000007E;
  3352.   wdArtDoubleDiamonds = $0000007F;
  3353.   wdArtChainLink = $00000080;
  3354.   wdArtTriangles = $00000081;
  3355.   wdArtTribal1 = $00000082;
  3356.   wdArtMarqueeToothed = $00000083;
  3357.   wdArtSharksTeeth = $00000084;
  3358.   wdArtSawtooth = $00000085;
  3359.   wdArtSawtoothGray = $00000086;
  3360.   wdArtPostageStamp = $00000087;
  3361.   wdArtWeavingStrips = $00000088;
  3362.   wdArtZigZag = $00000089;
  3363.   wdArtCrossStitch = $0000008A;
  3364.   wdArtGems = $0000008B;
  3365.   wdArtCirclesRectangles = $0000008C;
  3366.   wdArtCornerTriangles = $0000008D;
  3367.   wdArtCreaturesInsects = $0000008E;
  3368.   wdArtZigZagStitch = $0000008F;
  3369.   wdArtCheckered = $00000090;
  3370.   wdArtCheckedBarBlack = $00000091;
  3371.   wdArtMarquee = $00000092;
  3372.   wdArtBasicWhiteDots = $00000093;
  3373.   wdArtBasicWideMidline = $00000094;
  3374.   wdArtBasicWideOutline = $00000095;
  3375.   wdArtBasicWideInline = $00000096;
  3376.   wdArtBasicThinLines = $00000097;
  3377.   wdArtBasicWhiteDashes = $00000098;
  3378.   wdArtBasicWhiteSquares = $00000099;
  3379.   wdArtBasicBlackSquares = $0000009A;
  3380.   wdArtBasicBlackDashes = $0000009B;
  3381.   wdArtBasicBlackDots = $0000009C;
  3382.   wdArtStarsTop = $0000009D;
  3383.   wdArtCertificateBanner = $0000009E;
  3384.   wdArtHandmade1 = $0000009F;
  3385.   wdArtHandmade2 = $000000A0;
  3386.   wdArtTornPaper = $000000A1;
  3387.   wdArtTornPaperBlack = $000000A2;
  3388.   wdArtCouponCutoutDashes = $000000A3;
  3389.   wdArtCouponCutoutDots = $000000A4;
  3390.  
  3391. // WdBorderDistanceFrom constants
  3392. type
  3393.   WdBorderDistanceFrom = TOleEnum;
  3394. const
  3395.   wdBorderDistanceFromText = $00000000;
  3396.   wdBorderDistanceFromPageEdge = $00000001;
  3397.  
  3398. // WdReplace constants
  3399. type
  3400.   WdReplace = TOleEnum;
  3401. const
  3402.   wdReplaceNone = $00000000;
  3403.   wdReplaceOne = $00000001;
  3404.   wdReplaceAll = $00000002;
  3405.  
  3406. // WdFontBias constants
  3407. type
  3408.   WdFontBias = TOleEnum;
  3409. const
  3410.   wdFontBiasDontCare = $000000FF;
  3411.   wdFontBiasDefault = $00000000;
  3412.   wdFontBiasFareast = $00000001;
  3413.  
  3414. // WdBrowserLevel constants
  3415. type
  3416.   WdBrowserLevel = TOleEnum;
  3417. const
  3418.   wdBrowserLevelV4 = $00000000;
  3419.   wdBrowserLevelMicrosoftInternetExplorer5 = $00000001;
  3420.  
  3421. // WdEnclosureType constants
  3422. type
  3423.   WdEnclosureType = TOleEnum;
  3424. const
  3425.   wdEnclosureCircle = $00000000;
  3426.   wdEnclosureSquare = $00000001;
  3427.   wdEnclosureTriangle = $00000002;
  3428.   wdEnclosureDiamond = $00000003;
  3429.  
  3430. // WdEncloseStyle constants
  3431. type
  3432.   WdEncloseStyle = TOleEnum;
  3433. const
  3434.   wdEncloseStyleNone = $00000000;
  3435.   wdEncloseStyleSmall = $00000001;
  3436.   wdEncloseStyleLarge = $00000002;
  3437.  
  3438. // WdHighAnsiText constants
  3439. type
  3440.   WdHighAnsiText = TOleEnum;
  3441. const
  3442.   wdHighAnsiIsFarEast = $00000000;
  3443.   wdHighAnsiIsHighAnsi = $00000001;
  3444.   wdAutoDetectHighAnsiFarEast = $00000002;
  3445.  
  3446. // WdLayoutMode constants
  3447. type
  3448.   WdLayoutMode = TOleEnum;
  3449. const
  3450.   wdLayoutModeDefault = $00000000;
  3451.   wdLayoutModeGrid = $00000001;
  3452.   wdLayoutModeLineGrid = $00000002;
  3453.   wdLayoutModeGenko = $00000003;
  3454.  
  3455. // WdDocumentMedium constants
  3456. type
  3457.   WdDocumentMedium = TOleEnum;
  3458. const
  3459.   wdEmailMessage = $00000000;
  3460.   wdDocument = $00000001;
  3461.   wdWebPage = $00000002;
  3462.  
  3463. // WdMailerPriority constants
  3464. type
  3465.   WdMailerPriority = TOleEnum;
  3466. const
  3467.   wdPriorityNormal = $00000001;
  3468.   wdPriorityLow = $00000002;
  3469.   wdPriorityHigh = $00000003;
  3470.  
  3471. // WdDocumentViewDirection constants
  3472. type
  3473.   WdDocumentViewDirection = TOleEnum;
  3474. const
  3475.   wdDocumentViewRtl = $00000000;
  3476.   wdDocumentViewLtr = $00000001;
  3477.  
  3478. // WdArabicNumeral constants
  3479. type
  3480.   WdArabicNumeral = TOleEnum;
  3481. const
  3482.   wdNumeralArabic = $00000000;
  3483.   wdNumeralHindi = $00000001;
  3484.   wdNumeralContext = $00000002;
  3485.   wdNumeralSystem = $00000003;
  3486.  
  3487. // WdMonthNames constants
  3488. type
  3489.   WdMonthNames = TOleEnum;
  3490. const
  3491.   wdMonthNamesArabic = $00000000;
  3492.   wdMonthNamesEnglish = $00000001;
  3493.   wdMonthNamesFrench = $00000002;
  3494.  
  3495. // WdCursorMovement constants
  3496. type
  3497.   WdCursorMovement = TOleEnum;
  3498. const
  3499.   wdCursorMovementLogical = $00000000;
  3500.   wdCursorMovementVisual = $00000001;
  3501.  
  3502. // WdVisualSelection constants
  3503. type
  3504.   WdVisualSelection = TOleEnum;
  3505. const
  3506.   wdVisualSelectionBlock = $00000000;
  3507.   wdVisualSelectionContinuous = $00000001;
  3508.  
  3509. // WdTableDirection constants
  3510. type
  3511.   WdTableDirection = TOleEnum;
  3512. const
  3513.   wdTableDirectionRtl = $00000000;
  3514.   wdTableDirectionLtr = $00000001;
  3515.  
  3516. // WdFlowDirection constants
  3517. type
  3518.   WdFlowDirection = TOleEnum;
  3519. const
  3520.   wdFlowLtr = $00000000;
  3521.   wdFlowRtl = $00000001;
  3522.  
  3523. // WdDiacriticColor constants
  3524. type
  3525.   WdDiacriticColor = TOleEnum;
  3526. const
  3527.   wdDiacriticColorBidi = $00000000;
  3528.   wdDiacriticColorLatin = $00000001;
  3529.  
  3530. // WdGutterStyle constants
  3531. type
  3532.   WdGutterStyle = TOleEnum;
  3533. const
  3534.   wdGutterPosLeft = $00000000;
  3535.   wdGutterPosTop = $00000001;
  3536.   wdGutterPosRight = $00000002;
  3537.  
  3538. // WdGutterStyleOld constants
  3539. type
  3540.   WdGutterStyleOld = TOleEnum;
  3541. const
  3542.   wdGutterStyleLatin = $FFFFFFF6;
  3543.   wdGutterStyleBidi = $00000002;
  3544.  
  3545. // WdSectionDirection constants
  3546. type
  3547.   WdSectionDirection = TOleEnum;
  3548. const
  3549.   wdSectionDirectionRtl = $00000000;
  3550.   wdSectionDirectionLtr = $00000001;
  3551.  
  3552. // WdDateLanguage constants
  3553. type
  3554.   WdDateLanguage = TOleEnum;
  3555. const
  3556.   wdDateLanguageBidi = $0000000A;
  3557.   wdDateLanguageLatin = $00000409;
  3558.  
  3559. // WdCalendarTypeBi constants
  3560. type
  3561.   WdCalendarTypeBi = TOleEnum;
  3562. const
  3563.   wdCalendarTypeBidi = $00000063;
  3564.   wdCalendarTypeGregorian = $00000064;
  3565.  
  3566. // WdCalendarType constants
  3567. type
  3568.   WdCalendarType = TOleEnum;
  3569. const
  3570.   wdCalendarWestern = $00000000;
  3571.   wdCalendarArabic = $00000001;
  3572.   wdCalendarHebrew = $00000002;
  3573.   wdCalendarChina = $00000003;
  3574.   wdCalendarJapan = $00000004;
  3575.   wdCalendarThai = $00000005;
  3576.   wdCalendarKorean = $00000006;
  3577.  
  3578. // WdReadingOrder constants
  3579. type
  3580.   WdReadingOrder = TOleEnum;
  3581. const
  3582.   wdReadingOrderRtl = $00000000;
  3583.   wdReadingOrderLtr = $00000001;
  3584.  
  3585. // WdHebSpellStart constants
  3586. type
  3587.   WdHebSpellStart = TOleEnum;
  3588. const
  3589.   wdFullScript = $00000000;
  3590.   wdPartialScript = $00000001;
  3591.   wdMixedScript = $00000002;
  3592.   wdMixedAuthorizedScript = $00000003;
  3593.  
  3594. // WdAraSpeller constants
  3595. type
  3596.   WdAraSpeller = TOleEnum;
  3597. const
  3598.   wdNone = $00000000;
  3599.   wdInitialAlef = $00000001;
  3600.   wdFinalYaa = $00000002;
  3601.   wdBoth = $00000003;
  3602.  
  3603. // WdColor constants
  3604. type
  3605.   WdColor = TOleEnum;
  3606. const
  3607.   wdColorAutomatic = $FF000000;
  3608.   wdColorBlack = $00000000;
  3609.   wdColorBlue = $00FF0000;
  3610.   wdColorTurquoise = $00FFFF00;
  3611.   wdColorBrightGreen = $0000FF00;
  3612.   wdColorPink = $00FF00FF;
  3613.   wdColorRed = $000000FF;
  3614.   wdColorYellow = $0000FFFF;
  3615.   wdColorWhite = $00FFFFFF;
  3616.   wdColorDarkBlue = $00800000;
  3617.   wdColorTeal = $00808000;
  3618.   wdColorGreen = $00008000;
  3619.   wdColorViolet = $00800080;
  3620.   wdColorDarkRed = $00000080;
  3621.   wdColorDarkYellow = $00008080;
  3622.   wdColorBrown = $00003399;
  3623.   wdColorOliveGreen = $00003333;
  3624.   wdColorDarkGreen = $00003300;
  3625.   wdColorDarkTeal = $00663300;
  3626.   wdColorIndigo = $00993333;
  3627.   wdColorOrange = $000066FF;
  3628.   wdColorBlueGray = $00996666;
  3629.   wdColorLightOrange = $000099FF;
  3630.   wdColorLime = $0000CC99;
  3631.   wdColorSeaGreen = $00669933;
  3632.   wdColorAqua = $00CCCC33;
  3633.   wdColorLightBlue = $00FF6633;
  3634.   wdColorGold = $0000CCFF;
  3635.   wdColorSkyBlue = $00FFCC00;
  3636.   wdColorPlum = $00663399;
  3637.   wdColorRose = $00CC99FF;
  3638.   wdColorTan = $0099CCFF;
  3639.   wdColorLightYellow = $0099FFFF;
  3640.   wdColorLightGreen = $00CCFFCC;
  3641.   wdColorLightTurquoise = $00FFFFCC;
  3642.   wdColorPaleBlue = $00FFCC99;
  3643.   wdColorLavender = $00FF99CC;
  3644.   wdColorGray05 = $00F3F3F3;
  3645.   wdColorGray10 = $00E6E6E6;
  3646.   wdColorGray125 = $00E0E0E0;
  3647.   wdColorGray15 = $00D9D9D9;
  3648.   wdColorGray20 = $00CCCCCC;
  3649.   wdColorGray25 = $00C0C0C0;
  3650.   wdColorGray30 = $00B3B3B3;
  3651.   wdColorGray35 = $00A6A6A6;
  3652.   wdColorGray375 = $00A0A0A0;
  3653.   wdColorGray40 = $00999999;
  3654.   wdColorGray45 = $008C8C8C;
  3655.   wdColorGray50 = $00808080;
  3656.   wdColorGray55 = $00737373;
  3657.   wdColorGray60 = $00666666;
  3658.   wdColorGray625 = $00606060;
  3659.   wdColorGray65 = $00595959;
  3660.   wdColorGray70 = $004C4C4C;
  3661.   wdColorGray75 = $00404040;
  3662.   wdColorGray80 = $00333333;
  3663.   wdColorGray85 = $00262626;
  3664.   wdColorGray875 = $00202020;
  3665.   wdColorGray90 = $00191919;
  3666.   wdColorGray95 = $000C0C0C;
  3667.  
  3668. // WdShapePosition constants
  3669. type
  3670.   WdShapePosition = TOleEnum;
  3671. const
  3672.   wdShapeTop = $FFF0BDC1;
  3673.   wdShapeLeft = $FFF0BDC2;
  3674.   wdShapeBottom = $FFF0BDC3;
  3675.   wdShapeRight = $FFF0BDC4;
  3676.   wdShapeCenter = $FFF0BDC5;
  3677.   wdShapeInside = $FFF0BDC6;
  3678.   wdShapeOutside = $FFF0BDC7;
  3679.  
  3680. // WdTablePosition constants
  3681. type
  3682.   WdTablePosition = TOleEnum;
  3683. const
  3684.   wdTableTop = $FFF0BDC1;
  3685.   wdTableLeft = $FFF0BDC2;
  3686.   wdTableBottom = $FFF0BDC3;
  3687.   wdTableRight = $FFF0BDC4;
  3688.   wdTableCenter = $FFF0BDC5;
  3689.   wdTableInside = $FFF0BDC6;
  3690.   wdTableOutside = $FFF0BDC7;
  3691.  
  3692. // WdDefaultListBehavior constants
  3693. type
  3694.   WdDefaultListBehavior = TOleEnum;
  3695. const
  3696.   wdWord8ListBehavior = $00000000;
  3697.   wdWord9ListBehavior = $00000001;
  3698.  
  3699. // WdDefaultTableBehavior constants
  3700. type
  3701.   WdDefaultTableBehavior = TOleEnum;
  3702. const
  3703.   wdWord8TableBehavior = $00000000;
  3704.   wdWord9TableBehavior = $00000001;
  3705.  
  3706. // WdAutoFitBehavior constants
  3707. type
  3708.   WdAutoFitBehavior = TOleEnum;
  3709. const
  3710.   wdAutoFitFixed = $00000000;
  3711.   wdAutoFitContent = $00000001;
  3712.   wdAutoFitWindow = $00000002;
  3713.  
  3714. // WdPreferredWidthType constants
  3715. type
  3716.   WdPreferredWidthType = TOleEnum;
  3717. const
  3718.   wdPreferredWidthAuto = $00000001;
  3719.   wdPreferredWidthPercent = $00000002;
  3720.   wdPreferredWidthPoints = $00000003;
  3721.  
  3722. // WdFarEastLineBreakLanguageID constants
  3723. type
  3724.   WdFarEastLineBreakLanguageID = TOleEnum;
  3725. const
  3726.   wdLineBreakJapanese = $00000411;
  3727.   wdLineBreakKorean = $00000412;
  3728.   wdLineBreakSimplifiedChinese = $00000804;
  3729.   wdLineBreakTraditionalChinese = $00000404;
  3730.  
  3731. // WdViewTypeOld constants
  3732. type
  3733.   WdViewTypeOld = TOleEnum;
  3734. const
  3735.   wdPageView = $00000003;
  3736.   wdOnlineView = $00000006;
  3737.  
  3738. // WdFramesetType constants
  3739. type
  3740.   WdFramesetType = TOleEnum;
  3741. const
  3742.   wdFramesetTypeFrameset = $00000000;
  3743.   wdFramesetTypeFrame = $00000001;
  3744.  
  3745. // WdFramesetSizeType constants
  3746. type
  3747.   WdFramesetSizeType = TOleEnum;
  3748. const
  3749.   wdFramesetSizeTypePercent = $00000000;
  3750.   wdFramesetSizeTypeFixed = $00000001;
  3751.   wdFramesetSizeTypeRelative = $00000002;
  3752.  
  3753. // WdFramesetNewFrameLocation constants
  3754. type
  3755.   WdFramesetNewFrameLocation = TOleEnum;
  3756. const
  3757.   wdFramesetNewFrameAbove = $00000000;
  3758.   wdFramesetNewFrameBelow = $00000001;
  3759.   wdFramesetNewFrameRight = $00000002;
  3760.   wdFramesetNewFrameLeft = $00000003;
  3761.  
  3762. // WdScrollbarType constants
  3763. type
  3764.   WdScrollbarType = TOleEnum;
  3765. const
  3766.   wdScrollbarTypeAuto = $00000000;
  3767.   wdScrollbarTypeYes = $00000001;
  3768.   wdScrollbarTypeNo = $00000002;
  3769.  
  3770. // WdTwoLinesInOneType constants
  3771. type
  3772.   WdTwoLinesInOneType = TOleEnum;
  3773. const
  3774.   wdTwoLinesInOneNone = $00000000;
  3775.   wdTwoLinesInOneNoBrackets = $00000001;
  3776.   wdTwoLinesInOneParentheses = $00000002;
  3777.   wdTwoLinesInOneSquareBrackets = $00000003;
  3778.   wdTwoLinesInOneAngleBrackets = $00000004;
  3779.   wdTwoLinesInOneCurlyBrackets = $00000005;
  3780.  
  3781. // WdHorizontalInVerticalType constants
  3782. type
  3783.   WdHorizontalInVerticalType = TOleEnum;
  3784. const
  3785.   wdHorizontalInVerticalNone = $00000000;
  3786.   wdHorizontalInVerticalFitInLine = $00000001;
  3787.   wdHorizontalInVerticalResizeLine = $00000002;
  3788.  
  3789. // WdHorizontalLineAlignment constants
  3790. type
  3791.   WdHorizontalLineAlignment = TOleEnum;
  3792. const
  3793.   wdHorizontalLineAlignLeft = $00000000;
  3794.   wdHorizontalLineAlignCenter = $00000001;
  3795.   wdHorizontalLineAlignRight = $00000002;
  3796.  
  3797. // WdHorizontalLineWidthType constants
  3798. type
  3799.   WdHorizontalLineWidthType = TOleEnum;
  3800. const
  3801.   wdHorizontalLinePercentWidth = $FFFFFFFF;
  3802.   wdHorizontalLineFixedWidth = $FFFFFFFE;
  3803.  
  3804. // WdPhoneticGuideAlignmentType constants
  3805. type
  3806.   WdPhoneticGuideAlignmentType = TOleEnum;
  3807. const
  3808.   wdPhoneticGuideAlignmentCenter = $00000000;
  3809.   wdPhoneticGuideAlignmentZeroOneZero = $00000001;
  3810.   wdPhoneticGuideAlignmentOneTwoOne = $00000002;
  3811.   wdPhoneticGuideAlignmentLeft = $00000003;
  3812.   wdPhoneticGuideAlignmentRight = $00000004;
  3813.  
  3814. // WdNewDocumentType constants
  3815. type
  3816.   WdNewDocumentType = TOleEnum;
  3817. const
  3818.   wdNewBlankDocument = $00000000;
  3819.   wdNewWebPage = $00000001;
  3820.   wdNewEmailMessage = $00000002;
  3821.   wdNewFrameset = $00000003;
  3822.  
  3823. // WdKana constants
  3824. type
  3825.   WdKana = TOleEnum;
  3826. const
  3827.   wdKanaKatakana = $00000008;
  3828.   wdKanaHiragana = $00000009;
  3829.  
  3830. // WdCharacterWidth constants
  3831. type
  3832.   WdCharacterWidth = TOleEnum;
  3833. const
  3834.   wdWidthHalfWidth = $00000006;
  3835.   wdWidthFullWidth = $00000007;
  3836.  
  3837. // WdNumberStyleWordBasicBiDi constants
  3838. type
  3839.   WdNumberStyleWordBasicBiDi = TOleEnum;
  3840. const
  3841.   wdListNumberStyleBidi1 = $00000031;
  3842.   wdListNumberStyleBidi2 = $00000032;
  3843.   wdCaptionNumberStyleBidiLetter1 = $00000031;
  3844.   wdCaptionNumberStyleBidiLetter2 = $00000032;
  3845.   wdNoteNumberStyleBidiLetter1 = $00000031;
  3846.   wdNoteNumberStyleBidiLetter2 = $00000032;
  3847.   wdPageNumberStyleBidiLetter1 = $00000031;
  3848.   wdPageNumberStyleBidiLetter2 = $00000032;
  3849.  
  3850. // WdTCSCConverterDirection constants
  3851. type
  3852.   WdTCSCConverterDirection = TOleEnum;
  3853. const
  3854.   wdTCSCConverterDirectionSCTC = $00000000;
  3855.   wdTCSCConverterDirectionTCSC = $00000001;
  3856.   wdTCSCConverterDirectionAuto = $00000002;
  3857.  
  3858. type
  3859.  
  3860. // *********************************************************************//
  3861. // Forward declaration of interfaces defined in Type Library            //
  3862. // *********************************************************************//
  3863.   _Application = interface;
  3864.   _ApplicationDisp = dispinterface;
  3865.   _Global = interface;
  3866.   _GlobalDisp = dispinterface;
  3867.   FontNames = interface;
  3868.   FontNamesDisp = dispinterface;
  3869.   Languages = interface;
  3870.   LanguagesDisp = dispinterface;
  3871.   Language = interface;
  3872.   LanguageDisp = dispinterface;
  3873.   Documents = interface;
  3874.   DocumentsDisp = dispinterface;
  3875.   _Document = interface;
  3876.   _DocumentDisp = dispinterface;
  3877.   Template = interface;
  3878.   TemplateDisp = dispinterface;
  3879.   Templates = interface;
  3880.   TemplatesDisp = dispinterface;
  3881.   RoutingSlip = interface;
  3882.   RoutingSlipDisp = dispinterface;
  3883.   Bookmark = interface;
  3884.   BookmarkDisp = dispinterface;
  3885.   Bookmarks = interface;
  3886.   BookmarksDisp = dispinterface;
  3887.   Variable = interface;
  3888.   VariableDisp = dispinterface;
  3889.   Variables = interface;
  3890.   VariablesDisp = dispinterface;
  3891.   RecentFile = interface;
  3892.   RecentFileDisp = dispinterface;
  3893.   RecentFiles = interface;
  3894.   RecentFilesDisp = dispinterface;
  3895.   Window_ = interface;
  3896.   Window_Disp = dispinterface;
  3897.   Windows = interface;
  3898.   WindowsDisp = dispinterface;
  3899.   Pane = interface;
  3900.   PaneDisp = dispinterface;
  3901.   Panes = interface;
  3902.   PanesDisp = dispinterface;
  3903.   Range = interface;
  3904.   RangeDisp = dispinterface;
  3905.   ListFormat = interface;
  3906.   ListFormatDisp = dispinterface;
  3907.   Find = interface;
  3908.   FindDisp = dispinterface;
  3909.   Replacement = interface;
  3910.   ReplacementDisp = dispinterface;
  3911.   Characters = interface;
  3912.   CharactersDisp = dispinterface;
  3913.   Words = interface;
  3914.   WordsDisp = dispinterface;
  3915.   Sentences = interface;
  3916.   SentencesDisp = dispinterface;
  3917.   Sections = interface;
  3918.   SectionsDisp = dispinterface;
  3919.   Section = interface;
  3920.   SectionDisp = dispinterface;
  3921.   Paragraphs = interface;
  3922.   ParagraphsDisp = dispinterface;
  3923.   Paragraph = interface;
  3924.   ParagraphDisp = dispinterface;
  3925.   DropCap = interface;
  3926.   DropCapDisp = dispinterface;
  3927.   TabStops = interface;
  3928.   TabStopsDisp = dispinterface;
  3929.   TabStop = interface;
  3930.   TabStopDisp = dispinterface;
  3931.   _ParagraphFormat = interface;
  3932.   _ParagraphFormatDisp = dispinterface;
  3933.   _Font = interface;
  3934.   _FontDisp = dispinterface;
  3935.   Table = interface;
  3936.   TableDisp = dispinterface;
  3937.   Row = interface;
  3938.   RowDisp = dispinterface;
  3939.   Column = interface;
  3940.   ColumnDisp = dispinterface;
  3941.   Cell = interface;
  3942.   CellDisp = dispinterface;
  3943.   Tables = interface;
  3944.   TablesDisp = dispinterface;
  3945.   Rows = interface;
  3946.   RowsDisp = dispinterface;
  3947.   Columns = interface;
  3948.   ColumnsDisp = dispinterface;
  3949.   Cells = interface;
  3950.   CellsDisp = dispinterface;
  3951.   AutoCorrect = interface;
  3952.   AutoCorrectDisp = dispinterface;
  3953.   AutoCorrectEntries = interface;
  3954.   AutoCorrectEntriesDisp = dispinterface;
  3955.   AutoCorrectEntry = interface;
  3956.   AutoCorrectEntryDisp = dispinterface;
  3957.   FirstLetterExceptions = interface;
  3958.   FirstLetterExceptionsDisp = dispinterface;
  3959.   FirstLetterException = interface;
  3960.   FirstLetterExceptionDisp = dispinterface;
  3961.   TwoInitialCapsExceptions = interface;
  3962.   TwoInitialCapsExceptionsDisp = dispinterface;
  3963.   TwoInitialCapsException = interface;
  3964.   TwoInitialCapsExceptionDisp = dispinterface;
  3965.   Footnotes = interface;
  3966.   FootnotesDisp = dispinterface;
  3967.   Endnotes = interface;
  3968.   EndnotesDisp = dispinterface;
  3969.   Comments = interface;
  3970.   CommentsDisp = dispinterface;
  3971.   Footnote = interface;
  3972.   FootnoteDisp = dispinterface;
  3973.   Endnote = interface;
  3974.   EndnoteDisp = dispinterface;
  3975.   Comment = interface;
  3976.   CommentDisp = dispinterface;
  3977.   Borders = interface;
  3978.   BordersDisp = dispinterface;
  3979.   Border = interface;
  3980.   BorderDisp = dispinterface;
  3981.   Shading = interface;
  3982.   ShadingDisp = dispinterface;
  3983.   TextRetrievalMode = interface;
  3984.   TextRetrievalModeDisp = dispinterface;
  3985.   AutoTextEntries = interface;
  3986.   AutoTextEntriesDisp = dispinterface;
  3987.   AutoTextEntry = interface;
  3988.   AutoTextEntryDisp = dispinterface;
  3989.   System_ = interface;
  3990.   System_Disp = dispinterface;
  3991.   OLEFormat = interface;
  3992.   OLEFormatDisp = dispinterface;
  3993.   LinkFormat = interface;
  3994.   LinkFormatDisp = dispinterface;
  3995.   _OLEControl = interface;
  3996.   _OLEControlDisp = dispinterface;
  3997.   Fields = interface;
  3998.   FieldsDisp = dispinterface;
  3999.   Field = interface;
  4000.   FieldDisp = dispinterface;
  4001.   Browser = interface;
  4002.   BrowserDisp = dispinterface;
  4003.   Styles = interface;
  4004.   StylesDisp = dispinterface;
  4005.   Style = interface;
  4006.   StyleDisp = dispinterface;
  4007.   Frames = interface;
  4008.   FramesDisp = dispinterface;
  4009.   Frame = interface;
  4010.   FrameDisp = dispinterface;
  4011.   FormFields = interface;
  4012.   FormFieldsDisp = dispinterface;
  4013.   FormField = interface;
  4014.   FormFieldDisp = dispinterface;
  4015.   TextInput = interface;
  4016.   TextInputDisp = dispinterface;
  4017.   CheckBox = interface;
  4018.   CheckBoxDisp = dispinterface;
  4019.   DropDown = interface;
  4020.   DropDownDisp = dispinterface;
  4021.   ListEntries = interface;
  4022.   ListEntriesDisp = dispinterface;
  4023.   ListEntry = interface;
  4024.   ListEntryDisp = dispinterface;
  4025.   TablesOfFigures = interface;
  4026.   TablesOfFiguresDisp = dispinterface;
  4027.   TableOfFigures = interface;
  4028.   TableOfFiguresDisp = dispinterface;
  4029.   MailMerge = interface;
  4030.   MailMergeDisp = dispinterface;
  4031.   MailMergeFields = interface;
  4032.   MailMergeFieldsDisp = dispinterface;
  4033.   MailMergeField = interface;
  4034.   MailMergeFieldDisp = dispinterface;
  4035.   MailMergeDataSource = interface;
  4036.   MailMergeDataSourceDisp = dispinterface;
  4037.   MailMergeFieldNames = interface;
  4038.   MailMergeFieldNamesDisp = dispinterface;
  4039.   MailMergeFieldName = interface;
  4040.   MailMergeFieldNameDisp = dispinterface;
  4041.   MailMergeDataFields = interface;
  4042.   MailMergeDataFieldsDisp = dispinterface;
  4043.   MailMergeDataField = interface;
  4044.   MailMergeDataFieldDisp = dispinterface;
  4045.   Envelope = interface;
  4046.   EnvelopeDisp = dispinterface;
  4047.   MailingLabel = interface;
  4048.   MailingLabelDisp = dispinterface;
  4049.   CustomLabels = interface;
  4050.   CustomLabelsDisp = dispinterface;
  4051.   CustomLabel = interface;
  4052.   CustomLabelDisp = dispinterface;
  4053.   TablesOfContents = interface;
  4054.   TablesOfContentsDisp = dispinterface;
  4055.   TableOfContents = interface;
  4056.   TableOfContentsDisp = dispinterface;
  4057.   TablesOfAuthorities = interface;
  4058.   TablesOfAuthoritiesDisp = dispinterface;
  4059.   TableOfAuthorities = interface;
  4060.   TableOfAuthoritiesDisp = dispinterface;
  4061.   Dialogs = interface;
  4062.   DialogsDisp = dispinterface;
  4063.   Dialog = interface;
  4064.   DialogDisp = dispinterface;
  4065.   PageSetup = interface;
  4066.   PageSetupDisp = dispinterface;
  4067.   LineNumbering = interface;
  4068.   LineNumberingDisp = dispinterface;
  4069.   TextColumns = interface;
  4070.   TextColumnsDisp = dispinterface;
  4071.   TextColumn = interface;
  4072.   TextColumnDisp = dispinterface;
  4073.   Selection = interface;
  4074.   SelectionDisp = dispinterface;
  4075.   TablesOfAuthoritiesCategories = interface;
  4076.   TablesOfAuthoritiesCategoriesDisp = dispinterface;
  4077.   TableOfAuthoritiesCategory = interface;
  4078.   TableOfAuthoritiesCategoryDisp = dispinterface;
  4079.   CaptionLabels = interface;
  4080.   CaptionLabelsDisp = dispinterface;
  4081.   CaptionLabel = interface;
  4082.   CaptionLabelDisp = dispinterface;
  4083.   AutoCaptions = interface;
  4084.   AutoCaptionsDisp = dispinterface;
  4085.   AutoCaption = interface;
  4086.   AutoCaptionDisp = dispinterface;
  4087.   Indexes = interface;
  4088.   IndexesDisp = dispinterface;
  4089.   Index = interface;
  4090.   IndexDisp = dispinterface;
  4091.   AddIn = interface;
  4092.   AddInDisp = dispinterface;
  4093.   AddIns = interface;
  4094.   AddInsDisp = dispinterface;
  4095.   Revisions = interface;
  4096.   RevisionsDisp = dispinterface;
  4097.   Revision = interface;
  4098.   RevisionDisp = dispinterface;
  4099.   Task = interface;
  4100.   TaskDisp = dispinterface;
  4101.   Tasks = interface;
  4102.   TasksDisp = dispinterface;
  4103.   HeadersFooters = interface;
  4104.   HeadersFootersDisp = dispinterface;
  4105.   HeaderFooter = interface;
  4106.   HeaderFooterDisp = dispinterface;
  4107.   PageNumbers = interface;
  4108.   PageNumbersDisp = dispinterface;
  4109.   PageNumber = interface;
  4110.   PageNumberDisp = dispinterface;
  4111.   Subdocuments = interface;
  4112.   SubdocumentsDisp = dispinterface;
  4113.   Subdocument = interface;
  4114.   SubdocumentDisp = dispinterface;
  4115.   HeadingStyles = interface;
  4116.   HeadingStylesDisp = dispinterface;
  4117.   HeadingStyle = interface;
  4118.   HeadingStyleDisp = dispinterface;
  4119.   StoryRanges = interface;
  4120.   StoryRangesDisp = dispinterface;
  4121.   ListLevel = interface;
  4122.   ListLevelDisp = dispinterface;
  4123.   ListLevels = interface;
  4124.   ListLevelsDisp = dispinterface;
  4125.   ListTemplate = interface;
  4126.   ListTemplateDisp = dispinterface;
  4127.   ListTemplates = interface;
  4128.   ListTemplatesDisp = dispinterface;
  4129.   ListParagraphs = interface;
  4130.   ListParagraphsDisp = dispinterface;
  4131.   List = interface;
  4132.   ListDisp = dispinterface;
  4133.   Lists = interface;
  4134.   ListsDisp = dispinterface;
  4135.   ListGallery = interface;
  4136.   ListGalleryDisp = dispinterface;
  4137.   ListGalleries = interface;
  4138.   ListGalleriesDisp = dispinterface;
  4139.   KeyBindings = interface;
  4140.   KeyBindingsDisp = dispinterface;
  4141.   KeysBoundTo = interface;
  4142.   KeysBoundToDisp = dispinterface;
  4143.   KeyBinding = interface;
  4144.   KeyBindingDisp = dispinterface;
  4145.   FileConverter = interface;
  4146.   FileConverterDisp = dispinterface;
  4147.   FileConverters = interface;
  4148.   FileConvertersDisp = dispinterface;
  4149.   SynonymInfo = interface;
  4150.   SynonymInfoDisp = dispinterface;
  4151.   Hyperlinks = interface;
  4152.   HyperlinksDisp = dispinterface;
  4153.   Hyperlink = interface;
  4154.   HyperlinkDisp = dispinterface;
  4155.   Shapes = interface;
  4156.   ShapesDisp = dispinterface;
  4157.   ShapeRange = interface;
  4158.   ShapeRangeDisp = dispinterface;
  4159.   GroupShapes = interface;
  4160.   GroupShapesDisp = dispinterface;
  4161.   Shape = interface;
  4162.   ShapeDisp = dispinterface;
  4163.   TextFrame = interface;
  4164.   TextFrameDisp = dispinterface;
  4165.   _LetterContent = interface;
  4166.   _LetterContentDisp = dispinterface;
  4167.   View = interface;
  4168.   ViewDisp = dispinterface;
  4169.   Zoom = interface;
  4170.   ZoomDisp = dispinterface;
  4171.   Zooms = interface;
  4172.   ZoomsDisp = dispinterface;
  4173.   InlineShape = interface;
  4174.   InlineShapeDisp = dispinterface;
  4175.   InlineShapes = interface;
  4176.   InlineShapesDisp = dispinterface;
  4177.   SpellingSuggestions = interface;
  4178.   SpellingSuggestionsDisp = dispinterface;
  4179.   SpellingSuggestion = interface;
  4180.   SpellingSuggestionDisp = dispinterface;
  4181.   Dictionaries = interface;
  4182.   DictionariesDisp = dispinterface;
  4183.   HangulHanjaConversionDictionaries = interface;
  4184.   HangulHanjaConversionDictionariesDisp = dispinterface;
  4185.   Dictionary = interface;
  4186.   DictionaryDisp = dispinterface;
  4187.   ReadabilityStatistics = interface;
  4188.   ReadabilityStatisticsDisp = dispinterface;
  4189.   ReadabilityStatistic = interface;
  4190.   ReadabilityStatisticDisp = dispinterface;
  4191.   Versions = interface;
  4192.   VersionsDisp = dispinterface;
  4193.   Version = interface;
  4194.   VersionDisp = dispinterface;
  4195.   Options = interface;
  4196.   OptionsDisp = dispinterface;
  4197.   MailMessage = interface;
  4198.   MailMessageDisp = dispinterface;
  4199.   ProofreadingErrors = interface;
  4200.   ProofreadingErrorsDisp = dispinterface;
  4201.   Mailer = interface;
  4202.   MailerDisp = dispinterface;
  4203.   WrapFormat = interface;
  4204.   WrapFormatDisp = dispinterface;
  4205.   HangulAndAlphabetExceptions = interface;
  4206.   HangulAndAlphabetExceptionsDisp = dispinterface;
  4207.   HangulAndAlphabetException = interface;
  4208.   HangulAndAlphabetExceptionDisp = dispinterface;
  4209.   Adjustments = interface;
  4210.   AdjustmentsDisp = dispinterface;
  4211.   CalloutFormat = interface;
  4212.   CalloutFormatDisp = dispinterface;
  4213.   ColorFormat = interface;
  4214.   ColorFormatDisp = dispinterface;
  4215.   ConnectorFormat = interface;
  4216.   ConnectorFormatDisp = dispinterface;
  4217.   FillFormat = interface;
  4218.   FillFormatDisp = dispinterface;
  4219.   FreeformBuilder = interface;
  4220.   FreeformBuilderDisp = dispinterface;
  4221.   LineFormat = interface;
  4222.   LineFormatDisp = dispinterface;
  4223.   PictureFormat = interface;
  4224.   PictureFormatDisp = dispinterface;
  4225.   ShadowFormat = interface;
  4226.   ShadowFormatDisp = dispinterface;
  4227.   ShapeNode = interface;
  4228.   ShapeNodeDisp = dispinterface;
  4229.   ShapeNodes = interface;
  4230.   ShapeNodesDisp = dispinterface;
  4231.   TextEffectFormat = interface;
  4232.   TextEffectFormatDisp = dispinterface;
  4233.   ThreeDFormat = interface;
  4234.   ThreeDFormatDisp = dispinterface;
  4235.   ApplicationEvents = dispinterface;
  4236.   ApplicationEvents2 = dispinterface;
  4237.   DocumentEvents = dispinterface;
  4238.   OCXEvents = dispinterface;
  4239.   IApplicationEvents = interface;
  4240.   IApplicationEventsDisp = dispinterface;
  4241.   IApplicationEvents2 = interface;
  4242.   IApplicationEvents2Disp = dispinterface;
  4243.   EmailAuthor = interface;
  4244.   EmailAuthorDisp = dispinterface;
  4245.   EmailOptions = interface;
  4246.   EmailOptionsDisp = dispinterface;
  4247.   EmailSignature = interface;
  4248.   EmailSignatureDisp = dispinterface;
  4249.   Email = interface;
  4250.   EmailDisp = dispinterface;
  4251.   HorizontalLineFormat = interface;
  4252.   HorizontalLineFormatDisp = dispinterface;
  4253.   Frameset = interface;
  4254.   FramesetDisp = dispinterface;
  4255.   DefaultWebOptions = interface;
  4256.   DefaultWebOptionsDisp = dispinterface;
  4257.   WebOptions = interface;
  4258.   WebOptionsDisp = dispinterface;
  4259.   OtherCorrectionsExceptions = interface;
  4260.   OtherCorrectionsExceptionsDisp = dispinterface;
  4261.   OtherCorrectionsException = interface;
  4262.   OtherCorrectionsExceptionDisp = dispinterface;
  4263.  
  4264. // *********************************************************************//
  4265. // Declaration of CoClasses defined in Type Library                     //
  4266. // (NOTE: Here we map each CoClass to its Default Interface)            //
  4267. // *********************************************************************//
  4268.   Global = _Global;
  4269.   Document = _Document;
  4270.   Font = _Font;
  4271.   ParagraphFormat = _ParagraphFormat;
  4272.   OLEControl = _OLEControl;
  4273.   LetterContent = _LetterContent;
  4274.   Application_ = _Application;
  4275.  
  4276.  
  4277. // *********************************************************************//
  4278. // Declaration of structures, unions and aliases.                       //
  4279. // *********************************************************************//
  4280.   POleVariant1 = ^OleVariant; {*}
  4281.   PPSafeArray1 = ^PSafeArray; {*}
  4282.   PWordBool1 = ^WordBool; {*}
  4283.   PUserType1 = ^TGUID; {*}
  4284.   PShortint1 = ^Shortint; {*}
  4285.   PPShortint1 = ^PShortint1; {*}
  4286.   PUserType2 = ^DISPPARAMS; {*}
  4287.  
  4288.  
  4289. // *********************************************************************//
  4290. // Interface: _Application
  4291. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  4292. // GUID:      {00020970-0000-0000-C000-000000000046}
  4293. // *********************************************************************//
  4294.   _Application = interface(IDispatch)
  4295.     ['{00020970-0000-0000-C000-000000000046}']
  4296.     function Get_Application_: Application_; safecall;
  4297.     function Get_Creator: Integer; safecall;
  4298.     function Get_Parent: IDispatch; safecall;
  4299.     function Get_Name: WideString; safecall;
  4300.     function Get_Documents: Documents; safecall;
  4301.     function Get_Windows: Windows; safecall;
  4302.     function Get_ActiveDocument: Document; safecall;
  4303.     function Get_ActiveWindow: Window_; safecall;
  4304.     function Get_Selection: Selection; safecall;
  4305.     function Get_WordBasic: IDispatch; safecall;
  4306.     function Get_RecentFiles: RecentFiles; safecall;
  4307.     function Get_NormalTemplate: Template; safecall;
  4308.     function Get_System_: System_; safecall;
  4309.     function Get_AutoCorrect: AutoCorrect; safecall;
  4310.     function Get_FontNames: FontNames; safecall;
  4311.     function Get_LandscapeFontNames: FontNames; safecall;
  4312.     function Get_PortraitFontNames: FontNames; safecall;
  4313.     function Get_Languages: Languages; safecall;
  4314.     function Get_Assistant: Assistant; safecall;
  4315.     function Get_Browser: Browser; safecall;
  4316.     function Get_FileConverters: FileConverters; safecall;
  4317.     function Get_MailingLabel: MailingLabel; safecall;
  4318.     function Get_Dialogs: Dialogs; safecall;
  4319.     function Get_CaptionLabels: CaptionLabels; safecall;
  4320.     function Get_AutoCaptions: AutoCaptions; safecall;
  4321.     function Get_AddIns: AddIns; safecall;
  4322.     function Get_Visible: WordBool; safecall;
  4323.     procedure Set_Visible(prop: WordBool); safecall;
  4324.     function Get_Version: WideString; safecall;
  4325.     function Get_ScreenUpdating: WordBool; safecall;
  4326.     procedure Set_ScreenUpdating(prop: WordBool); safecall;
  4327.     function Get_PrintPreview: WordBool; safecall;
  4328.     procedure Set_PrintPreview(prop: WordBool); safecall;
  4329.     function Get_Tasks: Tasks; safecall;
  4330.     function Get_DisplayStatusBar: WordBool; safecall;
  4331.     procedure Set_DisplayStatusBar(prop: WordBool); safecall;
  4332.     function Get_SpecialMode: WordBool; safecall;
  4333.     function Get_UsableWidth: Integer; safecall;
  4334.     function Get_UsableHeight: Integer; safecall;
  4335.     function Get_MathCoprocessorAvailable: WordBool; safecall;
  4336.     function Get_MouseAvailable: WordBool; safecall;
  4337.     function Get_International(Index: WdInternationalIndex): OleVariant; safecall;
  4338.     function Get_Build: WideString; safecall;
  4339.     function Get_CapsLock: WordBool; safecall;
  4340.     function Get_NumLock: WordBool; safecall;
  4341.     function Get_UserName: WideString; safecall;
  4342.     procedure Set_UserName(const prop: WideString); safecall;
  4343.     function Get_UserInitials: WideString; safecall;
  4344.     procedure Set_UserInitials(const prop: WideString); safecall;
  4345.     function Get_UserAddress: WideString; safecall;
  4346.     procedure Set_UserAddress(const prop: WideString); safecall;
  4347.     function Get_MacroContainer: IDispatch; safecall;
  4348.     function Get_DisplayRecentFiles: WordBool; safecall;
  4349.     procedure Set_DisplayRecentFiles(prop: WordBool); safecall;
  4350.     function Get_CommandBars: CommandBars; safecall;
  4351.     function Get_SynonymInfo(const Word: WideString; var LanguageID: OleVariant): SynonymInfo; safecall;
  4352.     function Get_VBE: VBE; safecall;
  4353.     function Get_DefaultSaveFormat: WideString; safecall;
  4354.     procedure Set_DefaultSaveFormat(const prop: WideString); safecall;
  4355.     function Get_ListGalleries: ListGalleries; safecall;
  4356.     function Get_ActivePrinter: WideString; safecall;
  4357.     procedure Set_ActivePrinter(const prop: WideString); safecall;
  4358.     function Get_Templates: Templates; safecall;
  4359.     function Get_CustomizationContext: IDispatch; safecall;
  4360.     procedure Set_CustomizationContext(const prop: IDispatch); safecall;
  4361.     function Get_KeyBindings: KeyBindings; safecall;
  4362.     function Get_KeysBoundTo(KeyCategory: WdKeyCategory; const Command: WideString; 
  4363.                              var CommandParameter: OleVariant): KeysBoundTo; safecall;
  4364.     function Get_FindKey(KeyCode: Integer; var KeyCode2: OleVariant): KeyBinding; safecall;
  4365.     function Get_Caption: WideString; safecall;
  4366.     procedure Set_Caption(const prop: WideString); safecall;
  4367.     function Get_Path: WideString; safecall;
  4368.     function Get_DisplayScrollBars: WordBool; safecall;
  4369.     procedure Set_DisplayScrollBars(prop: WordBool); safecall;
  4370.     function Get_StartupPath: WideString; safecall;
  4371.     procedure Set_StartupPath(const prop: WideString); safecall;
  4372.     function Get_BackgroundSavingStatus: Integer; safecall;
  4373.     function Get_BackgroundPrintingStatus: Integer; safecall;
  4374.     function Get_Left: Integer; safecall;
  4375.     procedure Set_Left(prop: Integer); safecall;
  4376.     function Get_Top: Integer; safecall;
  4377.     procedure Set_Top(prop: Integer); safecall;
  4378.     function Get_Width: Integer; safecall;
  4379.     procedure Set_Width(prop: Integer); safecall;
  4380.     function Get_Height: Integer; safecall;
  4381.     procedure Set_Height(prop: Integer); safecall;
  4382.     function Get_WindowState: WdWindowState; safecall;
  4383.     procedure Set_WindowState(prop: WdWindowState); safecall;
  4384.     function Get_DisplayAutoCompleteTips: WordBool; safecall;
  4385.     procedure Set_DisplayAutoCompleteTips(prop: WordBool); safecall;
  4386.     function Get_Options: Options; safecall;
  4387.     function Get_DisplayAlerts: WdAlertLevel; safecall;
  4388.     procedure Set_DisplayAlerts(prop: WdAlertLevel); safecall;
  4389.     function Get_CustomDictionaries: Dictionaries; safecall;
  4390.     function Get_PathSeparator: WideString; safecall;
  4391.     procedure Set_StatusBar(const Param1: WideString); safecall;
  4392.     function Get_MAPIAvailable: WordBool; safecall;
  4393.     function Get_DisplayScreenTips: WordBool; safecall;
  4394.     procedure Set_DisplayScreenTips(prop: WordBool); safecall;
  4395.     function Get_EnableCancelKey: WdEnableCancelKey; safecall;
  4396.     procedure Set_EnableCancelKey(prop: WdEnableCancelKey); safecall;
  4397.     function Get_UserControl: WordBool; safecall;
  4398.     function Get_FileSearch: FileSearch; safecall;
  4399.     function Get_MailSystem: WdMailSystem; safecall;
  4400.     function Get_DefaultTableSeparator: WideString; safecall;
  4401.     procedure Set_DefaultTableSeparator(const prop: WideString); safecall;
  4402.     function Get_ShowVisualBasicEditor: WordBool; safecall;
  4403.     procedure Set_ShowVisualBasicEditor(prop: WordBool); safecall;
  4404.     function Get_BrowseExtraFileTypes: WideString; safecall;
  4405.     procedure Set_BrowseExtraFileTypes(const prop: WideString); safecall;
  4406.     function Get_IsObjectValid(const Object_: IDispatch): WordBool; safecall;
  4407.     function Get_HangulHanjaDictionaries: HangulHanjaConversionDictionaries; safecall;
  4408.     function Get_MailMessage: MailMessage; safecall;
  4409.     function Get_FocusInMailHeader: WordBool; safecall;
  4410.     procedure Quit(var SaveChanges: OleVariant; var OriginalFormat: OleVariant; 
  4411.                    var RouteDocument: OleVariant); safecall;
  4412.     procedure ScreenRefresh; safecall;
  4413.     procedure PrintOutOld(var Background: OleVariant; var Append: OleVariant; 
  4414.                           var Range: OleVariant; var OutputFileName: OleVariant; 
  4415.                           var From: OleVariant; var To_: OleVariant; var Item: OleVariant; 
  4416.                           var Copies: OleVariant; var Pages: OleVariant; var PageType: OleVariant; 
  4417.                           var PrintToFile: OleVariant; var Collate: OleVariant; 
  4418.                           var FileName: OleVariant; var ActivePrinterMacGX: OleVariant; 
  4419.                           var ManualDuplexPrint: OleVariant); safecall;
  4420.     procedure LookupNameProperties(const Name: WideString); safecall;
  4421.     procedure SubstituteFont(const UnavailableFont: WideString; const SubstituteFont: WideString); safecall;
  4422.     function Repeat_(var Times: OleVariant): WordBool; safecall;
  4423.     procedure DDEExecute(Channel: Integer; const Command: WideString); safecall;
  4424.     function DDEInitiate(const App: WideString; const Topic: WideString): Integer; safecall;
  4425.     procedure DDEPoke(Channel: Integer; const Item: WideString; const Data: WideString); safecall;
  4426.     function DDERequest(Channel: Integer; const Item: WideString): WideString; safecall;
  4427.     procedure DDETerminate(Channel: Integer); safecall;
  4428.     procedure DDETerminateAll; safecall;
  4429.     function BuildKeyCode(Arg1: WdKey; var Arg2: OleVariant; var Arg3: OleVariant; 
  4430.                           var Arg4: OleVariant): Integer; safecall;
  4431.     function KeyString(KeyCode: Integer; var KeyCode2: OleVariant): WideString; safecall;
  4432.     procedure OrganizerCopy(const Source: WideString; const Destination: WideString; 
  4433.                             const Name: WideString; Object_: WdOrganizerObject); safecall;
  4434.     procedure OrganizerDelete(const Source: WideString; const Name: WideString; 
  4435.                               Object_: WdOrganizerObject); safecall;
  4436.     procedure OrganizerRename(const Source: WideString; const Name: WideString; 
  4437.                               const NewName: WideString; Object_: WdOrganizerObject); safecall;
  4438.     procedure AddAddress(var TagID: PSafeArray; var Value: PSafeArray); safecall;
  4439.     function GetAddress(var Name: OleVariant; var AddressProperties: OleVariant; 
  4440.                         var UseAutoText: OleVariant; var DisplaySelectDialog: OleVariant; 
  4441.                         var SelectDialog: OleVariant; var CheckNamesDialog: OleVariant; 
  4442.                         var RecentAddressesChoice: OleVariant; var UpdateRecentAddresses: OleVariant): WideString; safecall;
  4443.     function CheckGrammar(const String_: WideString): WordBool; safecall;
  4444.     function CheckSpelling(const Word: WideString; var CustomDictionary: OleVariant; 
  4445.                            var IgnoreUppercase: OleVariant; var MainDictionary: OleVariant; 
  4446.                            var CustomDictionary2: OleVariant; var CustomDictionary3: OleVariant; 
  4447.                            var CustomDictionary4: OleVariant; var CustomDictionary5: OleVariant; 
  4448.                            var CustomDictionary6: OleVariant; var CustomDictionary7: OleVariant; 
  4449.                            var CustomDictionary8: OleVariant; var CustomDictionary9: OleVariant; 
  4450.                            var CustomDictionary10: OleVariant): WordBool; safecall;
  4451.     procedure ResetIgnoreAll; safecall;
  4452.     function GetSpellingSuggestions(const Word: WideString; var CustomDictionary: OleVariant; 
  4453.                                     var IgnoreUppercase: OleVariant; 
  4454.                                     var MainDictionary: OleVariant; var SuggestionMode: OleVariant; 
  4455.                                     var CustomDictionary2: OleVariant; 
  4456.                                     var CustomDictionary3: OleVariant; 
  4457.                                     var CustomDictionary4: OleVariant; 
  4458.                                     var CustomDictionary5: OleVariant; 
  4459.                                     var CustomDictionary6: OleVariant; 
  4460.                                     var CustomDictionary7: OleVariant; 
  4461.                                     var CustomDictionary8: OleVariant; 
  4462.                                     var CustomDictionary9: OleVariant; 
  4463.                                     var CustomDictionary10: OleVariant): SpellingSuggestions; safecall;
  4464.     procedure GoBack; safecall;
  4465.     procedure Help(var HelpType: OleVariant); safecall;
  4466.     procedure AutomaticChange; safecall;
  4467.     procedure ShowMe; safecall;
  4468.     procedure HelpTool; safecall;
  4469.     function NewWindow: Window_; safecall;
  4470.     procedure ListCommands(ListAllCommands: WordBool); safecall;
  4471.     procedure ShowClipboard; safecall;
  4472.     procedure OnTime(var When: OleVariant; const Name: WideString; var Tolerance: OleVariant); safecall;
  4473.     procedure NextLetter; safecall;
  4474.     function MountVolume(const Zone: WideString; const Server: WideString; 
  4475.                          const Volume: WideString; var User: OleVariant; 
  4476.                          var UserPassword: OleVariant; var VolumePassword: OleVariant): Smallint; safecall;
  4477.     function CleanString(const String_: WideString): WideString; safecall;
  4478.     procedure SendFax; safecall;
  4479.     procedure ChangeFileOpenDirectory(const Path: WideString); safecall;
  4480.     procedure RunOld(const MacroName: WideString); safecall;
  4481.     procedure GoForward; safecall;
  4482.     procedure Move(Left: Integer; Top: Integer); safecall;
  4483.     procedure Resize(Width: Integer; Height: Integer); safecall;
  4484.     function InchesToPoints(Inches: Single): Single; safecall;
  4485.     function CentimetersToPoints(Centimeters: Single): Single; safecall;
  4486.     function MillimetersToPoints(Millimeters: Single): Single; safecall;
  4487.     function PicasToPoints(Picas: Single): Single; safecall;
  4488.     function LinesToPoints(Lines: Single): Single; safecall;
  4489.     function PointsToInches(Points: Single): Single; safecall;
  4490.     function PointsToCentimeters(Points: Single): Single; safecall;
  4491.     function PointsToMillimeters(Points: Single): Single; safecall;
  4492.     function PointsToPicas(Points: Single): Single; safecall;
  4493.     function PointsToLines(Points: Single): Single; safecall;
  4494.     procedure Activate; safecall;
  4495.     function PointsToPixels(Points: Single; var fVertical: OleVariant): Single; safecall;
  4496.     function PixelsToPoints(Pixels: Single; var fVertical: OleVariant): Single; safecall;
  4497.     procedure KeyboardLatin; safecall;
  4498.     procedure KeyboardBidi; safecall;
  4499.     procedure ToggleKeyboard; safecall;
  4500.     function Keyboard(LangId: Integer): Integer; safecall;
  4501.     function ProductCode: WideString; safecall;
  4502.     function DefaultWebOptions: DefaultWebOptions; safecall;
  4503.     procedure DiscussionSupport(var Range: OleVariant; var cid: OleVariant; var piCSE: OleVariant); safecall;
  4504.     procedure SetDefaultTheme(const Name: WideString; DocumentType: WdDocumentMedium); safecall;
  4505.     function GetDefaultTheme(DocumentType: WdDocumentMedium): WideString; safecall;
  4506.     function Get_EmailOptions: EmailOptions; safecall;
  4507.     function Get_Language: MsoLanguageID; safecall;
  4508.     function Get_COMAddIns: COMAddIns; safecall;
  4509.     function Get_CheckLanguage: WordBool; safecall;
  4510.     procedure Set_CheckLanguage(prop: WordBool); safecall;
  4511.     function Get_LanguageSettings: LanguageSettings; safecall;
  4512.     function Get_Dummy1: WordBool; safecall;
  4513.     function Get_AnswerWizard: AnswerWizard; safecall;
  4514.     function Get_FeatureInstall: MsoFeatureInstall; safecall;
  4515.     procedure Set_FeatureInstall(prop: MsoFeatureInstall); safecall;
  4516.     procedure PrintOut(var Background: OleVariant; var Append: OleVariant; var Range: OleVariant; 
  4517.                        var OutputFileName: OleVariant; var From: OleVariant; var To_: OleVariant; 
  4518.                        var Item: OleVariant; var Copies: OleVariant; var Pages: OleVariant; 
  4519.                        var PageType: OleVariant; var PrintToFile: OleVariant; 
  4520.                        var Collate: OleVariant; var FileName: OleVariant; 
  4521.                        var ActivePrinterMacGX: OleVariant; var ManualDuplexPrint: OleVariant; 
  4522.                        var PrintZoomColumn: OleVariant; var PrintZoomRow: OleVariant; 
  4523.                        var PrintZoomPaperWidth: OleVariant; var PrintZoomPaperHeight: OleVariant); safecall;
  4524.     function Run(const MacroName: WideString; var varg1: OleVariant; var varg2: OleVariant; 
  4525.                  var varg3: OleVariant; var varg4: OleVariant; var varg5: OleVariant; 
  4526.                  var varg6: OleVariant; var varg7: OleVariant; var varg8: OleVariant; 
  4527.                  var varg9: OleVariant; var varg10: OleVariant; var varg11: OleVariant; 
  4528.                  var varg12: OleVariant; var varg13: OleVariant; var varg14: OleVariant; 
  4529.                  var varg15: OleVariant; var varg16: OleVariant; var varg17: OleVariant; 
  4530.                  var varg18: OleVariant; var varg19: OleVariant; var varg20: OleVariant; 
  4531.                  var varg21: OleVariant; var varg22: OleVariant; var varg23: OleVariant; 
  4532.                  var varg24: OleVariant; var varg25: OleVariant; var varg26: OleVariant; 
  4533.                  var varg27: OleVariant; var varg28: OleVariant; var varg29: OleVariant; 
  4534.                  var varg30: OleVariant): OleVariant; safecall;
  4535.     property Application_: Application_ read Get_Application_;
  4536.     property Creator: Integer read Get_Creator;
  4537.     property Parent: IDispatch read Get_Parent;
  4538.     property Name: WideString read Get_Name;
  4539.     property Documents: Documents read Get_Documents;
  4540.     property Windows: Windows read Get_Windows;
  4541.     property ActiveDocument: Document read Get_ActiveDocument;
  4542.     property ActiveWindow: Window_ read Get_ActiveWindow;
  4543.     property Selection: Selection read Get_Selection;
  4544.     property WordBasic: IDispatch read Get_WordBasic;
  4545.     property RecentFiles: RecentFiles read Get_RecentFiles;
  4546.     property NormalTemplate: Template read Get_NormalTemplate;
  4547.     property System_: System_ read Get_System_;
  4548.     property AutoCorrect: AutoCorrect read Get_AutoCorrect;
  4549.     property FontNames: FontNames read Get_FontNames;
  4550.     property LandscapeFontNames: FontNames read Get_LandscapeFontNames;
  4551.     property PortraitFontNames: FontNames read Get_PortraitFontNames;
  4552.     property Languages: Languages read Get_Languages;
  4553.     property Assistant: Assistant read Get_Assistant;
  4554.     property Browser: Browser read Get_Browser;
  4555.     property FileConverters: FileConverters read Get_FileConverters;
  4556.     property MailingLabel: MailingLabel read Get_MailingLabel;
  4557.     property Dialogs: Dialogs read Get_Dialogs;
  4558.     property CaptionLabels: CaptionLabels read Get_CaptionLabels;
  4559.     property AutoCaptions: AutoCaptions read Get_AutoCaptions;
  4560.     property AddIns: AddIns read Get_AddIns;
  4561.     property Visible: WordBool read Get_Visible write Set_Visible;
  4562.     property Version: WideString read Get_Version;
  4563.     property ScreenUpdating: WordBool read Get_ScreenUpdating write Set_ScreenUpdating;
  4564.     property PrintPreview: WordBool read Get_PrintPreview write Set_PrintPreview;
  4565.     property Tasks: Tasks read Get_Tasks;
  4566.     property DisplayStatusBar: WordBool read Get_DisplayStatusBar write Set_DisplayStatusBar;
  4567.     property SpecialMode: WordBool read Get_SpecialMode;
  4568.     property UsableWidth: Integer read Get_UsableWidth;
  4569.     property UsableHeight: Integer read Get_UsableHeight;
  4570.     property MathCoprocessorAvailable: WordBool read Get_MathCoprocessorAvailable;
  4571.     property MouseAvailable: WordBool read Get_MouseAvailable;
  4572.     property International[Index: WdInternationalIndex]: OleVariant read Get_International;
  4573.     property Build: WideString read Get_Build;
  4574.     property CapsLock: WordBool read Get_CapsLock;
  4575.     property NumLock: WordBool read Get_NumLock;
  4576.     property UserName: WideString read Get_UserName write Set_UserName;
  4577.     property UserInitials: WideString read Get_UserInitials write Set_UserInitials;
  4578.     property UserAddress: WideString read Get_UserAddress write Set_UserAddress;
  4579.     property MacroContainer: IDispatch read Get_MacroContainer;
  4580.     property DisplayRecentFiles: WordBool read Get_DisplayRecentFiles write Set_DisplayRecentFiles;
  4581.     property CommandBars: CommandBars read Get_CommandBars;
  4582.     property SynonymInfo[const Word: WideString; var LanguageID: OleVariant]: SynonymInfo read Get_SynonymInfo;
  4583.     property VBE: VBE read Get_VBE;
  4584.     property DefaultSaveFormat: WideString read Get_DefaultSaveFormat write Set_DefaultSaveFormat;
  4585.     property ListGalleries: ListGalleries read Get_ListGalleries;
  4586.     property ActivePrinter: WideString read Get_ActivePrinter write Set_ActivePrinter;
  4587.     property Templates: Templates read Get_Templates;
  4588.     property CustomizationContext: IDispatch read Get_CustomizationContext write Set_CustomizationContext;
  4589.     property KeyBindings: KeyBindings read Get_KeyBindings;
  4590.     property KeysBoundTo[KeyCategory: WdKeyCategory; const Command: WideString; 
  4591.                          var CommandParameter: OleVariant]: KeysBoundTo read Get_KeysBoundTo;
  4592.     property FindKey[KeyCode: Integer; var KeyCode2: OleVariant]: KeyBinding read Get_FindKey;
  4593.     property Caption: WideString read Get_Caption write Set_Caption;
  4594.     property Path: WideString read Get_Path;
  4595.     property DisplayScrollBars: WordBool read Get_DisplayScrollBars write Set_DisplayScrollBars;
  4596.     property StartupPath: WideString read Get_StartupPath write Set_StartupPath;
  4597.     property BackgroundSavingStatus: Integer read Get_BackgroundSavingStatus;
  4598.     property BackgroundPrintingStatus: Integer read Get_BackgroundPrintingStatus;
  4599.     property Left: Integer read Get_Left write Set_Left;
  4600.     property Top: Integer read Get_Top write Set_Top;
  4601.     property Width: Integer read Get_Width write Set_Width;
  4602.     property Height: Integer read Get_Height write Set_Height;
  4603.     property WindowState: WdWindowState read Get_WindowState write Set_WindowState;
  4604.     property DisplayAutoCompleteTips: WordBool read Get_DisplayAutoCompleteTips write Set_DisplayAutoCompleteTips;
  4605.     property Options: Options read Get_Options;
  4606.     property DisplayAlerts: WdAlertLevel read Get_DisplayAlerts write Set_DisplayAlerts;
  4607.     property CustomDictionaries: Dictionaries read Get_CustomDictionaries;
  4608.     property PathSeparator: WideString read Get_PathSeparator;
  4609.     property StatusBar: WideString write Set_StatusBar;
  4610.     property MAPIAvailable: WordBool read Get_MAPIAvailable;
  4611.     property DisplayScreenTips: WordBool read Get_DisplayScreenTips write Set_DisplayScreenTips;
  4612.     property EnableCancelKey: WdEnableCancelKey read Get_EnableCancelKey write Set_EnableCancelKey;
  4613.     property UserControl: WordBool read Get_UserControl;
  4614.     property FileSearch: FileSearch read Get_FileSearch;
  4615.     property MailSystem: WdMailSystem read Get_MailSystem;
  4616.     property DefaultTableSeparator: WideString read Get_DefaultTableSeparator write Set_DefaultTableSeparator;
  4617.     property ShowVisualBasicEditor: WordBool read Get_ShowVisualBasicEditor write Set_ShowVisualBasicEditor;
  4618.     property BrowseExtraFileTypes: WideString read Get_BrowseExtraFileTypes write Set_BrowseExtraFileTypes;
  4619.     property IsObjectValid[const Object_: IDispatch]: WordBool read Get_IsObjectValid;
  4620.     property HangulHanjaDictionaries: HangulHanjaConversionDictionaries read Get_HangulHanjaDictionaries;
  4621.     property MailMessage: MailMessage read Get_MailMessage;
  4622.     property FocusInMailHeader: WordBool read Get_FocusInMailHeader;
  4623.     property EmailOptions: EmailOptions read Get_EmailOptions;
  4624.     property Language: MsoLanguageID read Get_Language;
  4625.     property COMAddIns: COMAddIns read Get_COMAddIns;
  4626.     property CheckLanguage: WordBool read Get_CheckLanguage write Set_CheckLanguage;
  4627.     property LanguageSettings: LanguageSettings read Get_LanguageSettings;
  4628.     property Dummy1: WordBool read Get_Dummy1;
  4629.     property AnswerWizard: AnswerWizard read Get_AnswerWizard;
  4630.     property FeatureInstall: MsoFeatureInstall read Get_FeatureInstall write Set_FeatureInstall;
  4631.   end;
  4632.  
  4633. // *********************************************************************//
  4634. // DispIntf:  _ApplicationDisp
  4635. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  4636. // GUID:      {00020970-0000-0000-C000-000000000046}
  4637. // *********************************************************************//
  4638.   _ApplicationDisp = dispinterface
  4639.     ['{00020970-0000-0000-C000-000000000046}']
  4640.     property Application_: Application_ readonly dispid 1000;
  4641.     property Creator: Integer readonly dispid 1001;
  4642.     property Parent: IDispatch readonly dispid 1002;
  4643.     property Name: WideString readonly dispid 0;
  4644.     property Documents: Documents readonly dispid 6;
  4645.     property Windows: Windows readonly dispid 2;
  4646.     property ActiveDocument: Document readonly dispid 3;
  4647.     property ActiveWindow: Window_ readonly dispid 4;
  4648.     property Selection: Selection readonly dispid 5;
  4649.     property WordBasic: IDispatch readonly dispid 1;
  4650.     property RecentFiles: RecentFiles readonly dispid 7;
  4651.     property NormalTemplate: Template readonly dispid 8;
  4652.     property System_: System_ readonly dispid 9;
  4653.     property AutoCorrect: AutoCorrect readonly dispid 10;
  4654.     property FontNames: FontNames readonly dispid 11;
  4655.     property LandscapeFontNames: FontNames readonly dispid 12;
  4656.     property PortraitFontNames: FontNames readonly dispid 13;
  4657.     property Languages: Languages readonly dispid 14;
  4658.     property Assistant: Assistant readonly dispid 15;
  4659.     property Browser: Browser readonly dispid 16;
  4660.     property FileConverters: FileConverters readonly dispid 17;
  4661.     property MailingLabel: MailingLabel readonly dispid 18;
  4662.     property Dialogs: Dialogs readonly dispid 19;
  4663.     property CaptionLabels: CaptionLabels readonly dispid 20;
  4664.     property AutoCaptions: AutoCaptions readonly dispid 21;
  4665.     property AddIns: AddIns readonly dispid 22;
  4666.     property Visible: WordBool dispid 23;
  4667.     property Version: WideString readonly dispid 24;
  4668.     property ScreenUpdating: WordBool dispid 26;
  4669.     property PrintPreview: WordBool dispid 27;
  4670.     property Tasks: Tasks readonly dispid 28;
  4671.     property DisplayStatusBar: WordBool dispid 29;
  4672.     property SpecialMode: WordBool readonly dispid 30;
  4673.     property UsableWidth: Integer readonly dispid 33;
  4674.     property UsableHeight: Integer readonly dispid 34;
  4675.     property MathCoprocessorAvailable: WordBool readonly dispid 36;
  4676.     property MouseAvailable: WordBool readonly dispid 37;
  4677.     property International[Index: WdInternationalIndex]: OleVariant readonly dispid 46;
  4678.     property Build: WideString readonly dispid 47;
  4679.     property CapsLock: WordBool readonly dispid 48;
  4680.     property NumLock: WordBool readonly dispid 49;
  4681.     property UserName: WideString dispid 52;
  4682.     property UserInitials: WideString dispid 53;
  4683.     property UserAddress: WideString dispid 54;
  4684.     property MacroContainer: IDispatch readonly dispid 55;
  4685.     property DisplayRecentFiles: WordBool dispid 56;
  4686.     property CommandBars: CommandBars readonly dispid 57;
  4687.     property SynonymInfo[const Word: WideString; var LanguageID: OleVariant]: SynonymInfo readonly dispid 59;
  4688.     property VBE: VBE readonly dispid 61;
  4689.     property DefaultSaveFormat: WideString dispid 64;
  4690.     property ListGalleries: ListGalleries readonly dispid 65;
  4691.     property ActivePrinter: WideString dispid 66;
  4692.     property Templates: Templates readonly dispid 67;
  4693.     property CustomizationContext: IDispatch dispid 68;
  4694.     property KeyBindings: KeyBindings readonly dispid 69;
  4695.     property KeysBoundTo[KeyCategory: WdKeyCategory; const Command: WideString; 
  4696.                          var CommandParameter: OleVariant]: KeysBoundTo readonly dispid 70;
  4697.     property FindKey[KeyCode: Integer; var KeyCode2: OleVariant]: KeyBinding readonly dispid 71;
  4698.     property Caption: WideString dispid 80;
  4699.     property Path: WideString readonly dispid 81;
  4700.     property DisplayScrollBars: WordBool dispid 82;
  4701.     property StartupPath: WideString dispid 83;
  4702.     property BackgroundSavingStatus: Integer readonly dispid 85;
  4703.     property BackgroundPrintingStatus: Integer readonly dispid 86;
  4704.     property Left: Integer dispid 87;
  4705.     property Top: Integer dispid 88;
  4706.     property Width: Integer dispid 89;
  4707.     property Height: Integer dispid 90;
  4708.     property WindowState: WdWindowState dispid 91;
  4709.     property DisplayAutoCompleteTips: WordBool dispid 92;
  4710.     property Options: Options readonly dispid 93;
  4711.     property DisplayAlerts: WdAlertLevel dispid 94;
  4712.     property CustomDictionaries: Dictionaries readonly dispid 95;
  4713.     property PathSeparator: WideString readonly dispid 96;
  4714.     property StatusBar: WideString writeonly dispid 97;
  4715.     property MAPIAvailable: WordBool readonly dispid 98;
  4716.     property DisplayScreenTips: WordBool dispid 99;
  4717.     property EnableCancelKey: WdEnableCancelKey dispid 100;
  4718.     property UserControl: WordBool readonly dispid 101;
  4719.     property FileSearch: FileSearch readonly dispid 103;
  4720.     property MailSystem: WdMailSystem readonly dispid 104;
  4721.     property DefaultTableSeparator: WideString dispid 105;
  4722.     property ShowVisualBasicEditor: WordBool dispid 106;
  4723.     property BrowseExtraFileTypes: WideString dispid 108;
  4724.     property IsObjectValid[const Object_: IDispatch]: WordBool readonly dispid 109;
  4725.     property HangulHanjaDictionaries: HangulHanjaConversionDictionaries readonly dispid 110;
  4726.     property MailMessage: MailMessage readonly dispid 348;
  4727.     property FocusInMailHeader: WordBool readonly dispid 386;
  4728.     procedure Quit(var SaveChanges: OleVariant; var OriginalFormat: OleVariant; 
  4729.                    var RouteDocument: OleVariant); dispid 1105;
  4730.     procedure ScreenRefresh; dispid 301;
  4731.     procedure PrintOutOld(var Background: OleVariant; var Append: OleVariant; 
  4732.                           var Range: OleVariant; var OutputFileName: OleVariant; 
  4733.                           var From: OleVariant; var To_: OleVariant; var Item: OleVariant; 
  4734.                           var Copies: OleVariant; var Pages: OleVariant; var PageType: OleVariant; 
  4735.                           var PrintToFile: OleVariant; var Collate: OleVariant; 
  4736.                           var FileName: OleVariant; var ActivePrinterMacGX: OleVariant; 
  4737.                           var ManualDuplexPrint: OleVariant); dispid 302;
  4738.     procedure LookupNameProperties(const Name: WideString); dispid 303;
  4739.     procedure SubstituteFont(const UnavailableFont: WideString; const SubstituteFont: WideString); dispid 304;
  4740.     function Repeat_(var Times: OleVariant): WordBool; dispid 305;
  4741.     procedure DDEExecute(Channel: Integer; const Command: WideString); dispid 310;
  4742.     function DDEInitiate(const App: WideString; const Topic: WideString): Integer; dispid 311;
  4743.     procedure DDEPoke(Channel: Integer; const Item: WideString; const Data: WideString); dispid 312;
  4744.     function DDERequest(Channel: Integer; const Item: WideString): WideString; dispid 313;
  4745.     procedure DDETerminate(Channel: Integer); dispid 314;
  4746.     procedure DDETerminateAll; dispid 315;
  4747.     function BuildKeyCode(Arg1: WdKey; var Arg2: OleVariant; var Arg3: OleVariant; 
  4748.                           var Arg4: OleVariant): Integer; dispid 316;
  4749.     function KeyString(KeyCode: Integer; var KeyCode2: OleVariant): WideString; dispid 317;
  4750.     procedure OrganizerCopy(const Source: WideString; const Destination: WideString; 
  4751.                             const Name: WideString; Object_: WdOrganizerObject); dispid 318;
  4752.     procedure OrganizerDelete(const Source: WideString; const Name: WideString; 
  4753.                               Object_: WdOrganizerObject); dispid 319;
  4754.     procedure OrganizerRename(const Source: WideString; const Name: WideString; 
  4755.                               const NewName: WideString; Object_: WdOrganizerObject); dispid 320;
  4756.     procedure AddAddress(var TagID: {??PSafeArray} OleVariant; var Value: {??PSafeArray} OleVariant); dispid 321;
  4757.     function GetAddress(var Name: OleVariant; var AddressProperties: OleVariant; 
  4758.                         var UseAutoText: OleVariant; var DisplaySelectDialog: OleVariant; 
  4759.                         var SelectDialog: OleVariant; var CheckNamesDialog: OleVariant; 
  4760.                         var RecentAddressesChoice: OleVariant; var UpdateRecentAddresses: OleVariant): WideString; dispid 322;
  4761.     function CheckGrammar(const String_: WideString): WordBool; dispid 323;
  4762.     function CheckSpelling(const Word: WideString; var CustomDictionary: OleVariant; 
  4763.                            var IgnoreUppercase: OleVariant; var MainDictionary: OleVariant; 
  4764.                            var CustomDictionary2: OleVariant; var CustomDictionary3: OleVariant; 
  4765.                            var CustomDictionary4: OleVariant; var CustomDictionary5: OleVariant; 
  4766.                            var CustomDictionary6: OleVariant; var CustomDictionary7: OleVariant; 
  4767.                            var CustomDictionary8: OleVariant; var CustomDictionary9: OleVariant; 
  4768.                            var CustomDictionary10: OleVariant): WordBool; dispid 324;
  4769.     procedure ResetIgnoreAll; dispid 326;
  4770.     function GetSpellingSuggestions(const Word: WideString; var CustomDictionary: OleVariant; 
  4771.                                     var IgnoreUppercase: OleVariant; 
  4772.                                     var MainDictionary: OleVariant; var SuggestionMode: OleVariant; 
  4773.                                     var CustomDictionary2: OleVariant; 
  4774.                                     var CustomDictionary3: OleVariant; 
  4775.                                     var CustomDictionary4: OleVariant; 
  4776.                                     var CustomDictionary5: OleVariant; 
  4777.                                     var CustomDictionary6: OleVariant; 
  4778.                                     var CustomDictionary7: OleVariant; 
  4779.                                     var CustomDictionary8: OleVariant; 
  4780.                                     var CustomDictionary9: OleVariant; 
  4781.                                     var CustomDictionary10: OleVariant): SpellingSuggestions; dispid 327;
  4782.     procedure GoBack; dispid 328;
  4783.     procedure Help(var HelpType: OleVariant); dispid 329;
  4784.     procedure AutomaticChange; dispid 330;
  4785.     procedure ShowMe; dispid 331;
  4786.     procedure HelpTool; dispid 332;
  4787.     function NewWindow: Window_; dispid 345;
  4788.     procedure ListCommands(ListAllCommands: WordBool); dispid 346;
  4789.     procedure ShowClipboard; dispid 349;
  4790.     procedure OnTime(var When: OleVariant; const Name: WideString; var Tolerance: OleVariant); dispid 350;
  4791.     procedure NextLetter; dispid 351;
  4792.     function MountVolume(const Zone: WideString; const Server: WideString; 
  4793.                          const Volume: WideString; var User: OleVariant; 
  4794.                          var UserPassword: OleVariant; var VolumePassword: OleVariant): Smallint; dispid 353;
  4795.     function CleanString(const String_: WideString): WideString; dispid 354;
  4796.     procedure SendFax; dispid 356;
  4797.     procedure ChangeFileOpenDirectory(const Path: WideString); dispid 357;
  4798.     procedure RunOld(const MacroName: WideString); dispid 358;
  4799.     procedure GoForward; dispid 359;
  4800.     procedure Move(Left: Integer; Top: Integer); dispid 360;
  4801.     procedure Resize(Width: Integer; Height: Integer); dispid 361;
  4802.     function InchesToPoints(Inches: Single): Single; dispid 370;
  4803.     function CentimetersToPoints(Centimeters: Single): Single; dispid 371;
  4804.     function MillimetersToPoints(Millimeters: Single): Single; dispid 372;
  4805.     function PicasToPoints(Picas: Single): Single; dispid 373;
  4806.     function LinesToPoints(Lines: Single): Single; dispid 374;
  4807.     function PointsToInches(Points: Single): Single; dispid 380;
  4808.     function PointsToCentimeters(Points: Single): Single; dispid 381;
  4809.     function PointsToMillimeters(Points: Single): Single; dispid 382;
  4810.     function PointsToPicas(Points: Single): Single; dispid 383;
  4811.     function PointsToLines(Points: Single): Single; dispid 384;
  4812.     procedure Activate; dispid 385;
  4813.     function PointsToPixels(Points: Single; var fVertical: OleVariant): Single; dispid 387;
  4814.     function PixelsToPoints(Pixels: Single; var fVertical: OleVariant): Single; dispid 388;
  4815.     procedure KeyboardLatin; dispid 400;
  4816.     procedure KeyboardBidi; dispid 401;
  4817.     procedure ToggleKeyboard; dispid 402;
  4818.     function Keyboard(LangId: Integer): Integer; dispid 446;
  4819.     function ProductCode: WideString; dispid 404;
  4820.     function DefaultWebOptions: DefaultWebOptions; dispid 405;
  4821.     procedure DiscussionSupport(var Range: OleVariant; var cid: OleVariant; var piCSE: OleVariant); dispid 407;
  4822.     procedure SetDefaultTheme(const Name: WideString; DocumentType: WdDocumentMedium); dispid 414;
  4823.     function GetDefaultTheme(DocumentType: WdDocumentMedium): WideString; dispid 416;
  4824.     property EmailOptions: EmailOptions readonly dispid 389;
  4825.     property Language: MsoLanguageID readonly dispid 391;
  4826.     property COMAddIns: COMAddIns readonly dispid 111;
  4827.     property CheckLanguage: WordBool dispid 112;
  4828.     property LanguageSettings: LanguageSettings readonly dispid 403;
  4829.     property Dummy1: WordBool readonly dispid 406;
  4830.     property AnswerWizard: AnswerWizard readonly dispid 409;
  4831.     property FeatureInstall: MsoFeatureInstall dispid 447;
  4832.     procedure PrintOut(var Background: OleVariant; var Append: OleVariant; var Range: OleVariant; 
  4833.                        var OutputFileName: OleVariant; var From: OleVariant; var To_: OleVariant; 
  4834.                        var Item: OleVariant; var Copies: OleVariant; var Pages: OleVariant; 
  4835.                        var PageType: OleVariant; var PrintToFile: OleVariant; 
  4836.                        var Collate: OleVariant; var FileName: OleVariant; 
  4837.                        var ActivePrinterMacGX: OleVariant; var ManualDuplexPrint: OleVariant; 
  4838.                        var PrintZoomColumn: OleVariant; var PrintZoomRow: OleVariant; 
  4839.                        var PrintZoomPaperWidth: OleVariant; var PrintZoomPaperHeight: OleVariant); dispid 444;
  4840.     function Run(const MacroName: WideString; var varg1: OleVariant; var varg2: OleVariant; 
  4841.                  var varg3: OleVariant; var varg4: OleVariant; var varg5: OleVariant; 
  4842.                  var varg6: OleVariant; var varg7: OleVariant; var varg8: OleVariant; 
  4843.                  var varg9: OleVariant; var varg10: OleVariant; var varg11: OleVariant; 
  4844.                  var varg12: OleVariant; var varg13: OleVariant; var varg14: OleVariant; 
  4845.                  var varg15: OleVariant; var varg16: OleVariant; var varg17: OleVariant; 
  4846.                  var varg18: OleVariant; var varg19: OleVariant; var varg20: OleVariant; 
  4847.                  var varg21: OleVariant; var varg22: OleVariant; var varg23: OleVariant; 
  4848.                  var varg24: OleVariant; var varg25: OleVariant; var varg26: OleVariant; 
  4849.                  var varg27: OleVariant; var varg28: OleVariant; var varg29: OleVariant; 
  4850.                  var varg30: OleVariant): OleVariant; dispid 445;
  4851.   end;
  4852.  
  4853. // *********************************************************************//
  4854. // Interface: _Global
  4855. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  4856. // GUID:      {000209B9-0000-0000-C000-000000000046}
  4857. // *********************************************************************//
  4858.   _Global = interface(IDispatch)
  4859.     ['{000209B9-0000-0000-C000-000000000046}']
  4860.     function Get_Application_: Application_; safecall;
  4861.     function Get_Creator: Integer; safecall;
  4862.     function Get_Parent: IDispatch; safecall;
  4863.     function Get_Name: WideString; safecall;
  4864.     function Get_Documents: Documents; safecall;
  4865.     function Get_Windows: Windows; safecall;
  4866.     function Get_ActiveDocument: Document; safecall;
  4867.     function Get_ActiveWindow: Window_; safecall;
  4868.     function Get_Selection: Selection; safecall;
  4869.     function Get_WordBasic: IDispatch; safecall;
  4870.     function Get_PrintPreview: WordBool; safecall;
  4871.     procedure Set_PrintPreview(prop: WordBool); safecall;
  4872.     function Get_RecentFiles: RecentFiles; safecall;
  4873.     function Get_NormalTemplate: Template; safecall;
  4874.     function Get_System_: System_; safecall;
  4875.     function Get_AutoCorrect: AutoCorrect; safecall;
  4876.     function Get_FontNames: FontNames; safecall;
  4877.     function Get_LandscapeFontNames: FontNames; safecall;
  4878.     function Get_PortraitFontNames: FontNames; safecall;
  4879.     function Get_Languages: Languages; safecall;
  4880.     function Get_Assistant: Assistant; safecall;
  4881.     function Get_FileConverters: FileConverters; safecall;
  4882.     function Get_Dialogs: Dialogs; safecall;
  4883.     function Get_CaptionLabels: CaptionLabels; safecall;
  4884.     function Get_AutoCaptions: AutoCaptions; safecall;
  4885.     function Get_AddIns: AddIns; safecall;
  4886.     function Get_Tasks: Tasks; safecall;
  4887.     function Get_MacroContainer: IDispatch; safecall;
  4888.     function Get_CommandBars: CommandBars; safecall;
  4889.     function Get_SynonymInfo(const Word: WideString; var LanguageID: OleVariant): SynonymInfo; safecall;
  4890.     function Get_VBE: VBE; safecall;
  4891.     function Get_ListGalleries: ListGalleries; safecall;
  4892.     function Get_ActivePrinter: WideString; safecall;
  4893.     procedure Set_ActivePrinter(const prop: WideString); safecall;
  4894.     function Get_Templates: Templates; safecall;
  4895.     function Get_CustomizationContext: IDispatch; safecall;
  4896.     procedure Set_CustomizationContext(const prop: IDispatch); safecall;
  4897.     function Get_KeyBindings: KeyBindings; safecall;
  4898.     function Get_KeysBoundTo(KeyCategory: WdKeyCategory; const Command: WideString; 
  4899.                              var CommandParameter: OleVariant): KeysBoundTo; safecall;
  4900.     function Get_FindKey(KeyCode: Integer; var KeyCode2: OleVariant): KeyBinding; safecall;
  4901.     function Get_Options: Options; safecall;
  4902.     function Get_CustomDictionaries: Dictionaries; safecall;
  4903.     procedure Set_StatusBar(const Param1: WideString); safecall;
  4904.     function Get_ShowVisualBasicEditor: WordBool; safecall;
  4905.     procedure Set_ShowVisualBasicEditor(prop: WordBool); safecall;
  4906.     function Get_IsObjectValid(const Object_: IDispatch): WordBool; safecall;
  4907.     function Get_HangulHanjaDictionaries: HangulHanjaConversionDictionaries; safecall;
  4908.     function Repeat_(var Times: OleVariant): WordBool; safecall;
  4909.     procedure DDEExecute(Channel: Integer; const Command: WideString); safecall;
  4910.     function DDEInitiate(const App: WideString; const Topic: WideString): Integer; safecall;
  4911.     procedure DDEPoke(Channel: Integer; const Item: WideString; const Data: WideString); safecall;
  4912.     function DDERequest(Channel: Integer; const Item: WideString): WideString; safecall;
  4913.     procedure DDETerminate(Channel: Integer); safecall;
  4914.     procedure DDETerminateAll; safecall;
  4915.     function BuildKeyCode(Arg1: WdKey; var Arg2: OleVariant; var Arg3: OleVariant; 
  4916.                           var Arg4: OleVariant): Integer; safecall;
  4917.     function KeyString(KeyCode: Integer; var KeyCode2: OleVariant): WideString; safecall;
  4918.     function CheckSpelling(const Word: WideString; var CustomDictionary: OleVariant; 
  4919.                            var IgnoreUppercase: OleVariant; var MainDictionary: OleVariant; 
  4920.                            var CustomDictionary2: OleVariant; var CustomDictionary3: OleVariant; 
  4921.                            var CustomDictionary4: OleVariant; var CustomDictionary5: OleVariant; 
  4922.                            var CustomDictionary6: OleVariant; var CustomDictionary7: OleVariant; 
  4923.                            var CustomDictionary8: OleVariant; var CustomDictionary9: OleVariant; 
  4924.                            var CustomDictionary10: OleVariant): WordBool; safecall;
  4925.     function GetSpellingSuggestions(const Word: WideString; var CustomDictionary: OleVariant; 
  4926.                                     var IgnoreUppercase: OleVariant; 
  4927.                                     var MainDictionary: OleVariant; var SuggestionMode: OleVariant; 
  4928.                                     var CustomDictionary2: OleVariant; 
  4929.                                     var CustomDictionary3: OleVariant; 
  4930.                                     var CustomDictionary4: OleVariant; 
  4931.                                     var CustomDictionary5: OleVariant; 
  4932.                                     var CustomDictionary6: OleVariant; 
  4933.                                     var CustomDictionary7: OleVariant; 
  4934.                                     var CustomDictionary8: OleVariant; 
  4935.                                     var CustomDictionary9: OleVariant; 
  4936.                                     var CustomDictionary10: OleVariant): SpellingSuggestions; safecall;
  4937.     procedure Help(var HelpType: OleVariant); safecall;
  4938.     function NewWindow: Window_; safecall;
  4939.     function CleanString(const String_: WideString): WideString; safecall;
  4940.     procedure ChangeFileOpenDirectory(const Path: WideString); safecall;
  4941.     function InchesToPoints(Inches: Single): Single; safecall;
  4942.     function CentimetersToPoints(Centimeters: Single): Single; safecall;
  4943.     function MillimetersToPoints(Millimeters: Single): Single; safecall;
  4944.     function PicasToPoints(Picas: Single): Single; safecall;
  4945.     function LinesToPoints(Lines: Single): Single; safecall;
  4946.     function PointsToInches(Points: Single): Single; safecall;
  4947.     function PointsToCentimeters(Points: Single): Single; safecall;
  4948.     function PointsToMillimeters(Points: Single): Single; safecall;
  4949.     function PointsToPicas(Points: Single): Single; safecall;
  4950.     function PointsToLines(Points: Single): Single; safecall;
  4951.     function PointsToPixels(Points: Single; var fVertical: OleVariant): Single; safecall;
  4952.     function PixelsToPoints(Pixels: Single; var fVertical: OleVariant): Single; safecall;
  4953.     function Get_LanguageSettings: LanguageSettings; safecall;
  4954.     function Get_AnswerWizard: AnswerWizard; safecall;
  4955.     property Application_: Application_ read Get_Application_;
  4956.     property Creator: Integer read Get_Creator;
  4957.     property Parent: IDispatch read Get_Parent;
  4958.     property Name: WideString read Get_Name;
  4959.     property Documents: Documents read Get_Documents;
  4960.     property Windows: Windows read Get_Windows;
  4961.     property ActiveDocument: Document read Get_ActiveDocument;
  4962.     property ActiveWindow: Window_ read Get_ActiveWindow;
  4963.     property Selection: Selection read Get_Selection;
  4964.     property WordBasic: IDispatch read Get_WordBasic;
  4965.     property PrintPreview: WordBool read Get_PrintPreview write Set_PrintPreview;
  4966.     property RecentFiles: RecentFiles read Get_RecentFiles;
  4967.     property NormalTemplate: Template read Get_NormalTemplate;
  4968.     property System_: System_ read Get_System_;
  4969.     property AutoCorrect: AutoCorrect read Get_AutoCorrect;
  4970.     property FontNames: FontNames read Get_FontNames;
  4971.     property LandscapeFontNames: FontNames read Get_LandscapeFontNames;
  4972.     property PortraitFontNames: FontNames read Get_PortraitFontNames;
  4973.     property Languages: Languages read Get_Languages;
  4974.     property Assistant: Assistant read Get_Assistant;
  4975.     property FileConverters: FileConverters read Get_FileConverters;
  4976.     property Dialogs: Dialogs read Get_Dialogs;
  4977.     property CaptionLabels: CaptionLabels read Get_CaptionLabels;
  4978.     property AutoCaptions: AutoCaptions read Get_AutoCaptions;
  4979.     property AddIns: AddIns read Get_AddIns;
  4980.     property Tasks: Tasks read Get_Tasks;
  4981.     property MacroContainer: IDispatch read Get_MacroContainer;
  4982.     property CommandBars: CommandBars read Get_CommandBars;
  4983.     property SynonymInfo[const Word: WideString; var LanguageID: OleVariant]: SynonymInfo read Get_SynonymInfo;
  4984.     property VBE: VBE read Get_VBE;
  4985.     property ListGalleries: ListGalleries read Get_ListGalleries;
  4986.     property ActivePrinter: WideString read Get_ActivePrinter write Set_ActivePrinter;
  4987.     property Templates: Templates read Get_Templates;
  4988.     property CustomizationContext: IDispatch read Get_CustomizationContext write Set_CustomizationContext;
  4989.     property KeyBindings: KeyBindings read Get_KeyBindings;
  4990.     property KeysBoundTo[KeyCategory: WdKeyCategory; const Command: WideString; 
  4991.                          var CommandParameter: OleVariant]: KeysBoundTo read Get_KeysBoundTo;
  4992.     property FindKey[KeyCode: Integer; var KeyCode2: OleVariant]: KeyBinding read Get_FindKey;
  4993.     property Options: Options read Get_Options;
  4994.     property CustomDictionaries: Dictionaries read Get_CustomDictionaries;
  4995.     property StatusBar: WideString write Set_StatusBar;
  4996.     property ShowVisualBasicEditor: WordBool read Get_ShowVisualBasicEditor write Set_ShowVisualBasicEditor;
  4997.     property IsObjectValid[const Object_: IDispatch]: WordBool read Get_IsObjectValid;
  4998.     property HangulHanjaDictionaries: HangulHanjaConversionDictionaries read Get_HangulHanjaDictionaries;
  4999.     property LanguageSettings: LanguageSettings read Get_LanguageSettings;
  5000.     property AnswerWizard: AnswerWizard read Get_AnswerWizard;
  5001.   end;
  5002.  
  5003. // *********************************************************************//
  5004. // DispIntf:  _GlobalDisp
  5005. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  5006. // GUID:      {000209B9-0000-0000-C000-000000000046}
  5007. // *********************************************************************//
  5008.   _GlobalDisp = dispinterface
  5009.     ['{000209B9-0000-0000-C000-000000000046}']
  5010.     property Application_: Application_ readonly dispid 1000;
  5011.     property Creator: Integer readonly dispid 1001;
  5012.     property Parent: IDispatch readonly dispid 1002;
  5013.     property Name: WideString readonly dispid 0;
  5014.     property Documents: Documents readonly dispid 1;
  5015.     property Windows: Windows readonly dispid 2;
  5016.     property ActiveDocument: Document readonly dispid 3;
  5017.     property ActiveWindow: Window_ readonly dispid 4;
  5018.     property Selection: Selection readonly dispid 5;
  5019.     property WordBasic: IDispatch readonly dispid 6;
  5020.     property PrintPreview: WordBool dispid 27;
  5021.     property RecentFiles: RecentFiles readonly dispid 7;
  5022.     property NormalTemplate: Template readonly dispid 8;
  5023.     property System_: System_ readonly dispid 9;
  5024.     property AutoCorrect: AutoCorrect readonly dispid 10;
  5025.     property FontNames: FontNames readonly dispid 11;
  5026.     property LandscapeFontNames: FontNames readonly dispid 12;
  5027.     property PortraitFontNames: FontNames readonly dispid 13;
  5028.     property Languages: Languages readonly dispid 14;
  5029.     property Assistant: Assistant readonly dispid 15;
  5030.     property FileConverters: FileConverters readonly dispid 17;
  5031.     property Dialogs: Dialogs readonly dispid 19;
  5032.     property CaptionLabels: CaptionLabels readonly dispid 20;
  5033.     property AutoCaptions: AutoCaptions readonly dispid 21;
  5034.     property AddIns: AddIns readonly dispid 22;
  5035.     property Tasks: Tasks readonly dispid 28;
  5036.     property MacroContainer: IDispatch readonly dispid 55;
  5037.     property CommandBars: CommandBars readonly dispid 57;
  5038.     property SynonymInfo[const Word: WideString; var LanguageID: OleVariant]: SynonymInfo readonly dispid 59;
  5039.     property VBE: VBE readonly dispid 61;
  5040.     property ListGalleries: ListGalleries readonly dispid 65;
  5041.     property ActivePrinter: WideString dispid 66;
  5042.     property Templates: Templates readonly dispid 67;
  5043.     property CustomizationContext: IDispatch dispid 68;
  5044.     property KeyBindings: KeyBindings readonly dispid 69;
  5045.     property KeysBoundTo[KeyCategory: WdKeyCategory; const Command: WideString; 
  5046.                          var CommandParameter: OleVariant]: KeysBoundTo readonly dispid 70;
  5047.     property FindKey[KeyCode: Integer; var KeyCode2: OleVariant]: KeyBinding readonly dispid 71;
  5048.     property Options: Options readonly dispid 93;
  5049.     property CustomDictionaries: Dictionaries readonly dispid 95;
  5050.     property StatusBar: WideString writeonly dispid 97;
  5051.     property ShowVisualBasicEditor: WordBool dispid 104;
  5052.     property IsObjectValid[const Object_: IDispatch]: WordBool readonly dispid 109;
  5053.     property HangulHanjaDictionaries: HangulHanjaConversionDictionaries readonly dispid 110;
  5054.     function Repeat_(var Times: OleVariant): WordBool; dispid 305;
  5055.     procedure DDEExecute(Channel: Integer; const Command: WideString); dispid 310;
  5056.     function DDEInitiate(const App: WideString; const Topic: WideString): Integer; dispid 311;
  5057.     procedure DDEPoke(Channel: Integer; const Item: WideString; const Data: WideString); dispid 312;
  5058.     function DDERequest(Channel: Integer; const Item: WideString): WideString; dispid 313;
  5059.     procedure DDETerminate(Channel: Integer); dispid 314;
  5060.     procedure DDETerminateAll; dispid 315;
  5061.     function BuildKeyCode(Arg1: WdKey; var Arg2: OleVariant; var Arg3: OleVariant; 
  5062.                           var Arg4: OleVariant): Integer; dispid 316;
  5063.     function KeyString(KeyCode: Integer; var KeyCode2: OleVariant): WideString; dispid 317;
  5064.     function CheckSpelling(const Word: WideString; var CustomDictionary: OleVariant; 
  5065.                            var IgnoreUppercase: OleVariant; var MainDictionary: OleVariant; 
  5066.                            var CustomDictionary2: OleVariant; var CustomDictionary3: OleVariant; 
  5067.                            var CustomDictionary4: OleVariant; var CustomDictionary5: OleVariant; 
  5068.                            var CustomDictionary6: OleVariant; var CustomDictionary7: OleVariant; 
  5069.                            var CustomDictionary8: OleVariant; var CustomDictionary9: OleVariant; 
  5070.                            var CustomDictionary10: OleVariant): WordBool; dispid 324;
  5071.     function GetSpellingSuggestions(const Word: WideString; var CustomDictionary: OleVariant; 
  5072.                                     var IgnoreUppercase: OleVariant; 
  5073.                                     var MainDictionary: OleVariant; var SuggestionMode: OleVariant; 
  5074.                                     var CustomDictionary2: OleVariant; 
  5075.                                     var CustomDictionary3: OleVariant; 
  5076.                                     var CustomDictionary4: OleVariant; 
  5077.                                     var CustomDictionary5: OleVariant; 
  5078.                                     var CustomDictionary6: OleVariant; 
  5079.                                     var CustomDictionary7: OleVariant; 
  5080.                                     var CustomDictionary8: OleVariant; 
  5081.                                     var CustomDictionary9: OleVariant; 
  5082.                                     var CustomDictionary10: OleVariant): SpellingSuggestions; dispid 327;
  5083.     procedure Help(var HelpType: OleVariant); dispid 329;
  5084.     function NewWindow: Window_; dispid 345;
  5085.     function CleanString(const String_: WideString): WideString; dispid 354;
  5086.     procedure ChangeFileOpenDirectory(const Path: WideString); dispid 355;
  5087.     function InchesToPoints(Inches: Single): Single; dispid 370;
  5088.     function CentimetersToPoints(Centimeters: Single): Single; dispid 371;
  5089.     function MillimetersToPoints(Millimeters: Single): Single; dispid 372;
  5090.     function PicasToPoints(Picas: Single): Single; dispid 373;
  5091.     function LinesToPoints(Lines: Single): Single; dispid 374;
  5092.     function PointsToInches(Points: Single): Single; dispid 380;
  5093.     function PointsToCentimeters(Points: Single): Single; dispid 381;
  5094.     function PointsToMillimeters(Points: Single): Single; dispid 382;
  5095.     function PointsToPicas(Points: Single): Single; dispid 383;
  5096.     function PointsToLines(Points: Single): Single; dispid 384;
  5097.     function PointsToPixels(Points: Single; var fVertical: OleVariant): Single; dispid 385;
  5098.     function PixelsToPoints(Pixels: Single; var fVertical: OleVariant): Single; dispid 386;
  5099.     property LanguageSettings: LanguageSettings readonly dispid 111;
  5100.     property AnswerWizard: AnswerWizard readonly dispid 112;
  5101.   end;
  5102.  
  5103. // *********************************************************************//
  5104. // Interface: FontNames
  5105. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5106. // GUID:      {0002096F-0000-0000-C000-000000000046}
  5107. // *********************************************************************//
  5108.   FontNames = interface(IDispatch)
  5109.     ['{0002096F-0000-0000-C000-000000000046}']
  5110.     function Get__NewEnum: IUnknown; safecall;
  5111.     function Get_Count: Integer; safecall;
  5112.     function Get_Application_: Application_; safecall;
  5113.     function Get_Creator: Integer; safecall;
  5114.     function Get_Parent: IDispatch; safecall;
  5115.     function Item(Index: Integer): WideString; safecall;
  5116.     property _NewEnum: IUnknown read Get__NewEnum;
  5117.     property Count: Integer read Get_Count;
  5118.     property Application_: Application_ read Get_Application_;
  5119.     property Creator: Integer read Get_Creator;
  5120.     property Parent: IDispatch read Get_Parent;
  5121.   end;
  5122.  
  5123. // *********************************************************************//
  5124. // DispIntf:  FontNamesDisp
  5125. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5126. // GUID:      {0002096F-0000-0000-C000-000000000046}
  5127. // *********************************************************************//
  5128.   FontNamesDisp = dispinterface
  5129.     ['{0002096F-0000-0000-C000-000000000046}']
  5130.     property _NewEnum: IUnknown readonly dispid -4;
  5131.     property Count: Integer readonly dispid 2;
  5132.     property Application_: Application_ readonly dispid 1000;
  5133.     property Creator: Integer readonly dispid 1001;
  5134.     property Parent: IDispatch readonly dispid 1002;
  5135.     function Item(Index: Integer): WideString; dispid 0;
  5136.   end;
  5137.  
  5138. // *********************************************************************//
  5139. // Interface: Languages
  5140. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5141. // GUID:      {0002096E-0000-0000-C000-000000000046}
  5142. // *********************************************************************//
  5143.   Languages = interface(IDispatch)
  5144.     ['{0002096E-0000-0000-C000-000000000046}']
  5145.     function Get__NewEnum: IUnknown; safecall;
  5146.     function Get_Count: Integer; safecall;
  5147.     function Get_Application_: Application_; safecall;
  5148.     function Get_Creator: Integer; safecall;
  5149.     function Get_Parent: IDispatch; safecall;
  5150.     function Item(var Index: OleVariant): Language; safecall;
  5151.     property _NewEnum: IUnknown read Get__NewEnum;
  5152.     property Count: Integer read Get_Count;
  5153.     property Application_: Application_ read Get_Application_;
  5154.     property Creator: Integer read Get_Creator;
  5155.     property Parent: IDispatch read Get_Parent;
  5156.   end;
  5157.  
  5158. // *********************************************************************//
  5159. // DispIntf:  LanguagesDisp
  5160. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5161. // GUID:      {0002096E-0000-0000-C000-000000000046}
  5162. // *********************************************************************//
  5163.   LanguagesDisp = dispinterface
  5164.     ['{0002096E-0000-0000-C000-000000000046}']
  5165.     property _NewEnum: IUnknown readonly dispid -4;
  5166.     property Count: Integer readonly dispid 2;
  5167.     property Application_: Application_ readonly dispid 1000;
  5168.     property Creator: Integer readonly dispid 1001;
  5169.     property Parent: IDispatch readonly dispid 1002;
  5170.     function Item(var Index: OleVariant): Language; dispid 0;
  5171.   end;
  5172.  
  5173. // *********************************************************************//
  5174. // Interface: Language
  5175. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5176. // GUID:      {0002096D-0000-0000-C000-000000000046}
  5177. // *********************************************************************//
  5178.   Language = interface(IDispatch)
  5179.     ['{0002096D-0000-0000-C000-000000000046}']
  5180.     function Get_Application_: Application_; safecall;
  5181.     function Get_Creator: Integer; safecall;
  5182.     function Get_Parent: IDispatch; safecall;
  5183.     function Get_ID: WdLanguageID; safecall;
  5184.     function Get_NameLocal: WideString; safecall;
  5185.     function Get_Name: WideString; safecall;
  5186.     function Get_ActiveGrammarDictionary: Dictionary; safecall;
  5187.     function Get_ActiveHyphenationDictionary: Dictionary; safecall;
  5188.     function Get_ActiveSpellingDictionary: Dictionary; safecall;
  5189.     function Get_ActiveThesaurusDictionary: Dictionary; safecall;
  5190.     function Get_DefaultWritingStyle: WideString; safecall;
  5191.     procedure Set_DefaultWritingStyle(const prop: WideString); safecall;
  5192.     function Get_WritingStyleList: OleVariant; safecall;
  5193.     function Get_SpellingDictionaryType: WdDictionaryType; safecall;
  5194.     procedure Set_SpellingDictionaryType(prop: WdDictionaryType); safecall;
  5195.     property Application_: Application_ read Get_Application_;
  5196.     property Creator: Integer read Get_Creator;
  5197.     property Parent: IDispatch read Get_Parent;
  5198.     property ID: WdLanguageID read Get_ID;
  5199.     property NameLocal: WideString read Get_NameLocal;
  5200.     property Name: WideString read Get_Name;
  5201.     property ActiveGrammarDictionary: Dictionary read Get_ActiveGrammarDictionary;
  5202.     property ActiveHyphenationDictionary: Dictionary read Get_ActiveHyphenationDictionary;
  5203.     property ActiveSpellingDictionary: Dictionary read Get_ActiveSpellingDictionary;
  5204.     property ActiveThesaurusDictionary: Dictionary read Get_ActiveThesaurusDictionary;
  5205.     property DefaultWritingStyle: WideString read Get_DefaultWritingStyle write Set_DefaultWritingStyle;
  5206.     property WritingStyleList: OleVariant read Get_WritingStyleList;
  5207.     property SpellingDictionaryType: WdDictionaryType read Get_SpellingDictionaryType write Set_SpellingDictionaryType;
  5208.   end;
  5209.  
  5210. // *********************************************************************//
  5211. // DispIntf:  LanguageDisp
  5212. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5213. // GUID:      {0002096D-0000-0000-C000-000000000046}
  5214. // *********************************************************************//
  5215.   LanguageDisp = dispinterface
  5216.     ['{0002096D-0000-0000-C000-000000000046}']
  5217.     property Application_: Application_ readonly dispid 1000;
  5218.     property Creator: Integer readonly dispid 1001;
  5219.     property Parent: IDispatch readonly dispid 1002;
  5220.     property ID: WdLanguageID readonly dispid 10;
  5221.     property NameLocal: WideString readonly dispid 0;
  5222.     property Name: WideString readonly dispid 12;
  5223.     property ActiveGrammarDictionary: Dictionary readonly dispid 13;
  5224.     property ActiveHyphenationDictionary: Dictionary readonly dispid 14;
  5225.     property ActiveSpellingDictionary: Dictionary readonly dispid 15;
  5226.     property ActiveThesaurusDictionary: Dictionary readonly dispid 16;
  5227.     property DefaultWritingStyle: WideString dispid 17;
  5228.     property WritingStyleList: OleVariant readonly dispid 18;
  5229.     property SpellingDictionaryType: WdDictionaryType dispid 19;
  5230.   end;
  5231.  
  5232. // *********************************************************************//
  5233. // Interface: Documents
  5234. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5235. // GUID:      {0002096C-0000-0000-C000-000000000046}
  5236. // *********************************************************************//
  5237.   Documents = interface(IDispatch)
  5238.     ['{0002096C-0000-0000-C000-000000000046}']
  5239.     function Get__NewEnum: IUnknown; safecall;
  5240.     function Get_Count: Integer; safecall;
  5241.     function Get_Application_: Application_; safecall;
  5242.     function Get_Creator: Integer; safecall;
  5243.     function Get_Parent: IDispatch; safecall;
  5244.     function Item(var Index: OleVariant): Document; safecall;
  5245.     procedure Close(var SaveChanges: OleVariant; var OriginalFormat: OleVariant; 
  5246.                     var RouteDocument: OleVariant); safecall;
  5247.     function AddOld(var Template: OleVariant; var NewTemplate: OleVariant): Document; safecall;
  5248.     function OpenOld(var FileName: OleVariant; var ConfirmConversions: OleVariant; 
  5249.                      var ReadOnly: OleVariant; var AddToRecentFiles: OleVariant; 
  5250.                      var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  5251.                      var Revert: OleVariant; var WritePasswordDocument: OleVariant; 
  5252.                      var WritePasswordTemplate: OleVariant; var Format: OleVariant): Document; safecall;
  5253.     procedure Save(var NoPrompt: OleVariant; var OriginalFormat: OleVariant); safecall;
  5254.     function Add(var Template: OleVariant; var NewTemplate: OleVariant; 
  5255.                  var DocumentType: OleVariant; var Visible: OleVariant): Document; safecall;
  5256.     function Open(var FileName: OleVariant; var ConfirmConversions: OleVariant; 
  5257.                   var ReadOnly: OleVariant; var AddToRecentFiles: OleVariant; 
  5258.                   var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  5259.                   var Revert: OleVariant; var WritePasswordDocument: OleVariant; 
  5260.                   var WritePasswordTemplate: OleVariant; var Format: OleVariant; 
  5261.                   var Encoding: OleVariant; var Visible: OleVariant): Document; safecall;
  5262.     property _NewEnum: IUnknown read Get__NewEnum;
  5263.     property Count: Integer read Get_Count;
  5264.     property Application_: Application_ read Get_Application_;
  5265.     property Creator: Integer read Get_Creator;
  5266.     property Parent: IDispatch read Get_Parent;
  5267.   end;
  5268.  
  5269. // *********************************************************************//
  5270. // DispIntf:  DocumentsDisp
  5271. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5272. // GUID:      {0002096C-0000-0000-C000-000000000046}
  5273. // *********************************************************************//
  5274.   DocumentsDisp = dispinterface
  5275.     ['{0002096C-0000-0000-C000-000000000046}']
  5276.     property _NewEnum: IUnknown readonly dispid -4;
  5277.     property Count: Integer readonly dispid 2;
  5278.     property Application_: Application_ readonly dispid 1000;
  5279.     property Creator: Integer readonly dispid 1001;
  5280.     property Parent: IDispatch readonly dispid 1002;
  5281.     function Item(var Index: OleVariant): Document; dispid 0;
  5282.     procedure Close(var SaveChanges: OleVariant; var OriginalFormat: OleVariant; 
  5283.                     var RouteDocument: OleVariant); dispid 1105;
  5284.     function AddOld(var Template: OleVariant; var NewTemplate: OleVariant): Document; dispid 11;
  5285.     function OpenOld(var FileName: OleVariant; var ConfirmConversions: OleVariant; 
  5286.                      var ReadOnly: OleVariant; var AddToRecentFiles: OleVariant; 
  5287.                      var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  5288.                      var Revert: OleVariant; var WritePasswordDocument: OleVariant; 
  5289.                      var WritePasswordTemplate: OleVariant; var Format: OleVariant): Document; dispid 12;
  5290.     procedure Save(var NoPrompt: OleVariant; var OriginalFormat: OleVariant); dispid 13;
  5291.     function Add(var Template: OleVariant; var NewTemplate: OleVariant; 
  5292.                  var DocumentType: OleVariant; var Visible: OleVariant): Document; dispid 14;
  5293.     function Open(var FileName: OleVariant; var ConfirmConversions: OleVariant; 
  5294.                   var ReadOnly: OleVariant; var AddToRecentFiles: OleVariant; 
  5295.                   var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  5296.                   var Revert: OleVariant; var WritePasswordDocument: OleVariant; 
  5297.                   var WritePasswordTemplate: OleVariant; var Format: OleVariant; 
  5298.                   var Encoding: OleVariant; var Visible: OleVariant): Document; dispid 15;
  5299.   end;
  5300.  
  5301. // *********************************************************************//
  5302. // Interface: _Document
  5303. // Flags:     (4432) Hidden Dual OleAutomation Dispatchable
  5304. // GUID:      {0002096B-0000-0000-C000-000000000046}
  5305. // *********************************************************************//
  5306.   _Document = interface(IDispatch)
  5307.     ['{0002096B-0000-0000-C000-000000000046}']
  5308.     function Get_Name: WideString; safecall;
  5309.     function Get_Application_: Application_; safecall;
  5310.     function Get_Creator: Integer; safecall;
  5311.     function Get_Parent: IDispatch; safecall;
  5312.     function Get_BuiltInDocumentProperties: IDispatch; safecall;
  5313.     function Get_CustomDocumentProperties: IDispatch; safecall;
  5314.     function Get_Path: WideString; safecall;
  5315.     function Get_Bookmarks: Bookmarks; safecall;
  5316.     function Get_Tables: Tables; safecall;
  5317.     function Get_Footnotes: Footnotes; safecall;
  5318.     function Get_Endnotes: Endnotes; safecall;
  5319.     function Get_Comments: Comments; safecall;
  5320.     function Get_Type_: WdDocumentType; safecall;
  5321.     function Get_AutoHyphenation: WordBool; safecall;
  5322.     procedure Set_AutoHyphenation(prop: WordBool); safecall;
  5323.     function Get_HyphenateCaps: WordBool; safecall;
  5324.     procedure Set_HyphenateCaps(prop: WordBool); safecall;
  5325.     function Get_HyphenationZone: Integer; safecall;
  5326.     procedure Set_HyphenationZone(prop: Integer); safecall;
  5327.     function Get_ConsecutiveHyphensLimit: Integer; safecall;
  5328.     procedure Set_ConsecutiveHyphensLimit(prop: Integer); safecall;
  5329.     function Get_Sections: Sections; safecall;
  5330.     function Get_Paragraphs: Paragraphs; safecall;
  5331.     function Get_Words: Words; safecall;
  5332.     function Get_Sentences: Sentences; safecall;
  5333.     function Get_Characters: Characters; safecall;
  5334.     function Get_Fields: Fields; safecall;
  5335.     function Get_FormFields: FormFields; safecall;
  5336.     function Get_Styles: Styles; safecall;
  5337.     function Get_Frames: Frames; safecall;
  5338.     function Get_TablesOfFigures: TablesOfFigures; safecall;
  5339.     function Get_Variables: Variables; safecall;
  5340.     function Get_MailMerge: MailMerge; safecall;
  5341.     function Get_Envelope: Envelope; safecall;
  5342.     function Get_FullName: WideString; safecall;
  5343.     function Get_Revisions: Revisions; safecall;
  5344.     function Get_TablesOfContents: TablesOfContents; safecall;
  5345.     function Get_TablesOfAuthorities: TablesOfAuthorities; safecall;
  5346.     function Get_PageSetup: PageSetup; safecall;
  5347.     procedure Set_PageSetup(const prop: PageSetup); safecall;
  5348.     function Get_Windows: Windows; safecall;
  5349.     function Get_HasRoutingSlip: WordBool; safecall;
  5350.     procedure Set_HasRoutingSlip(prop: WordBool); safecall;
  5351.     function Get_RoutingSlip: RoutingSlip; safecall;
  5352.     function Get_Routed: WordBool; safecall;
  5353.     function Get_TablesOfAuthoritiesCategories: TablesOfAuthoritiesCategories; safecall;
  5354.     function Get_Indexes: Indexes; safecall;
  5355.     function Get_Saved: WordBool; safecall;
  5356.     procedure Set_Saved(prop: WordBool); safecall;
  5357.     function Get_Content: Range; safecall;
  5358.     function Get_ActiveWindow: Window_; safecall;
  5359.     function Get_Kind: WdDocumentKind; safecall;
  5360.     procedure Set_Kind(prop: WdDocumentKind); safecall;
  5361.     function Get_ReadOnly: WordBool; safecall;
  5362.     function Get_Subdocuments: Subdocuments; safecall;
  5363.     function Get_IsMasterDocument: WordBool; safecall;
  5364.     function Get_DefaultTabStop: Single; safecall;
  5365.     procedure Set_DefaultTabStop(prop: Single); safecall;
  5366.     function Get_EmbedTrueTypeFonts: WordBool; safecall;
  5367.     procedure Set_EmbedTrueTypeFonts(prop: WordBool); safecall;
  5368.     function Get_SaveFormsData: WordBool; safecall;
  5369.     procedure Set_SaveFormsData(prop: WordBool); safecall;
  5370.     function Get_ReadOnlyRecommended: WordBool; safecall;
  5371.     procedure Set_ReadOnlyRecommended(prop: WordBool); safecall;
  5372.     function Get_SaveSubsetFonts: WordBool; safecall;
  5373.     procedure Set_SaveSubsetFonts(prop: WordBool); safecall;
  5374.     function Get_Compatibility(Type_: WdCompatibility): WordBool; safecall;
  5375.     procedure Set_Compatibility(Type_: WdCompatibility; prop: WordBool); safecall;
  5376.     function Get_StoryRanges: StoryRanges; safecall;
  5377.     function Get_CommandBars: CommandBars; safecall;
  5378.     function Get_IsSubdocument: WordBool; safecall;
  5379.     function Get_SaveFormat: Integer; safecall;
  5380.     function Get_ProtectionType: WdProtectionType; safecall;
  5381.     function Get_Hyperlinks: Hyperlinks; safecall;
  5382.     function Get_Shapes: Shapes; safecall;
  5383.     function Get_ListTemplates: ListTemplates; safecall;
  5384.     function Get_Lists: Lists; safecall;
  5385.     function Get_UpdateStylesOnOpen: WordBool; safecall;
  5386.     procedure Set_UpdateStylesOnOpen(prop: WordBool); safecall;
  5387.     function Get_AttachedTemplate: OleVariant; safecall;
  5388.     procedure Set_AttachedTemplate(var prop: OleVariant); safecall;
  5389.     function Get_InlineShapes: InlineShapes; safecall;
  5390.     function Get_Background: Shape; safecall;
  5391.     procedure Set_Background(const prop: Shape); safecall;
  5392.     function Get_GrammarChecked: WordBool; safecall;
  5393.     procedure Set_GrammarChecked(prop: WordBool); safecall;
  5394.     function Get_SpellingChecked: WordBool; safecall;
  5395.     procedure Set_SpellingChecked(prop: WordBool); safecall;
  5396.     function Get_ShowGrammaticalErrors: WordBool; safecall;
  5397.     procedure Set_ShowGrammaticalErrors(prop: WordBool); safecall;
  5398.     function Get_ShowSpellingErrors: WordBool; safecall;
  5399.     procedure Set_ShowSpellingErrors(prop: WordBool); safecall;
  5400.     function Get_Versions: Versions; safecall;
  5401.     function Get_ShowSummary: WordBool; safecall;
  5402.     procedure Set_ShowSummary(prop: WordBool); safecall;
  5403.     function Get_SummaryViewMode: WdSummaryMode; safecall;
  5404.     procedure Set_SummaryViewMode(prop: WdSummaryMode); safecall;
  5405.     function Get_SummaryLength: Integer; safecall;
  5406.     procedure Set_SummaryLength(prop: Integer); safecall;
  5407.     function Get_PrintFractionalWidths: WordBool; safecall;
  5408.     procedure Set_PrintFractionalWidths(prop: WordBool); safecall;
  5409.     function Get_PrintPostScriptOverText: WordBool; safecall;
  5410.     procedure Set_PrintPostScriptOverText(prop: WordBool); safecall;
  5411.     function Get_Container: IDispatch; safecall;
  5412.     function Get_PrintFormsData: WordBool; safecall;
  5413.     procedure Set_PrintFormsData(prop: WordBool); safecall;
  5414.     function Get_ListParagraphs: ListParagraphs; safecall;
  5415.     procedure Set_Password(const Param1: WideString); safecall;
  5416.     procedure Set_WritePassword(const Param1: WideString); safecall;
  5417.     function Get_HasPassword: WordBool; safecall;
  5418.     function Get_WriteReserved: WordBool; safecall;
  5419.     function Get_ActiveWritingStyle(var LanguageID: OleVariant): WideString; safecall;
  5420.     procedure Set_ActiveWritingStyle(var LanguageID: OleVariant; const prop: WideString); safecall;
  5421.     function Get_UserControl: WordBool; safecall;
  5422.     procedure Set_UserControl(prop: WordBool); safecall;
  5423.     function Get_HasMailer: WordBool; safecall;
  5424.     procedure Set_HasMailer(prop: WordBool); safecall;
  5425.     function Get_Mailer: Mailer; safecall;
  5426.     function Get_ReadabilityStatistics: ReadabilityStatistics; safecall;
  5427.     function Get_GrammaticalErrors: ProofreadingErrors; safecall;
  5428.     function Get_SpellingErrors: ProofreadingErrors; safecall;
  5429.     function Get_VBProject: VBProject; safecall;
  5430.     function Get_FormsDesign: WordBool; safecall;
  5431.     function Get__CodeName: WideString; safecall;
  5432.     procedure Set__CodeName(const prop: WideString); safecall;
  5433.     function Get_CodeName: WideString; safecall;
  5434.     function Get_SnapToGrid: WordBool; safecall;
  5435.     procedure Set_SnapToGrid(prop: WordBool); safecall;
  5436.     function Get_SnapToShapes: WordBool; safecall;
  5437.     procedure Set_SnapToShapes(prop: WordBool); safecall;
  5438.     function Get_GridDistanceHorizontal: Single; safecall;
  5439.     procedure Set_GridDistanceHorizontal(prop: Single); safecall;
  5440.     function Get_GridDistanceVertical: Single; safecall;
  5441.     procedure Set_GridDistanceVertical(prop: Single); safecall;
  5442.     function Get_GridOriginHorizontal: Single; safecall;
  5443.     procedure Set_GridOriginHorizontal(prop: Single); safecall;
  5444.     function Get_GridOriginVertical: Single; safecall;
  5445.     procedure Set_GridOriginVertical(prop: Single); safecall;
  5446.     function Get_GridSpaceBetweenHorizontalLines: Integer; safecall;
  5447.     procedure Set_GridSpaceBetweenHorizontalLines(prop: Integer); safecall;
  5448.     function Get_GridSpaceBetweenVerticalLines: Integer; safecall;
  5449.     procedure Set_GridSpaceBetweenVerticalLines(prop: Integer); safecall;
  5450.     function Get_GridOriginFromMargin: WordBool; safecall;
  5451.     procedure Set_GridOriginFromMargin(prop: WordBool); safecall;
  5452.     function Get_KerningByAlgorithm: WordBool; safecall;
  5453.     procedure Set_KerningByAlgorithm(prop: WordBool); safecall;
  5454.     function Get_JustificationMode: WdJustificationMode; safecall;
  5455.     procedure Set_JustificationMode(prop: WdJustificationMode); safecall;
  5456.     function Get_FarEastLineBreakLevel: WdFarEastLineBreakLevel; safecall;
  5457.     procedure Set_FarEastLineBreakLevel(prop: WdFarEastLineBreakLevel); safecall;
  5458.     function Get_NoLineBreakBefore: WideString; safecall;
  5459.     procedure Set_NoLineBreakBefore(const prop: WideString); safecall;
  5460.     function Get_NoLineBreakAfter: WideString; safecall;
  5461.     procedure Set_NoLineBreakAfter(const prop: WideString); safecall;
  5462.     function Get_TrackRevisions: WordBool; safecall;
  5463.     procedure Set_TrackRevisions(prop: WordBool); safecall;
  5464.     function Get_PrintRevisions: WordBool; safecall;
  5465.     procedure Set_PrintRevisions(prop: WordBool); safecall;
  5466.     function Get_ShowRevisions: WordBool; safecall;
  5467.     procedure Set_ShowRevisions(prop: WordBool); safecall;
  5468.     procedure Close(var SaveChanges: OleVariant; var OriginalFormat: OleVariant; 
  5469.                     var RouteDocument: OleVariant); safecall;
  5470.     procedure SaveAs(var FileName: OleVariant; var FileFormat: OleVariant; 
  5471.                      var LockComments: OleVariant; var Password: OleVariant; 
  5472.                      var AddToRecentFiles: OleVariant; var WritePassword: OleVariant; 
  5473.                      var ReadOnlyRecommended: OleVariant; var EmbedTrueTypeFonts: OleVariant; 
  5474.                      var SaveNativePictureFormat: OleVariant; var SaveFormsData: OleVariant; 
  5475.                      var SaveAsAOCELetter: OleVariant); safecall;
  5476.     procedure Repaginate; safecall;
  5477.     procedure FitToPages; safecall;
  5478.     procedure ManualHyphenation; safecall;
  5479.     procedure Select; safecall;
  5480.     procedure DataForm; safecall;
  5481.     procedure Route; safecall;
  5482.     procedure Save; safecall;
  5483.     procedure PrintOutOld(var Background: OleVariant; var Append: OleVariant; 
  5484.                           var Range: OleVariant; var OutputFileName: OleVariant; 
  5485.                           var From: OleVariant; var To_: OleVariant; var Item: OleVariant; 
  5486.                           var Copies: OleVariant; var Pages: OleVariant; var PageType: OleVariant; 
  5487.                           var PrintToFile: OleVariant; var Collate: OleVariant; 
  5488.                           var ActivePrinterMacGX: OleVariant; var ManualDuplexPrint: OleVariant); safecall;
  5489.     procedure SendMail; safecall;
  5490.     function Range(var Start: OleVariant; var End_: OleVariant): Range; safecall;
  5491.     procedure RunAutoMacro(Which: WdAutoMacros); safecall;
  5492.     procedure Activate; safecall;
  5493.     procedure PrintPreview; safecall;
  5494.     function GoTo_(var What: OleVariant; var Which: OleVariant; var Count: OleVariant; 
  5495.                    var Name: OleVariant): Range; safecall;
  5496.     function Undo(var Times: OleVariant): WordBool; safecall;
  5497.     function Redo(var Times: OleVariant): WordBool; safecall;
  5498.     function ComputeStatistics(Statistic: WdStatistic; var IncludeFootnotesAndEndnotes: OleVariant): Integer; safecall;
  5499.     procedure MakeCompatibilityDefault; safecall;
  5500.     procedure Protect(Type_: WdProtectionType; var NoReset: OleVariant; var Password: OleVariant); safecall;
  5501.     procedure Unprotect(var Password: OleVariant); safecall;
  5502.     procedure EditionOptions(Type_: WdEditionType; Option: WdEditionOption; const Name: WideString; 
  5503.                              var Format: OleVariant); safecall;
  5504.     procedure RunLetterWizard(var LetterContent: OleVariant; var WizardMode: OleVariant); safecall;
  5505.     function GetLetterContent: LetterContent; safecall;
  5506.     procedure SetLetterContent(var LetterContent: OleVariant); safecall;
  5507.     procedure CopyStylesFromTemplate(const Template: WideString); safecall;
  5508.     procedure UpdateStyles; safecall;
  5509.     procedure CheckGrammar; safecall;
  5510.     procedure CheckSpelling(var CustomDictionary: OleVariant; var IgnoreUppercase: OleVariant; 
  5511.                             var AlwaysSuggest: OleVariant; var CustomDictionary2: OleVariant; 
  5512.                             var CustomDictionary3: OleVariant; var CustomDictionary4: OleVariant; 
  5513.                             var CustomDictionary5: OleVariant; var CustomDictionary6: OleVariant; 
  5514.                             var CustomDictionary7: OleVariant; var CustomDictionary8: OleVariant; 
  5515.                             var CustomDictionary9: OleVariant; var CustomDictionary10: OleVariant); safecall;
  5516.     procedure FollowHyperlink(var Address: OleVariant; var SubAddress: OleVariant; 
  5517.                               var NewWindow: OleVariant; var AddHistory: OleVariant; 
  5518.                               var ExtraInfo: OleVariant; var Method: OleVariant; 
  5519.                               var HeaderInfo: OleVariant); safecall;
  5520.     procedure AddToFavorites; safecall;
  5521.     procedure Reload; safecall;
  5522.     function AutoSummarize(var Length: OleVariant; var Mode: OleVariant; 
  5523.                            var UpdateProperties: OleVariant): Range; safecall;
  5524.     procedure RemoveNumbers(var NumberType: OleVariant); safecall;
  5525.     procedure ConvertNumbersToText(var NumberType: OleVariant); safecall;
  5526.     function CountNumberedItems(var NumberType: OleVariant; var Level: OleVariant): Integer; safecall;
  5527.     procedure Post; safecall;
  5528.     procedure ToggleFormsDesign; safecall;
  5529.     procedure Compare(const Name: WideString); safecall;
  5530.     procedure UpdateSummaryProperties; safecall;
  5531.     function GetCrossReferenceItems(var ReferenceType: OleVariant): OleVariant; safecall;
  5532.     procedure AutoFormat; safecall;
  5533.     procedure ViewCode; safecall;
  5534.     procedure ViewPropertyBrowser; safecall;
  5535.     procedure ForwardMailer; safecall;
  5536.     procedure Reply; safecall;
  5537.     procedure ReplyAll; safecall;
  5538.     procedure SendMailer(var FileFormat: OleVariant; var Priority: OleVariant); safecall;
  5539.     procedure UndoClear; safecall;
  5540.     procedure PresentIt; safecall;
  5541.     procedure SendFax(const Address: WideString; var Subject: OleVariant); safecall;
  5542.     procedure Merge(const FileName: WideString); safecall;
  5543.     procedure ClosePrintPreview; safecall;
  5544.     procedure CheckConsistency; safecall;
  5545.     function CreateLetterContent(const DateFormat: WideString; IncludeHeaderFooter: WordBool; 
  5546.                                  const PageDesign: WideString; LetterStyle: WdLetterStyle; 
  5547.                                  Letterhead: WordBool; LetterheadLocation: WdLetterheadLocation; 
  5548.                                  LetterheadSize: Single; const RecipientName: WideString; 
  5549.                                  const RecipientAddress: WideString; const Salutation: WideString; 
  5550.                                  SalutationType: WdSalutationType; 
  5551.                                  const RecipientReference: WideString; 
  5552.                                  const MailingInstructions: WideString; 
  5553.                                  const AttentionLine: WideString; const Subject: WideString; 
  5554.                                  const CCList: WideString; const ReturnAddress: WideString; 
  5555.                                  const SenderName: WideString; const Closing: WideString; 
  5556.                                  const SenderCompany: WideString; const SenderJobTitle: WideString; 
  5557.                                  const SenderInitials: WideString; EnclosureNumber: Integer; 
  5558.                                  var InfoBlock: OleVariant; var RecipientCode: OleVariant; 
  5559.                                  var RecipientGender: OleVariant; 
  5560.                                  var ReturnAddressShortForm: OleVariant; 
  5561.                                  var SenderCity: OleVariant; var SenderCode: OleVariant; 
  5562.                                  var SenderGender: OleVariant; var SenderReference: OleVariant): LetterContent; safecall;
  5563.     procedure AcceptAllRevisions; safecall;
  5564.     procedure RejectAllRevisions; safecall;
  5565.     procedure DetectLanguage; safecall;
  5566.     procedure ApplyTheme(const Name: WideString); safecall;
  5567.     procedure RemoveTheme; safecall;
  5568.     procedure WebPagePreview; safecall;
  5569.     procedure ReloadAs(Encoding: MsoEncoding); safecall;
  5570.     function Get_ActiveTheme: WideString; safecall;
  5571.     function Get_ActiveThemeDisplayName: WideString; safecall;
  5572.     function Get_Email: Email; safecall;
  5573.     function Get_Scripts: Scripts; safecall;
  5574.     function Get_LanguageDetected: WordBool; safecall;
  5575.     procedure Set_LanguageDetected(prop: WordBool); safecall;
  5576.     function Get_FarEastLineBreakLanguage: WdFarEastLineBreakLanguageID; safecall;
  5577.     procedure Set_FarEastLineBreakLanguage(prop: WdFarEastLineBreakLanguageID); safecall;
  5578.     function Get_Frameset: Frameset; safecall;
  5579.     function Get_ClickAndTypeParagraphStyle: OleVariant; safecall;
  5580.     procedure Set_ClickAndTypeParagraphStyle(var prop: OleVariant); safecall;
  5581.     function Get_HTMLProject: HTMLProject; safecall;
  5582.     function Get_WebOptions: WebOptions; safecall;
  5583.     function Get_OpenEncoding: MsoEncoding; safecall;
  5584.     function Get_SaveEncoding: MsoEncoding; safecall;
  5585.     procedure Set_SaveEncoding(prop: MsoEncoding); safecall;
  5586.     function Get_OptimizeForWord97: WordBool; safecall;
  5587.     procedure Set_OptimizeForWord97(prop: WordBool); safecall;
  5588.     function Get_VBASigned: WordBool; safecall;
  5589.     procedure PrintOut(var Background: OleVariant; var Append: OleVariant; var Range: OleVariant; 
  5590.                        var OutputFileName: OleVariant; var From: OleVariant; var To_: OleVariant; 
  5591.                        var Item: OleVariant; var Copies: OleVariant; var Pages: OleVariant; 
  5592.                        var PageType: OleVariant; var PrintToFile: OleVariant; 
  5593.                        var Collate: OleVariant; var ActivePrinterMacGX: OleVariant; 
  5594.                        var ManualDuplexPrint: OleVariant; var PrintZoomColumn: OleVariant; 
  5595.                        var PrintZoomRow: OleVariant; var PrintZoomPaperWidth: OleVariant; 
  5596.                        var PrintZoomPaperHeight: OleVariant); safecall;
  5597.     procedure sblt(const s: WideString); safecall;
  5598.     property Name: WideString read Get_Name;
  5599.     property Application_: Application_ read Get_Application_;
  5600.     property Creator: Integer read Get_Creator;
  5601.     property Parent: IDispatch read Get_Parent;
  5602.     property BuiltInDocumentProperties: IDispatch read Get_BuiltInDocumentProperties;
  5603.     property CustomDocumentProperties: IDispatch read Get_CustomDocumentProperties;
  5604.     property Path: WideString read Get_Path;
  5605.     property Bookmarks: Bookmarks read Get_Bookmarks;
  5606.     property Tables: Tables read Get_Tables;
  5607.     property Footnotes: Footnotes read Get_Footnotes;
  5608.     property Endnotes: Endnotes read Get_Endnotes;
  5609.     property Comments: Comments read Get_Comments;
  5610.     property Type_: WdDocumentType read Get_Type_;
  5611.     property AutoHyphenation: WordBool read Get_AutoHyphenation write Set_AutoHyphenation;
  5612.     property HyphenateCaps: WordBool read Get_HyphenateCaps write Set_HyphenateCaps;
  5613.     property HyphenationZone: Integer read Get_HyphenationZone write Set_HyphenationZone;
  5614.     property ConsecutiveHyphensLimit: Integer read Get_ConsecutiveHyphensLimit write Set_ConsecutiveHyphensLimit;
  5615.     property Sections: Sections read Get_Sections;
  5616.     property Paragraphs: Paragraphs read Get_Paragraphs;
  5617.     property Words: Words read Get_Words;
  5618.     property Sentences: Sentences read Get_Sentences;
  5619.     property Characters: Characters read Get_Characters;
  5620.     property Fields: Fields read Get_Fields;
  5621.     property FormFields: FormFields read Get_FormFields;
  5622.     property Styles: Styles read Get_Styles;
  5623.     property Frames: Frames read Get_Frames;
  5624.     property TablesOfFigures: TablesOfFigures read Get_TablesOfFigures;
  5625.     property Variables: Variables read Get_Variables;
  5626.     property MailMerge: MailMerge read Get_MailMerge;
  5627.     property Envelope: Envelope read Get_Envelope;
  5628.     property FullName: WideString read Get_FullName;
  5629.     property Revisions: Revisions read Get_Revisions;
  5630.     property TablesOfContents: TablesOfContents read Get_TablesOfContents;
  5631.     property TablesOfAuthorities: TablesOfAuthorities read Get_TablesOfAuthorities;
  5632.     property PageSetup: PageSetup read Get_PageSetup write Set_PageSetup;
  5633.     property Windows: Windows read Get_Windows;
  5634.     property HasRoutingSlip: WordBool read Get_HasRoutingSlip write Set_HasRoutingSlip;
  5635.     property RoutingSlip: RoutingSlip read Get_RoutingSlip;
  5636.     property Routed: WordBool read Get_Routed;
  5637.     property TablesOfAuthoritiesCategories: TablesOfAuthoritiesCategories read Get_TablesOfAuthoritiesCategories;
  5638.     property Indexes: Indexes read Get_Indexes;
  5639.     property Saved: WordBool read Get_Saved write Set_Saved;
  5640.     property Content: Range read Get_Content;
  5641.     property ActiveWindow: Window_ read Get_ActiveWindow;
  5642.     property Kind: WdDocumentKind read Get_Kind write Set_Kind;
  5643.     property ReadOnly: WordBool read Get_ReadOnly;
  5644.     property Subdocuments: Subdocuments read Get_Subdocuments;
  5645.     property IsMasterDocument: WordBool read Get_IsMasterDocument;
  5646.     property DefaultTabStop: Single read Get_DefaultTabStop write Set_DefaultTabStop;
  5647.     property EmbedTrueTypeFonts: WordBool read Get_EmbedTrueTypeFonts write Set_EmbedTrueTypeFonts;
  5648.     property SaveFormsData: WordBool read Get_SaveFormsData write Set_SaveFormsData;
  5649.     property ReadOnlyRecommended: WordBool read Get_ReadOnlyRecommended write Set_ReadOnlyRecommended;
  5650.     property SaveSubsetFonts: WordBool read Get_SaveSubsetFonts write Set_SaveSubsetFonts;
  5651.     property Compatibility[Type_: WdCompatibility]: WordBool read Get_Compatibility write Set_Compatibility;
  5652.     property StoryRanges: StoryRanges read Get_StoryRanges;
  5653.     property CommandBars: CommandBars read Get_CommandBars;
  5654.     property IsSubdocument: WordBool read Get_IsSubdocument;
  5655.     property SaveFormat: Integer read Get_SaveFormat;
  5656.     property ProtectionType: WdProtectionType read Get_ProtectionType;
  5657.     property Hyperlinks: Hyperlinks read Get_Hyperlinks;
  5658.     property Shapes: Shapes read Get_Shapes;
  5659.     property ListTemplates: ListTemplates read Get_ListTemplates;
  5660.     property Lists: Lists read Get_Lists;
  5661.     property UpdateStylesOnOpen: WordBool read Get_UpdateStylesOnOpen write Set_UpdateStylesOnOpen;
  5662.     property InlineShapes: InlineShapes read Get_InlineShapes;
  5663.     property Background: Shape read Get_Background write Set_Background;
  5664.     property GrammarChecked: WordBool read Get_GrammarChecked write Set_GrammarChecked;
  5665.     property SpellingChecked: WordBool read Get_SpellingChecked write Set_SpellingChecked;
  5666.     property ShowGrammaticalErrors: WordBool read Get_ShowGrammaticalErrors write Set_ShowGrammaticalErrors;
  5667.     property ShowSpellingErrors: WordBool read Get_ShowSpellingErrors write Set_ShowSpellingErrors;
  5668.     property Versions: Versions read Get_Versions;
  5669.     property ShowSummary: WordBool read Get_ShowSummary write Set_ShowSummary;
  5670.     property SummaryViewMode: WdSummaryMode read Get_SummaryViewMode write Set_SummaryViewMode;
  5671.     property SummaryLength: Integer read Get_SummaryLength write Set_SummaryLength;
  5672.     property PrintFractionalWidths: WordBool read Get_PrintFractionalWidths write Set_PrintFractionalWidths;
  5673.     property PrintPostScriptOverText: WordBool read Get_PrintPostScriptOverText write Set_PrintPostScriptOverText;
  5674.     property Container: IDispatch read Get_Container;
  5675.     property PrintFormsData: WordBool read Get_PrintFormsData write Set_PrintFormsData;
  5676.     property ListParagraphs: ListParagraphs read Get_ListParagraphs;
  5677.     property Password: WideString write Set_Password;
  5678.     property WritePassword: WideString write Set_WritePassword;
  5679.     property HasPassword: WordBool read Get_HasPassword;
  5680.     property WriteReserved: WordBool read Get_WriteReserved;
  5681.     property ActiveWritingStyle[var LanguageID: OleVariant]: WideString read Get_ActiveWritingStyle write Set_ActiveWritingStyle;
  5682.     property UserControl: WordBool read Get_UserControl write Set_UserControl;
  5683.     property HasMailer: WordBool read Get_HasMailer write Set_HasMailer;
  5684.     property Mailer: Mailer read Get_Mailer;
  5685.     property ReadabilityStatistics: ReadabilityStatistics read Get_ReadabilityStatistics;
  5686.     property GrammaticalErrors: ProofreadingErrors read Get_GrammaticalErrors;
  5687.     property SpellingErrors: ProofreadingErrors read Get_SpellingErrors;
  5688.     property VBProject: VBProject read Get_VBProject;
  5689.     property FormsDesign: WordBool read Get_FormsDesign;
  5690.     property _CodeName: WideString read Get__CodeName write Set__CodeName;
  5691.     property CodeName: WideString read Get_CodeName;
  5692.     property SnapToGrid: WordBool read Get_SnapToGrid write Set_SnapToGrid;
  5693.     property SnapToShapes: WordBool read Get_SnapToShapes write Set_SnapToShapes;
  5694.     property GridDistanceHorizontal: Single read Get_GridDistanceHorizontal write Set_GridDistanceHorizontal;
  5695.     property GridDistanceVertical: Single read Get_GridDistanceVertical write Set_GridDistanceVertical;
  5696.     property GridOriginHorizontal: Single read Get_GridOriginHorizontal write Set_GridOriginHorizontal;
  5697.     property GridOriginVertical: Single read Get_GridOriginVertical write Set_GridOriginVertical;
  5698.     property GridSpaceBetweenHorizontalLines: Integer read Get_GridSpaceBetweenHorizontalLines write Set_GridSpaceBetweenHorizontalLines;
  5699.     property GridSpaceBetweenVerticalLines: Integer read Get_GridSpaceBetweenVerticalLines write Set_GridSpaceBetweenVerticalLines;
  5700.     property GridOriginFromMargin: WordBool read Get_GridOriginFromMargin write Set_GridOriginFromMargin;
  5701.     property KerningByAlgorithm: WordBool read Get_KerningByAlgorithm write Set_KerningByAlgorithm;
  5702.     property JustificationMode: WdJustificationMode read Get_JustificationMode write Set_JustificationMode;
  5703.     property FarEastLineBreakLevel: WdFarEastLineBreakLevel read Get_FarEastLineBreakLevel write Set_FarEastLineBreakLevel;
  5704.     property NoLineBreakBefore: WideString read Get_NoLineBreakBefore write Set_NoLineBreakBefore;
  5705.     property NoLineBreakAfter: WideString read Get_NoLineBreakAfter write Set_NoLineBreakAfter;
  5706.     property TrackRevisions: WordBool read Get_TrackRevisions write Set_TrackRevisions;
  5707.     property PrintRevisions: WordBool read Get_PrintRevisions write Set_PrintRevisions;
  5708.     property ShowRevisions: WordBool read Get_ShowRevisions write Set_ShowRevisions;
  5709.     property ActiveTheme: WideString read Get_ActiveTheme;
  5710.     property ActiveThemeDisplayName: WideString read Get_ActiveThemeDisplayName;
  5711.     property Email: Email read Get_Email;
  5712.     property Scripts: Scripts read Get_Scripts;
  5713.     property LanguageDetected: WordBool read Get_LanguageDetected write Set_LanguageDetected;
  5714.     property FarEastLineBreakLanguage: WdFarEastLineBreakLanguageID read Get_FarEastLineBreakLanguage write Set_FarEastLineBreakLanguage;
  5715.     property Frameset: Frameset read Get_Frameset;
  5716.     property HTMLProject: HTMLProject read Get_HTMLProject;
  5717.     property WebOptions: WebOptions read Get_WebOptions;
  5718.     property OpenEncoding: MsoEncoding read Get_OpenEncoding;
  5719.     property SaveEncoding: MsoEncoding read Get_SaveEncoding write Set_SaveEncoding;
  5720.     property OptimizeForWord97: WordBool read Get_OptimizeForWord97 write Set_OptimizeForWord97;
  5721.     property VBASigned: WordBool read Get_VBASigned;
  5722.   end;
  5723.  
  5724. // *********************************************************************//
  5725. // DispIntf:  _DocumentDisp
  5726. // Flags:     (4432) Hidden Dual OleAutomation Dispatchable
  5727. // GUID:      {0002096B-0000-0000-C000-000000000046}
  5728. // *********************************************************************//
  5729.   _DocumentDisp = dispinterface
  5730.     ['{0002096B-0000-0000-C000-000000000046}']
  5731.     property Name: WideString readonly dispid 0;
  5732.     property Application_: Application_ readonly dispid 1;
  5733.     property Creator: Integer readonly dispid 1001;
  5734.     property Parent: IDispatch readonly dispid 1002;
  5735.     property BuiltInDocumentProperties: IDispatch readonly dispid 1000;
  5736.     property CustomDocumentProperties: IDispatch readonly dispid 2;
  5737.     property Path: WideString readonly dispid 3;
  5738.     property Bookmarks: Bookmarks readonly dispid 4;
  5739.     property Tables: Tables readonly dispid 6;
  5740.     property Footnotes: Footnotes readonly dispid 7;
  5741.     property Endnotes: Endnotes readonly dispid 8;
  5742.     property Comments: Comments readonly dispid 9;
  5743.     property Type_: WdDocumentType readonly dispid 10;
  5744.     property AutoHyphenation: WordBool dispid 11;
  5745.     property HyphenateCaps: WordBool dispid 12;
  5746.     property HyphenationZone: Integer dispid 13;
  5747.     property ConsecutiveHyphensLimit: Integer dispid 14;
  5748.     property Sections: Sections readonly dispid 15;
  5749.     property Paragraphs: Paragraphs readonly dispid 16;
  5750.     property Words: Words readonly dispid 17;
  5751.     property Sentences: Sentences readonly dispid 18;
  5752.     property Characters: Characters readonly dispid 19;
  5753.     property Fields: Fields readonly dispid 20;
  5754.     property FormFields: FormFields readonly dispid 21;
  5755.     property Styles: Styles readonly dispid 22;
  5756.     property Frames: Frames readonly dispid 23;
  5757.     property TablesOfFigures: TablesOfFigures readonly dispid 25;
  5758.     property Variables: Variables readonly dispid 26;
  5759.     property MailMerge: MailMerge readonly dispid 27;
  5760.     property Envelope: Envelope readonly dispid 28;
  5761.     property FullName: WideString readonly dispid 29;
  5762.     property Revisions: Revisions readonly dispid 30;
  5763.     property TablesOfContents: TablesOfContents readonly dispid 31;
  5764.     property TablesOfAuthorities: TablesOfAuthorities readonly dispid 32;
  5765.     property PageSetup: PageSetup dispid 1101;
  5766.     property Windows: Windows readonly dispid 34;
  5767.     property HasRoutingSlip: WordBool dispid 35;
  5768.     property RoutingSlip: RoutingSlip readonly dispid 36;
  5769.     property Routed: WordBool readonly dispid 37;
  5770.     property TablesOfAuthoritiesCategories: TablesOfAuthoritiesCategories readonly dispid 38;
  5771.     property Indexes: Indexes readonly dispid 39;
  5772.     property Saved: WordBool dispid 40;
  5773.     property Content: Range readonly dispid 41;
  5774.     property ActiveWindow: Window_ readonly dispid 42;
  5775.     property Kind: WdDocumentKind dispid 43;
  5776.     property ReadOnly: WordBool readonly dispid 44;
  5777.     property Subdocuments: Subdocuments readonly dispid 45;
  5778.     property IsMasterDocument: WordBool readonly dispid 46;
  5779.     property DefaultTabStop: Single dispid 48;
  5780.     property EmbedTrueTypeFonts: WordBool dispid 50;
  5781.     property SaveFormsData: WordBool dispid 51;
  5782.     property ReadOnlyRecommended: WordBool dispid 52;
  5783.     property SaveSubsetFonts: WordBool dispid 53;
  5784.     property Compatibility[Type_: WdCompatibility]: WordBool dispid 55;
  5785.     property StoryRanges: StoryRanges readonly dispid 56;
  5786.     property CommandBars: CommandBars readonly dispid 57;
  5787.     property IsSubdocument: WordBool readonly dispid 58;
  5788.     property SaveFormat: Integer readonly dispid 59;
  5789.     property ProtectionType: WdProtectionType readonly dispid 60;
  5790.     property Hyperlinks: Hyperlinks readonly dispid 61;
  5791.     property Shapes: Shapes readonly dispid 62;
  5792.     property ListTemplates: ListTemplates readonly dispid 63;
  5793.     property Lists: Lists readonly dispid 64;
  5794.     property UpdateStylesOnOpen: WordBool dispid 66;
  5795.     function AttachedTemplate: OleVariant; dispid 67;
  5796.     property InlineShapes: InlineShapes readonly dispid 68;
  5797.     property Background: Shape dispid 69;
  5798.     property GrammarChecked: WordBool dispid 70;
  5799.     property SpellingChecked: WordBool dispid 71;
  5800.     property ShowGrammaticalErrors: WordBool dispid 72;
  5801.     property ShowSpellingErrors: WordBool dispid 73;
  5802.     property Versions: Versions readonly dispid 75;
  5803.     property ShowSummary: WordBool dispid 76;
  5804.     property SummaryViewMode: WdSummaryMode dispid 77;
  5805.     property SummaryLength: Integer dispid 78;
  5806.     property PrintFractionalWidths: WordBool dispid 79;
  5807.     property PrintPostScriptOverText: WordBool dispid 80;
  5808.     property Container: IDispatch readonly dispid 82;
  5809.     property PrintFormsData: WordBool dispid 83;
  5810.     property ListParagraphs: ListParagraphs readonly dispid 84;
  5811.     property Password: WideString writeonly dispid 85;
  5812.     property WritePassword: WideString writeonly dispid 86;
  5813.     property HasPassword: WordBool readonly dispid 87;
  5814.     property WriteReserved: WordBool readonly dispid 88;
  5815.     property ActiveWritingStyle[var LanguageID: OleVariant]: WideString dispid 90;
  5816.     property UserControl: WordBool dispid 92;
  5817.     property HasMailer: WordBool dispid 93;
  5818.     property Mailer: Mailer readonly dispid 94;
  5819.     property ReadabilityStatistics: ReadabilityStatistics readonly dispid 96;
  5820.     property GrammaticalErrors: ProofreadingErrors readonly dispid 97;
  5821.     property SpellingErrors: ProofreadingErrors readonly dispid 98;
  5822.     property VBProject: VBProject readonly dispid 99;
  5823.     property FormsDesign: WordBool readonly dispid 100;
  5824.     property _CodeName: WideString dispid -2147418112;
  5825.     property CodeName: WideString readonly dispid 262;
  5826.     property SnapToGrid: WordBool dispid 300;
  5827.     property SnapToShapes: WordBool dispid 301;
  5828.     property GridDistanceHorizontal: Single dispid 302;
  5829.     property GridDistanceVertical: Single dispid 303;
  5830.     property GridOriginHorizontal: Single dispid 304;
  5831.     property GridOriginVertical: Single dispid 305;
  5832.     property GridSpaceBetweenHorizontalLines: Integer dispid 306;
  5833.     property GridSpaceBetweenVerticalLines: Integer dispid 307;
  5834.     property GridOriginFromMargin: WordBool dispid 308;
  5835.     property KerningByAlgorithm: WordBool dispid 309;
  5836.     property JustificationMode: WdJustificationMode dispid 310;
  5837.     property FarEastLineBreakLevel: WdFarEastLineBreakLevel dispid 311;
  5838.     property NoLineBreakBefore: WideString dispid 312;
  5839.     property NoLineBreakAfter: WideString dispid 313;
  5840.     property TrackRevisions: WordBool dispid 314;
  5841.     property PrintRevisions: WordBool dispid 315;
  5842.     property ShowRevisions: WordBool dispid 316;
  5843.     procedure Close(var SaveChanges: OleVariant; var OriginalFormat: OleVariant; 
  5844.                     var RouteDocument: OleVariant); dispid 1105;
  5845.     procedure SaveAs(var FileName: OleVariant; var FileFormat: OleVariant; 
  5846.                      var LockComments: OleVariant; var Password: OleVariant; 
  5847.                      var AddToRecentFiles: OleVariant; var WritePassword: OleVariant; 
  5848.                      var ReadOnlyRecommended: OleVariant; var EmbedTrueTypeFonts: OleVariant; 
  5849.                      var SaveNativePictureFormat: OleVariant; var SaveFormsData: OleVariant; 
  5850.                      var SaveAsAOCELetter: OleVariant); dispid 102;
  5851.     procedure Repaginate; dispid 103;
  5852.     procedure FitToPages; dispid 104;
  5853.     procedure ManualHyphenation; dispid 105;
  5854.     procedure Select; dispid 65535;
  5855.     procedure DataForm; dispid 106;
  5856.     procedure Route; dispid 107;
  5857.     procedure Save; dispid 108;
  5858.     procedure PrintOutOld(var Background: OleVariant; var Append: OleVariant; 
  5859.                           var Range: OleVariant; var OutputFileName: OleVariant; 
  5860.                           var From: OleVariant; var To_: OleVariant; var Item: OleVariant; 
  5861.                           var Copies: OleVariant; var Pages: OleVariant; var PageType: OleVariant; 
  5862.                           var PrintToFile: OleVariant; var Collate: OleVariant; 
  5863.                           var ActivePrinterMacGX: OleVariant; var ManualDuplexPrint: OleVariant); dispid 109;
  5864.     procedure SendMail; dispid 110;
  5865.     function Range(var Start: OleVariant; var End_: OleVariant): Range; dispid 2000;
  5866.     procedure RunAutoMacro(Which: WdAutoMacros); dispid 112;
  5867.     procedure Activate; dispid 113;
  5868.     procedure PrintPreview; dispid 114;
  5869.     function GoTo_(var What: OleVariant; var Which: OleVariant; var Count: OleVariant; 
  5870.                    var Name: OleVariant): Range; dispid 115;
  5871.     function Undo(var Times: OleVariant): WordBool; dispid 116;
  5872.     function Redo(var Times: OleVariant): WordBool; dispid 117;
  5873.     function ComputeStatistics(Statistic: WdStatistic; var IncludeFootnotesAndEndnotes: OleVariant): Integer; dispid 118;
  5874.     procedure MakeCompatibilityDefault; dispid 119;
  5875.     procedure Protect(Type_: WdProtectionType; var NoReset: OleVariant; var Password: OleVariant); dispid 120;
  5876.     procedure Unprotect(var Password: OleVariant); dispid 121;
  5877.     procedure EditionOptions(Type_: WdEditionType; Option: WdEditionOption; const Name: WideString; 
  5878.                              var Format: OleVariant); dispid 122;
  5879.     procedure RunLetterWizard(var LetterContent: OleVariant; var WizardMode: OleVariant); dispid 123;
  5880.     function GetLetterContent: LetterContent; dispid 124;
  5881.     procedure SetLetterContent(var LetterContent: OleVariant); dispid 125;
  5882.     procedure CopyStylesFromTemplate(const Template: WideString); dispid 126;
  5883.     procedure UpdateStyles; dispid 127;
  5884.     procedure CheckGrammar; dispid 131;
  5885.     procedure CheckSpelling(var CustomDictionary: OleVariant; var IgnoreUppercase: OleVariant; 
  5886.                             var AlwaysSuggest: OleVariant; var CustomDictionary2: OleVariant; 
  5887.                             var CustomDictionary3: OleVariant; var CustomDictionary4: OleVariant; 
  5888.                             var CustomDictionary5: OleVariant; var CustomDictionary6: OleVariant; 
  5889.                             var CustomDictionary7: OleVariant; var CustomDictionary8: OleVariant; 
  5890.                             var CustomDictionary9: OleVariant; var CustomDictionary10: OleVariant); dispid 132;
  5891.     procedure FollowHyperlink(var Address: OleVariant; var SubAddress: OleVariant; 
  5892.                               var NewWindow: OleVariant; var AddHistory: OleVariant; 
  5893.                               var ExtraInfo: OleVariant; var Method: OleVariant; 
  5894.                               var HeaderInfo: OleVariant); dispid 135;
  5895.     procedure AddToFavorites; dispid 136;
  5896.     procedure Reload; dispid 137;
  5897.     function AutoSummarize(var Length: OleVariant; var Mode: OleVariant; 
  5898.                            var UpdateProperties: OleVariant): Range; dispid 138;
  5899.     procedure RemoveNumbers(var NumberType: OleVariant); dispid 140;
  5900.     procedure ConvertNumbersToText(var NumberType: OleVariant); dispid 141;
  5901.     function CountNumberedItems(var NumberType: OleVariant; var Level: OleVariant): Integer; dispid 142;
  5902.     procedure Post; dispid 143;
  5903.     procedure ToggleFormsDesign; dispid 144;
  5904.     procedure Compare(const Name: WideString); dispid 145;
  5905.     procedure UpdateSummaryProperties; dispid 146;
  5906.     function GetCrossReferenceItems(var ReferenceType: OleVariant): OleVariant; dispid 147;
  5907.     procedure AutoFormat; dispid 148;
  5908.     procedure ViewCode; dispid 149;
  5909.     procedure ViewPropertyBrowser; dispid 150;
  5910.     procedure ForwardMailer; dispid 250;
  5911.     procedure Reply; dispid 251;
  5912.     procedure ReplyAll; dispid 252;
  5913.     procedure SendMailer(var FileFormat: OleVariant; var Priority: OleVariant); dispid 253;
  5914.     procedure UndoClear; dispid 254;
  5915.     procedure PresentIt; dispid 255;
  5916.     procedure SendFax(const Address: WideString; var Subject: OleVariant); dispid 256;
  5917.     procedure Merge(const FileName: WideString); dispid 257;
  5918.     procedure ClosePrintPreview; dispid 258;
  5919.     procedure CheckConsistency; dispid 259;
  5920.     function CreateLetterContent(const DateFormat: WideString; IncludeHeaderFooter: WordBool; 
  5921.                                  const PageDesign: WideString; LetterStyle: WdLetterStyle; 
  5922.                                  Letterhead: WordBool; LetterheadLocation: WdLetterheadLocation; 
  5923.                                  LetterheadSize: Single; const RecipientName: WideString; 
  5924.                                  const RecipientAddress: WideString; const Salutation: WideString; 
  5925.                                  SalutationType: WdSalutationType; 
  5926.                                  const RecipientReference: WideString; 
  5927.                                  const MailingInstructions: WideString; 
  5928.                                  const AttentionLine: WideString; const Subject: WideString; 
  5929.                                  const CCList: WideString; const ReturnAddress: WideString; 
  5930.                                  const SenderName: WideString; const Closing: WideString; 
  5931.                                  const SenderCompany: WideString; const SenderJobTitle: WideString; 
  5932.                                  const SenderInitials: WideString; EnclosureNumber: Integer; 
  5933.                                  var InfoBlock: OleVariant; var RecipientCode: OleVariant; 
  5934.                                  var RecipientGender: OleVariant; 
  5935.                                  var ReturnAddressShortForm: OleVariant; 
  5936.                                  var SenderCity: OleVariant; var SenderCode: OleVariant; 
  5937.                                  var SenderGender: OleVariant; var SenderReference: OleVariant): LetterContent; dispid 260;
  5938.     procedure AcceptAllRevisions; dispid 317;
  5939.     procedure RejectAllRevisions; dispid 318;
  5940.     procedure DetectLanguage; dispid 151;
  5941.     procedure ApplyTheme(const Name: WideString); dispid 322;
  5942.     procedure RemoveTheme; dispid 323;
  5943.     procedure WebPagePreview; dispid 325;
  5944.     procedure ReloadAs(Encoding: MsoEncoding); dispid 331;
  5945.     property ActiveTheme: WideString readonly dispid 540;
  5946.     property ActiveThemeDisplayName: WideString readonly dispid 541;
  5947.     property Email: Email readonly dispid 319;
  5948.     property Scripts: Scripts readonly dispid 320;
  5949.     property LanguageDetected: WordBool dispid 321;
  5950.     property FarEastLineBreakLanguage: WdFarEastLineBreakLanguageID dispid 326;
  5951.     property Frameset: Frameset readonly dispid 327;
  5952.     function ClickAndTypeParagraphStyle: OleVariant; dispid 328;
  5953.     property HTMLProject: HTMLProject readonly dispid 329;
  5954.     property WebOptions: WebOptions readonly dispid 330;
  5955.     property OpenEncoding: MsoEncoding readonly dispid 332;
  5956.     property SaveEncoding: MsoEncoding dispid 333;
  5957.     property OptimizeForWord97: WordBool dispid 334;
  5958.     property VBASigned: WordBool readonly dispid 335;
  5959.     procedure PrintOut(var Background: OleVariant; var Append: OleVariant; var Range: OleVariant; 
  5960.                        var OutputFileName: OleVariant; var From: OleVariant; var To_: OleVariant; 
  5961.                        var Item: OleVariant; var Copies: OleVariant; var Pages: OleVariant; 
  5962.                        var PageType: OleVariant; var PrintToFile: OleVariant; 
  5963.                        var Collate: OleVariant; var ActivePrinterMacGX: OleVariant; 
  5964.                        var ManualDuplexPrint: OleVariant; var PrintZoomColumn: OleVariant; 
  5965.                        var PrintZoomRow: OleVariant; var PrintZoomPaperWidth: OleVariant; 
  5966.                        var PrintZoomPaperHeight: OleVariant); dispid 444;
  5967.     procedure sblt(const s: WideString); dispid 445;
  5968.   end;
  5969.  
  5970. // *********************************************************************//
  5971. // Interface: Template
  5972. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  5973. // GUID:      {0002096A-0000-0000-C000-000000000046}
  5974. // *********************************************************************//
  5975.   Template = interface(IDispatch)
  5976.     ['{0002096A-0000-0000-C000-000000000046}']
  5977.     function Get_Name: WideString; safecall;
  5978.     function Get_Application_: Application_; safecall;
  5979.     function Get_Creator: Integer; safecall;
  5980.     function Get_Parent: IDispatch; safecall;
  5981.     function Get_Path: WideString; safecall;
  5982.     function Get_AutoTextEntries: AutoTextEntries; safecall;
  5983.     function Get_LanguageID: WdLanguageID; safecall;
  5984.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  5985.     function Get_Saved: WordBool; safecall;
  5986.     procedure Set_Saved(prop: WordBool); safecall;
  5987.     function Get_Type_: WdTemplateType; safecall;
  5988.     function Get_FullName: WideString; safecall;
  5989.     function Get_BuiltInDocumentProperties: IDispatch; safecall;
  5990.     function Get_CustomDocumentProperties: IDispatch; safecall;
  5991.     function Get_ListTemplates: ListTemplates; safecall;
  5992.     function Get_LanguageIDFarEast: WdLanguageID; safecall;
  5993.     procedure Set_LanguageIDFarEast(prop: WdLanguageID); safecall;
  5994.     function Get_VBProject: VBProject; safecall;
  5995.     function Get_KerningByAlgorithm: WordBool; safecall;
  5996.     procedure Set_KerningByAlgorithm(prop: WordBool); safecall;
  5997.     function Get_JustificationMode: WdJustificationMode; safecall;
  5998.     procedure Set_JustificationMode(prop: WdJustificationMode); safecall;
  5999.     function Get_FarEastLineBreakLevel: WdFarEastLineBreakLevel; safecall;
  6000.     procedure Set_FarEastLineBreakLevel(prop: WdFarEastLineBreakLevel); safecall;
  6001.     function Get_NoLineBreakBefore: WideString; safecall;
  6002.     procedure Set_NoLineBreakBefore(const prop: WideString); safecall;
  6003.     function Get_NoLineBreakAfter: WideString; safecall;
  6004.     procedure Set_NoLineBreakAfter(const prop: WideString); safecall;
  6005.     function OpenAsDocument: Document; safecall;
  6006.     procedure Save; safecall;
  6007.     function Get_NoProofing: Integer; safecall;
  6008.     procedure Set_NoProofing(prop: Integer); safecall;
  6009.     function Get_FarEastLineBreakLanguage: WdFarEastLineBreakLanguageID; safecall;
  6010.     procedure Set_FarEastLineBreakLanguage(prop: WdFarEastLineBreakLanguageID); safecall;
  6011.     property Name: WideString read Get_Name;
  6012.     property Application_: Application_ read Get_Application_;
  6013.     property Creator: Integer read Get_Creator;
  6014.     property Parent: IDispatch read Get_Parent;
  6015.     property Path: WideString read Get_Path;
  6016.     property AutoTextEntries: AutoTextEntries read Get_AutoTextEntries;
  6017.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  6018.     property Saved: WordBool read Get_Saved write Set_Saved;
  6019.     property Type_: WdTemplateType read Get_Type_;
  6020.     property FullName: WideString read Get_FullName;
  6021.     property BuiltInDocumentProperties: IDispatch read Get_BuiltInDocumentProperties;
  6022.     property CustomDocumentProperties: IDispatch read Get_CustomDocumentProperties;
  6023.     property ListTemplates: ListTemplates read Get_ListTemplates;
  6024.     property LanguageIDFarEast: WdLanguageID read Get_LanguageIDFarEast write Set_LanguageIDFarEast;
  6025.     property VBProject: VBProject read Get_VBProject;
  6026.     property KerningByAlgorithm: WordBool read Get_KerningByAlgorithm write Set_KerningByAlgorithm;
  6027.     property JustificationMode: WdJustificationMode read Get_JustificationMode write Set_JustificationMode;
  6028.     property FarEastLineBreakLevel: WdFarEastLineBreakLevel read Get_FarEastLineBreakLevel write Set_FarEastLineBreakLevel;
  6029.     property NoLineBreakBefore: WideString read Get_NoLineBreakBefore write Set_NoLineBreakBefore;
  6030.     property NoLineBreakAfter: WideString read Get_NoLineBreakAfter write Set_NoLineBreakAfter;
  6031.     property NoProofing: Integer read Get_NoProofing write Set_NoProofing;
  6032.     property FarEastLineBreakLanguage: WdFarEastLineBreakLanguageID read Get_FarEastLineBreakLanguage write Set_FarEastLineBreakLanguage;
  6033.   end;
  6034.  
  6035. // *********************************************************************//
  6036. // DispIntf:  TemplateDisp
  6037. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6038. // GUID:      {0002096A-0000-0000-C000-000000000046}
  6039. // *********************************************************************//
  6040.   TemplateDisp = dispinterface
  6041.     ['{0002096A-0000-0000-C000-000000000046}']
  6042.     property Name: WideString readonly dispid 0;
  6043.     property Application_: Application_ readonly dispid 1000;
  6044.     property Creator: Integer readonly dispid 1001;
  6045.     property Parent: IDispatch readonly dispid 1002;
  6046.     property Path: WideString readonly dispid 1;
  6047.     property AutoTextEntries: AutoTextEntries readonly dispid 2;
  6048.     property LanguageID: WdLanguageID dispid 4;
  6049.     property Saved: WordBool dispid 5;
  6050.     property Type_: WdTemplateType readonly dispid 6;
  6051.     property FullName: WideString readonly dispid 7;
  6052.     property BuiltInDocumentProperties: IDispatch readonly dispid 8;
  6053.     property CustomDocumentProperties: IDispatch readonly dispid 9;
  6054.     property ListTemplates: ListTemplates readonly dispid 10;
  6055.     property LanguageIDFarEast: WdLanguageID dispid 11;
  6056.     property VBProject: VBProject readonly dispid 99;
  6057.     property KerningByAlgorithm: WordBool dispid 12;
  6058.     property JustificationMode: WdJustificationMode dispid 13;
  6059.     property FarEastLineBreakLevel: WdFarEastLineBreakLevel dispid 14;
  6060.     property NoLineBreakBefore: WideString dispid 15;
  6061.     property NoLineBreakAfter: WideString dispid 16;
  6062.     function OpenAsDocument: Document; dispid 100;
  6063.     procedure Save; dispid 101;
  6064.     property NoProofing: Integer dispid 17;
  6065.     property FarEastLineBreakLanguage: WdFarEastLineBreakLanguageID dispid 18;
  6066.   end;
  6067.  
  6068. // *********************************************************************//
  6069. // Interface: Templates
  6070. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6071. // GUID:      {000209A2-0000-0000-C000-000000000046}
  6072. // *********************************************************************//
  6073.   Templates = interface(IDispatch)
  6074.     ['{000209A2-0000-0000-C000-000000000046}']
  6075.     function Get_Application_: Application_; safecall;
  6076.     function Get_Creator: Integer; safecall;
  6077.     function Get_Parent: IDispatch; safecall;
  6078.     function Get_Count: Integer; safecall;
  6079.     function Get__NewEnum: IUnknown; safecall;
  6080.     function Item(var Index: OleVariant): Template; safecall;
  6081.     property Application_: Application_ read Get_Application_;
  6082.     property Creator: Integer read Get_Creator;
  6083.     property Parent: IDispatch read Get_Parent;
  6084.     property Count: Integer read Get_Count;
  6085.     property _NewEnum: IUnknown read Get__NewEnum;
  6086.   end;
  6087.  
  6088. // *********************************************************************//
  6089. // DispIntf:  TemplatesDisp
  6090. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6091. // GUID:      {000209A2-0000-0000-C000-000000000046}
  6092. // *********************************************************************//
  6093.   TemplatesDisp = dispinterface
  6094.     ['{000209A2-0000-0000-C000-000000000046}']
  6095.     property Application_: Application_ readonly dispid 1000;
  6096.     property Creator: Integer readonly dispid 1001;
  6097.     property Parent: IDispatch readonly dispid 1002;
  6098.     property Count: Integer readonly dispid 1;
  6099.     property _NewEnum: IUnknown readonly dispid -4;
  6100.     function Item(var Index: OleVariant): Template; dispid 0;
  6101.   end;
  6102.  
  6103. // *********************************************************************//
  6104. // Interface: RoutingSlip
  6105. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6106. // GUID:      {00020969-0000-0000-C000-000000000046}
  6107. // *********************************************************************//
  6108.   RoutingSlip = interface(IDispatch)
  6109.     ['{00020969-0000-0000-C000-000000000046}']
  6110.     function Get_Application_: Application_; safecall;
  6111.     function Get_Creator: Integer; safecall;
  6112.     function Get_Parent: IDispatch; safecall;
  6113.     function Get_Subject: WideString; safecall;
  6114.     procedure Set_Subject(const prop: WideString); safecall;
  6115.     function Get_Message: WideString; safecall;
  6116.     procedure Set_Message(const prop: WideString); safecall;
  6117.     function Get_Delivery: WdRoutingSlipDelivery; safecall;
  6118.     procedure Set_Delivery(prop: WdRoutingSlipDelivery); safecall;
  6119.     function Get_TrackStatus: WordBool; safecall;
  6120.     procedure Set_TrackStatus(prop: WordBool); safecall;
  6121.     function Get_Protect: WdProtectionType; safecall;
  6122.     procedure Set_Protect(prop: WdProtectionType); safecall;
  6123.     function Get_ReturnWhenDone: WordBool; safecall;
  6124.     procedure Set_ReturnWhenDone(prop: WordBool); safecall;
  6125.     function Get_Status: WdRoutingSlipStatus; safecall;
  6126.     function Get_Recipients(var Index: OleVariant): OleVariant; safecall;
  6127.     procedure Reset; safecall;
  6128.     procedure AddRecipient(const Recipient: WideString); safecall;
  6129.     property Application_: Application_ read Get_Application_;
  6130.     property Creator: Integer read Get_Creator;
  6131.     property Parent: IDispatch read Get_Parent;
  6132.     property Subject: WideString read Get_Subject write Set_Subject;
  6133.     property Message: WideString read Get_Message write Set_Message;
  6134.     property Delivery: WdRoutingSlipDelivery read Get_Delivery write Set_Delivery;
  6135.     property TrackStatus: WordBool read Get_TrackStatus write Set_TrackStatus;
  6136.     property Protect: WdProtectionType read Get_Protect write Set_Protect;
  6137.     property ReturnWhenDone: WordBool read Get_ReturnWhenDone write Set_ReturnWhenDone;
  6138.     property Status: WdRoutingSlipStatus read Get_Status;
  6139.     property Recipients[var Index: OleVariant]: OleVariant read Get_Recipients;
  6140.   end;
  6141.  
  6142. // *********************************************************************//
  6143. // DispIntf:  RoutingSlipDisp
  6144. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6145. // GUID:      {00020969-0000-0000-C000-000000000046}
  6146. // *********************************************************************//
  6147.   RoutingSlipDisp = dispinterface
  6148.     ['{00020969-0000-0000-C000-000000000046}']
  6149.     property Application_: Application_ readonly dispid 1000;
  6150.     property Creator: Integer readonly dispid 1001;
  6151.     property Parent: IDispatch readonly dispid 1002;
  6152.     property Subject: WideString dispid 1;
  6153.     property Message: WideString dispid 2;
  6154.     property Delivery: WdRoutingSlipDelivery dispid 3;
  6155.     property TrackStatus: WordBool dispid 4;
  6156.     property Protect: WdProtectionType dispid 5;
  6157.     property ReturnWhenDone: WordBool dispid 6;
  6158.     property Status: WdRoutingSlipStatus readonly dispid 7;
  6159.     property Recipients[var Index: OleVariant]: OleVariant readonly dispid 9;
  6160.     procedure Reset; dispid 101;
  6161.     procedure AddRecipient(const Recipient: WideString); dispid 102;
  6162.   end;
  6163.  
  6164. // *********************************************************************//
  6165. // Interface: Bookmark
  6166. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6167. // GUID:      {00020968-0000-0000-C000-000000000046}
  6168. // *********************************************************************//
  6169.   Bookmark = interface(IDispatch)
  6170.     ['{00020968-0000-0000-C000-000000000046}']
  6171.     function Get_Name: WideString; safecall;
  6172.     function Get_Range: Range; safecall;
  6173.     function Get_Empty: WordBool; safecall;
  6174.     function Get_Start: Integer; safecall;
  6175.     procedure Set_Start(prop: Integer); safecall;
  6176.     function Get_End_: Integer; safecall;
  6177.     procedure Set_End_(prop: Integer); safecall;
  6178.     function Get_Column: WordBool; safecall;
  6179.     function Get_StoryType: WdStoryType; safecall;
  6180.     function Get_Application_: Application_; safecall;
  6181.     function Get_Creator: Integer; safecall;
  6182.     function Get_Parent: IDispatch; safecall;
  6183.     procedure Select; safecall;
  6184.     procedure Delete; safecall;
  6185.     function Copy(const Name: WideString): Bookmark; safecall;
  6186.     property Name: WideString read Get_Name;
  6187.     property Range: Range read Get_Range;
  6188.     property Empty: WordBool read Get_Empty;
  6189.     property Start: Integer read Get_Start write Set_Start;
  6190.     property End_: Integer read Get_End_ write Set_End_;
  6191.     property Column: WordBool read Get_Column;
  6192.     property StoryType: WdStoryType read Get_StoryType;
  6193.     property Application_: Application_ read Get_Application_;
  6194.     property Creator: Integer read Get_Creator;
  6195.     property Parent: IDispatch read Get_Parent;
  6196.   end;
  6197.  
  6198. // *********************************************************************//
  6199. // DispIntf:  BookmarkDisp
  6200. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6201. // GUID:      {00020968-0000-0000-C000-000000000046}
  6202. // *********************************************************************//
  6203.   BookmarkDisp = dispinterface
  6204.     ['{00020968-0000-0000-C000-000000000046}']
  6205.     property Name: WideString readonly dispid 0;
  6206.     property Range: Range readonly dispid 1;
  6207.     property Empty: WordBool readonly dispid 2;
  6208.     property Start: Integer dispid 3;
  6209.     property End_: Integer dispid 4;
  6210.     property Column: WordBool readonly dispid 5;
  6211.     property StoryType: WdStoryType readonly dispid 6;
  6212.     property Application_: Application_ readonly dispid 1000;
  6213.     property Creator: Integer readonly dispid 1001;
  6214.     property Parent: IDispatch readonly dispid 1002;
  6215.     procedure Select; dispid 65535;
  6216.     procedure Delete; dispid 11;
  6217.     function Copy(const Name: WideString): Bookmark; dispid 12;
  6218.   end;
  6219.  
  6220. // *********************************************************************//
  6221. // Interface: Bookmarks
  6222. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6223. // GUID:      {00020967-0000-0000-C000-000000000046}
  6224. // *********************************************************************//
  6225.   Bookmarks = interface(IDispatch)
  6226.     ['{00020967-0000-0000-C000-000000000046}']
  6227.     function Get__NewEnum: IUnknown; safecall;
  6228.     function Get_Count: Integer; safecall;
  6229.     function Get_DefaultSorting: WdBookmarkSortBy; safecall;
  6230.     procedure Set_DefaultSorting(prop: WdBookmarkSortBy); safecall;
  6231.     function Get_ShowHidden: WordBool; safecall;
  6232.     procedure Set_ShowHidden(prop: WordBool); safecall;
  6233.     function Get_Application_: Application_; safecall;
  6234.     function Get_Creator: Integer; safecall;
  6235.     function Get_Parent: IDispatch; safecall;
  6236.     function Item(var Index: OleVariant): Bookmark; safecall;
  6237.     function Add(const Name: WideString; var Range: OleVariant): Bookmark; safecall;
  6238.     function Exists(const Name: WideString): WordBool; safecall;
  6239.     property _NewEnum: IUnknown read Get__NewEnum;
  6240.     property Count: Integer read Get_Count;
  6241.     property DefaultSorting: WdBookmarkSortBy read Get_DefaultSorting write Set_DefaultSorting;
  6242.     property ShowHidden: WordBool read Get_ShowHidden write Set_ShowHidden;
  6243.     property Application_: Application_ read Get_Application_;
  6244.     property Creator: Integer read Get_Creator;
  6245.     property Parent: IDispatch read Get_Parent;
  6246.   end;
  6247.  
  6248. // *********************************************************************//
  6249. // DispIntf:  BookmarksDisp
  6250. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6251. // GUID:      {00020967-0000-0000-C000-000000000046}
  6252. // *********************************************************************//
  6253.   BookmarksDisp = dispinterface
  6254.     ['{00020967-0000-0000-C000-000000000046}']
  6255.     property _NewEnum: IUnknown readonly dispid -4;
  6256.     property Count: Integer readonly dispid 2;
  6257.     property DefaultSorting: WdBookmarkSortBy dispid 3;
  6258.     property ShowHidden: WordBool dispid 4;
  6259.     property Application_: Application_ readonly dispid 1000;
  6260.     property Creator: Integer readonly dispid 1001;
  6261.     property Parent: IDispatch readonly dispid 1002;
  6262.     function Item(var Index: OleVariant): Bookmark; dispid 0;
  6263.     function Add(const Name: WideString; var Range: OleVariant): Bookmark; dispid 5;
  6264.     function Exists(const Name: WideString): WordBool; dispid 6;
  6265.   end;
  6266.  
  6267. // *********************************************************************//
  6268. // Interface: Variable
  6269. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6270. // GUID:      {00020966-0000-0000-C000-000000000046}
  6271. // *********************************************************************//
  6272.   Variable = interface(IDispatch)
  6273.     ['{00020966-0000-0000-C000-000000000046}']
  6274.     function Get_Application_: Application_; safecall;
  6275.     function Get_Creator: Integer; safecall;
  6276.     function Get_Parent: IDispatch; safecall;
  6277.     function Get_Name: WideString; safecall;
  6278.     function Get_Value: WideString; safecall;
  6279.     procedure Set_Value(const prop: WideString); safecall;
  6280.     function Get_Index: Integer; safecall;
  6281.     procedure Delete; safecall;
  6282.     property Application_: Application_ read Get_Application_;
  6283.     property Creator: Integer read Get_Creator;
  6284.     property Parent: IDispatch read Get_Parent;
  6285.     property Name: WideString read Get_Name;
  6286.     property Value: WideString read Get_Value write Set_Value;
  6287.     property Index: Integer read Get_Index;
  6288.   end;
  6289.  
  6290. // *********************************************************************//
  6291. // DispIntf:  VariableDisp
  6292. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6293. // GUID:      {00020966-0000-0000-C000-000000000046}
  6294. // *********************************************************************//
  6295.   VariableDisp = dispinterface
  6296.     ['{00020966-0000-0000-C000-000000000046}']
  6297.     property Application_: Application_ readonly dispid 1000;
  6298.     property Creator: Integer readonly dispid 1001;
  6299.     property Parent: IDispatch readonly dispid 1002;
  6300.     property Name: WideString readonly dispid 1;
  6301.     property Value: WideString dispid 0;
  6302.     property Index: Integer readonly dispid 2;
  6303.     procedure Delete; dispid 11;
  6304.   end;
  6305.  
  6306. // *********************************************************************//
  6307. // Interface: Variables
  6308. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6309. // GUID:      {00020965-0000-0000-C000-000000000046}
  6310. // *********************************************************************//
  6311.   Variables = interface(IDispatch)
  6312.     ['{00020965-0000-0000-C000-000000000046}']
  6313.     function Get__NewEnum: IUnknown; safecall;
  6314.     function Get_Count: Integer; safecall;
  6315.     function Get_Application_: Application_; safecall;
  6316.     function Get_Creator: Integer; safecall;
  6317.     function Get_Parent: IDispatch; safecall;
  6318.     function Item(var Index: OleVariant): Variable; safecall;
  6319.     function Add(const Name: WideString; var Value: OleVariant): Variable; safecall;
  6320.     property _NewEnum: IUnknown read Get__NewEnum;
  6321.     property Count: Integer read Get_Count;
  6322.     property Application_: Application_ read Get_Application_;
  6323.     property Creator: Integer read Get_Creator;
  6324.     property Parent: IDispatch read Get_Parent;
  6325.   end;
  6326.  
  6327. // *********************************************************************//
  6328. // DispIntf:  VariablesDisp
  6329. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6330. // GUID:      {00020965-0000-0000-C000-000000000046}
  6331. // *********************************************************************//
  6332.   VariablesDisp = dispinterface
  6333.     ['{00020965-0000-0000-C000-000000000046}']
  6334.     property _NewEnum: IUnknown readonly dispid -4;
  6335.     property Count: Integer readonly dispid 2;
  6336.     property Application_: Application_ readonly dispid 1000;
  6337.     property Creator: Integer readonly dispid 1001;
  6338.     property Parent: IDispatch readonly dispid 1002;
  6339.     function Item(var Index: OleVariant): Variable; dispid 0;
  6340.     function Add(const Name: WideString; var Value: OleVariant): Variable; dispid 7;
  6341.   end;
  6342.  
  6343. // *********************************************************************//
  6344. // Interface: RecentFile
  6345. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6346. // GUID:      {00020964-0000-0000-C000-000000000046}
  6347. // *********************************************************************//
  6348.   RecentFile = interface(IDispatch)
  6349.     ['{00020964-0000-0000-C000-000000000046}']
  6350.     function Get_Application_: Application_; safecall;
  6351.     function Get_Creator: Integer; safecall;
  6352.     function Get_Parent: IDispatch; safecall;
  6353.     function Get_Name: WideString; safecall;
  6354.     function Get_Index: Integer; safecall;
  6355.     function Get_ReadOnly: WordBool; safecall;
  6356.     procedure Set_ReadOnly(prop: WordBool); safecall;
  6357.     function Get_Path: WideString; safecall;
  6358.     function Open: Document; safecall;
  6359.     procedure Delete; safecall;
  6360.     property Application_: Application_ read Get_Application_;
  6361.     property Creator: Integer read Get_Creator;
  6362.     property Parent: IDispatch read Get_Parent;
  6363.     property Name: WideString read Get_Name;
  6364.     property Index: Integer read Get_Index;
  6365.     property ReadOnly: WordBool read Get_ReadOnly write Set_ReadOnly;
  6366.     property Path: WideString read Get_Path;
  6367.   end;
  6368.  
  6369. // *********************************************************************//
  6370. // DispIntf:  RecentFileDisp
  6371. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6372. // GUID:      {00020964-0000-0000-C000-000000000046}
  6373. // *********************************************************************//
  6374.   RecentFileDisp = dispinterface
  6375.     ['{00020964-0000-0000-C000-000000000046}']
  6376.     property Application_: Application_ readonly dispid 1000;
  6377.     property Creator: Integer readonly dispid 1001;
  6378.     property Parent: IDispatch readonly dispid 1002;
  6379.     property Name: WideString readonly dispid 0;
  6380.     property Index: Integer readonly dispid 1;
  6381.     property ReadOnly: WordBool dispid 2;
  6382.     property Path: WideString readonly dispid 3;
  6383.     function Open: Document; dispid 4;
  6384.     procedure Delete; dispid 5;
  6385.   end;
  6386.  
  6387. // *********************************************************************//
  6388. // Interface: RecentFiles
  6389. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6390. // GUID:      {00020963-0000-0000-C000-000000000046}
  6391. // *********************************************************************//
  6392.   RecentFiles = interface(IDispatch)
  6393.     ['{00020963-0000-0000-C000-000000000046}']
  6394.     function Get_Application_: Application_; safecall;
  6395.     function Get_Creator: Integer; safecall;
  6396.     function Get_Parent: IDispatch; safecall;
  6397.     function Get__NewEnum: IUnknown; safecall;
  6398.     function Get_Count: Integer; safecall;
  6399.     function Get_Maximum: Integer; safecall;
  6400.     procedure Set_Maximum(prop: Integer); safecall;
  6401.     function Item(Index: Integer): RecentFile; safecall;
  6402.     function Add(var Document: OleVariant; var ReadOnly: OleVariant): RecentFile; safecall;
  6403.     property Application_: Application_ read Get_Application_;
  6404.     property Creator: Integer read Get_Creator;
  6405.     property Parent: IDispatch read Get_Parent;
  6406.     property _NewEnum: IUnknown read Get__NewEnum;
  6407.     property Count: Integer read Get_Count;
  6408.     property Maximum: Integer read Get_Maximum write Set_Maximum;
  6409.   end;
  6410.  
  6411. // *********************************************************************//
  6412. // DispIntf:  RecentFilesDisp
  6413. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6414. // GUID:      {00020963-0000-0000-C000-000000000046}
  6415. // *********************************************************************//
  6416.   RecentFilesDisp = dispinterface
  6417.     ['{00020963-0000-0000-C000-000000000046}']
  6418.     property Application_: Application_ readonly dispid 1000;
  6419.     property Creator: Integer readonly dispid 1001;
  6420.     property Parent: IDispatch readonly dispid 1002;
  6421.     property _NewEnum: IUnknown readonly dispid -4;
  6422.     property Count: Integer readonly dispid 1;
  6423.     property Maximum: Integer dispid 2;
  6424.     function Item(Index: Integer): RecentFile; dispid 0;
  6425.     function Add(var Document: OleVariant; var ReadOnly: OleVariant): RecentFile; dispid 3;
  6426.   end;
  6427.  
  6428. // *********************************************************************//
  6429. // Interface: Window_
  6430. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6431. // GUID:      {00020962-0000-0000-C000-000000000046}
  6432. // *********************************************************************//
  6433.   Window_ = interface(IDispatch)
  6434.     ['{00020962-0000-0000-C000-000000000046}']
  6435.     function Get_Application_: Application_; safecall;
  6436.     function Get_Creator: Integer; safecall;
  6437.     function Get_Parent: IDispatch; safecall;
  6438.     function Get_ActivePane: Pane; safecall;
  6439.     function Get_Document: Document; safecall;
  6440.     function Get_Panes: Panes; safecall;
  6441.     function Get_Selection: Selection; safecall;
  6442.     function Get_Left: Integer; safecall;
  6443.     procedure Set_Left(prop: Integer); safecall;
  6444.     function Get_Top: Integer; safecall;
  6445.     procedure Set_Top(prop: Integer); safecall;
  6446.     function Get_Width: Integer; safecall;
  6447.     procedure Set_Width(prop: Integer); safecall;
  6448.     function Get_Height: Integer; safecall;
  6449.     procedure Set_Height(prop: Integer); safecall;
  6450.     function Get_Split: WordBool; safecall;
  6451.     procedure Set_Split(prop: WordBool); safecall;
  6452.     function Get_SplitVertical: Integer; safecall;
  6453.     procedure Set_SplitVertical(prop: Integer); safecall;
  6454.     function Get_Caption: WideString; safecall;
  6455.     procedure Set_Caption(const prop: WideString); safecall;
  6456.     function Get_WindowState: WdWindowState; safecall;
  6457.     procedure Set_WindowState(prop: WdWindowState); safecall;
  6458.     function Get_DisplayRulers: WordBool; safecall;
  6459.     procedure Set_DisplayRulers(prop: WordBool); safecall;
  6460.     function Get_DisplayVerticalRuler: WordBool; safecall;
  6461.     procedure Set_DisplayVerticalRuler(prop: WordBool); safecall;
  6462.     function Get_View: View; safecall;
  6463.     function Get_Type_: WdWindowType; safecall;
  6464.     function Get_Next: Window_; safecall;
  6465.     function Get_Previous: Window_; safecall;
  6466.     function Get_WindowNumber: Integer; safecall;
  6467.     function Get_DisplayVerticalScrollBar: WordBool; safecall;
  6468.     procedure Set_DisplayVerticalScrollBar(prop: WordBool); safecall;
  6469.     function Get_DisplayHorizontalScrollBar: WordBool; safecall;
  6470.     procedure Set_DisplayHorizontalScrollBar(prop: WordBool); safecall;
  6471.     function Get_StyleAreaWidth: Single; safecall;
  6472.     procedure Set_StyleAreaWidth(prop: Single); safecall;
  6473.     function Get_DisplayScreenTips: WordBool; safecall;
  6474.     procedure Set_DisplayScreenTips(prop: WordBool); safecall;
  6475.     function Get_HorizontalPercentScrolled: Integer; safecall;
  6476.     procedure Set_HorizontalPercentScrolled(prop: Integer); safecall;
  6477.     function Get_VerticalPercentScrolled: Integer; safecall;
  6478.     procedure Set_VerticalPercentScrolled(prop: Integer); safecall;
  6479.     function Get_DocumentMap: WordBool; safecall;
  6480.     procedure Set_DocumentMap(prop: WordBool); safecall;
  6481.     function Get_Active: WordBool; safecall;
  6482.     function Get_DocumentMapPercentWidth: Integer; safecall;
  6483.     procedure Set_DocumentMapPercentWidth(prop: Integer); safecall;
  6484.     function Get_Index: Integer; safecall;
  6485.     function Get_IMEMode: WdIMEMode; safecall;
  6486.     procedure Set_IMEMode(prop: WdIMEMode); safecall;
  6487.     procedure Activate; safecall;
  6488.     procedure Close(var SaveChanges: OleVariant; var RouteDocument: OleVariant); safecall;
  6489.     procedure LargeScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6490.                           var ToLeft: OleVariant); safecall;
  6491.     procedure SmallScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6492.                           var ToLeft: OleVariant); safecall;
  6493.     function NewWindow: Window_; safecall;
  6494.     procedure PrintOutOld(var Background: OleVariant; var Append: OleVariant; 
  6495.                           var Range: OleVariant; var OutputFileName: OleVariant; 
  6496.                           var From: OleVariant; var To_: OleVariant; var Item: OleVariant; 
  6497.                           var Copies: OleVariant; var Pages: OleVariant; var PageType: OleVariant; 
  6498.                           var PrintToFile: OleVariant; var Collate: OleVariant; 
  6499.                           var ActivePrinterMacGX: OleVariant; var ManualDuplexPrint: OleVariant); safecall;
  6500.     procedure PageScroll(var Down: OleVariant; var Up: OleVariant); safecall;
  6501.     procedure SetFocus; safecall;
  6502.     function RangeFromPoint(x: Integer; y: Integer): IDispatch; safecall;
  6503.     procedure ScrollIntoView(const obj: IDispatch; var Start: OleVariant); safecall;
  6504.     procedure GetPoint(out ScreenPixelsLeft: Integer; out ScreenPixelsTop: Integer; 
  6505.                        out ScreenPixelsWidth: Integer; out ScreenPixelsHeight: Integer; 
  6506.                        const obj: IDispatch); safecall;
  6507.     procedure PrintOut(var Background: OleVariant; var Append: OleVariant; var Range: OleVariant; 
  6508.                        var OutputFileName: OleVariant; var From: OleVariant; var To_: OleVariant; 
  6509.                        var Item: OleVariant; var Copies: OleVariant; var Pages: OleVariant; 
  6510.                        var PageType: OleVariant; var PrintToFile: OleVariant; 
  6511.                        var Collate: OleVariant; var ActivePrinterMacGX: OleVariant; 
  6512.                        var ManualDuplexPrint: OleVariant; var PrintZoomColumn: OleVariant; 
  6513.                        var PrintZoomRow: OleVariant; var PrintZoomPaperWidth: OleVariant; 
  6514.                        var PrintZoomPaperHeight: OleVariant); safecall;
  6515.     function Get_UsableWidth: Integer; safecall;
  6516.     function Get_UsableHeight: Integer; safecall;
  6517.     function Get_EnvelopeVisible: WordBool; safecall;
  6518.     procedure Set_EnvelopeVisible(prop: WordBool); safecall;
  6519.     function Get_DisplayRightRuler: WordBool; safecall;
  6520.     procedure Set_DisplayRightRuler(prop: WordBool); safecall;
  6521.     function Get_DisplayLeftScrollBar: WordBool; safecall;
  6522.     procedure Set_DisplayLeftScrollBar(prop: WordBool); safecall;
  6523.     function Get_Visible: WordBool; safecall;
  6524.     procedure Set_Visible(prop: WordBool); safecall;
  6525.     property Application_: Application_ read Get_Application_;
  6526.     property Creator: Integer read Get_Creator;
  6527.     property Parent: IDispatch read Get_Parent;
  6528.     property ActivePane: Pane read Get_ActivePane;
  6529.     property Document: Document read Get_Document;
  6530.     property Panes: Panes read Get_Panes;
  6531.     property Selection: Selection read Get_Selection;
  6532.     property Left: Integer read Get_Left write Set_Left;
  6533.     property Top: Integer read Get_Top write Set_Top;
  6534.     property Width: Integer read Get_Width write Set_Width;
  6535.     property Height: Integer read Get_Height write Set_Height;
  6536.     property Split: WordBool read Get_Split write Set_Split;
  6537.     property SplitVertical: Integer read Get_SplitVertical write Set_SplitVertical;
  6538.     property Caption: WideString read Get_Caption write Set_Caption;
  6539.     property WindowState: WdWindowState read Get_WindowState write Set_WindowState;
  6540.     property DisplayRulers: WordBool read Get_DisplayRulers write Set_DisplayRulers;
  6541.     property DisplayVerticalRuler: WordBool read Get_DisplayVerticalRuler write Set_DisplayVerticalRuler;
  6542.     property View: View read Get_View;
  6543.     property Type_: WdWindowType read Get_Type_;
  6544.     property Next: Window_ read Get_Next;
  6545.     property Previous: Window_ read Get_Previous;
  6546.     property WindowNumber: Integer read Get_WindowNumber;
  6547.     property DisplayVerticalScrollBar: WordBool read Get_DisplayVerticalScrollBar write Set_DisplayVerticalScrollBar;
  6548.     property DisplayHorizontalScrollBar: WordBool read Get_DisplayHorizontalScrollBar write Set_DisplayHorizontalScrollBar;
  6549.     property StyleAreaWidth: Single read Get_StyleAreaWidth write Set_StyleAreaWidth;
  6550.     property DisplayScreenTips: WordBool read Get_DisplayScreenTips write Set_DisplayScreenTips;
  6551.     property HorizontalPercentScrolled: Integer read Get_HorizontalPercentScrolled write Set_HorizontalPercentScrolled;
  6552.     property VerticalPercentScrolled: Integer read Get_VerticalPercentScrolled write Set_VerticalPercentScrolled;
  6553.     property DocumentMap: WordBool read Get_DocumentMap write Set_DocumentMap;
  6554.     property Active: WordBool read Get_Active;
  6555.     property DocumentMapPercentWidth: Integer read Get_DocumentMapPercentWidth write Set_DocumentMapPercentWidth;
  6556.     property Index: Integer read Get_Index;
  6557.     property IMEMode: WdIMEMode read Get_IMEMode write Set_IMEMode;
  6558.     property UsableWidth: Integer read Get_UsableWidth;
  6559.     property UsableHeight: Integer read Get_UsableHeight;
  6560.     property EnvelopeVisible: WordBool read Get_EnvelopeVisible write Set_EnvelopeVisible;
  6561.     property DisplayRightRuler: WordBool read Get_DisplayRightRuler write Set_DisplayRightRuler;
  6562.     property DisplayLeftScrollBar: WordBool read Get_DisplayLeftScrollBar write Set_DisplayLeftScrollBar;
  6563.     property Visible: WordBool read Get_Visible write Set_Visible;
  6564.   end;
  6565.  
  6566. // *********************************************************************//
  6567. // DispIntf:  Window_Disp
  6568. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6569. // GUID:      {00020962-0000-0000-C000-000000000046}
  6570. // *********************************************************************//
  6571.   Window_Disp = dispinterface
  6572.     ['{00020962-0000-0000-C000-000000000046}']
  6573.     property Application_: Application_ readonly dispid 1000;
  6574.     property Creator: Integer readonly dispid 1001;
  6575.     property Parent: IDispatch readonly dispid 1002;
  6576.     property ActivePane: Pane readonly dispid 1;
  6577.     property Document: Document readonly dispid 2;
  6578.     property Panes: Panes readonly dispid 3;
  6579.     property Selection: Selection readonly dispid 4;
  6580.     property Left: Integer dispid 5;
  6581.     property Top: Integer dispid 6;
  6582.     property Width: Integer dispid 7;
  6583.     property Height: Integer dispid 8;
  6584.     property Split: WordBool dispid 9;
  6585.     property SplitVertical: Integer dispid 10;
  6586.     property Caption: WideString dispid 0;
  6587.     property WindowState: WdWindowState dispid 11;
  6588.     property DisplayRulers: WordBool dispid 12;
  6589.     property DisplayVerticalRuler: WordBool dispid 13;
  6590.     property View: View readonly dispid 14;
  6591.     property Type_: WdWindowType readonly dispid 15;
  6592.     property Next: Window_ readonly dispid 16;
  6593.     property Previous: Window_ readonly dispid 17;
  6594.     property WindowNumber: Integer readonly dispid 18;
  6595.     property DisplayVerticalScrollBar: WordBool dispid 19;
  6596.     property DisplayHorizontalScrollBar: WordBool dispid 20;
  6597.     property StyleAreaWidth: Single dispid 21;
  6598.     property DisplayScreenTips: WordBool dispid 22;
  6599.     property HorizontalPercentScrolled: Integer dispid 23;
  6600.     property VerticalPercentScrolled: Integer dispid 24;
  6601.     property DocumentMap: WordBool dispid 25;
  6602.     property Active: WordBool readonly dispid 26;
  6603.     property DocumentMapPercentWidth: Integer dispid 27;
  6604.     property Index: Integer readonly dispid 28;
  6605.     property IMEMode: WdIMEMode dispid 30;
  6606.     procedure Activate; dispid 100;
  6607.     procedure Close(var SaveChanges: OleVariant; var RouteDocument: OleVariant); dispid 102;
  6608.     procedure LargeScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6609.                           var ToLeft: OleVariant); dispid 103;
  6610.     procedure SmallScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6611.                           var ToLeft: OleVariant); dispid 104;
  6612.     function NewWindow: Window_; dispid 105;
  6613.     procedure PrintOutOld(var Background: OleVariant; var Append: OleVariant; 
  6614.                           var Range: OleVariant; var OutputFileName: OleVariant; 
  6615.                           var From: OleVariant; var To_: OleVariant; var Item: OleVariant; 
  6616.                           var Copies: OleVariant; var Pages: OleVariant; var PageType: OleVariant; 
  6617.                           var PrintToFile: OleVariant; var Collate: OleVariant; 
  6618.                           var ActivePrinterMacGX: OleVariant; var ManualDuplexPrint: OleVariant); dispid 107;
  6619.     procedure PageScroll(var Down: OleVariant; var Up: OleVariant); dispid 108;
  6620.     procedure SetFocus; dispid 109;
  6621.     function RangeFromPoint(x: Integer; y: Integer): IDispatch; dispid 110;
  6622.     procedure ScrollIntoView(const obj: IDispatch; var Start: OleVariant); dispid 111;
  6623.     procedure GetPoint(out ScreenPixelsLeft: Integer; out ScreenPixelsTop: Integer; 
  6624.                        out ScreenPixelsWidth: Integer; out ScreenPixelsHeight: Integer; 
  6625.                        const obj: IDispatch); dispid 112;
  6626.     procedure PrintOut(var Background: OleVariant; var Append: OleVariant; var Range: OleVariant; 
  6627.                        var OutputFileName: OleVariant; var From: OleVariant; var To_: OleVariant; 
  6628.                        var Item: OleVariant; var Copies: OleVariant; var Pages: OleVariant; 
  6629.                        var PageType: OleVariant; var PrintToFile: OleVariant; 
  6630.                        var Collate: OleVariant; var ActivePrinterMacGX: OleVariant; 
  6631.                        var ManualDuplexPrint: OleVariant; var PrintZoomColumn: OleVariant; 
  6632.                        var PrintZoomRow: OleVariant; var PrintZoomPaperWidth: OleVariant; 
  6633.                        var PrintZoomPaperHeight: OleVariant); dispid 444;
  6634.     property UsableWidth: Integer readonly dispid 31;
  6635.     property UsableHeight: Integer readonly dispid 32;
  6636.     property EnvelopeVisible: WordBool dispid 33;
  6637.     property DisplayRightRuler: WordBool dispid 35;
  6638.     property DisplayLeftScrollBar: WordBool dispid 34;
  6639.     property Visible: WordBool dispid 36;
  6640.   end;
  6641.  
  6642. // *********************************************************************//
  6643. // Interface: Windows
  6644. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6645. // GUID:      {00020961-0000-0000-C000-000000000046}
  6646. // *********************************************************************//
  6647.   Windows = interface(IDispatch)
  6648.     ['{00020961-0000-0000-C000-000000000046}']
  6649.     function Get__NewEnum: IUnknown; safecall;
  6650.     function Get_Count: Integer; safecall;
  6651.     function Get_Application_: Application_; safecall;
  6652.     function Get_Creator: Integer; safecall;
  6653.     function Get_Parent: IDispatch; safecall;
  6654.     function Item(var Index: OleVariant): Window_; safecall;
  6655.     function Add(var Window_: OleVariant): Window_; safecall;
  6656.     procedure Arrange(var ArrangeStyle: OleVariant); safecall;
  6657.     property _NewEnum: IUnknown read Get__NewEnum;
  6658.     property Count: Integer read Get_Count;
  6659.     property Application_: Application_ read Get_Application_;
  6660.     property Creator: Integer read Get_Creator;
  6661.     property Parent: IDispatch read Get_Parent;
  6662.   end;
  6663.  
  6664. // *********************************************************************//
  6665. // DispIntf:  WindowsDisp
  6666. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6667. // GUID:      {00020961-0000-0000-C000-000000000046}
  6668. // *********************************************************************//
  6669.   WindowsDisp = dispinterface
  6670.     ['{00020961-0000-0000-C000-000000000046}']
  6671.     property _NewEnum: IUnknown readonly dispid -4;
  6672.     property Count: Integer readonly dispid 2;
  6673.     property Application_: Application_ readonly dispid 1000;
  6674.     property Creator: Integer readonly dispid 1001;
  6675.     property Parent: IDispatch readonly dispid 1002;
  6676.     function Item(var Index: OleVariant): Window_; dispid 0;
  6677.     function Add(var Window_: OleVariant): Window_; dispid 10;
  6678.     procedure Arrange(var ArrangeStyle: OleVariant); dispid 11;
  6679.   end;
  6680.  
  6681. // *********************************************************************//
  6682. // Interface: Pane
  6683. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6684. // GUID:      {00020960-0000-0000-C000-000000000046}
  6685. // *********************************************************************//
  6686.   Pane = interface(IDispatch)
  6687.     ['{00020960-0000-0000-C000-000000000046}']
  6688.     function Get_Application_: Application_; safecall;
  6689.     function Get_Creator: Integer; safecall;
  6690.     function Get_Parent: IDispatch; safecall;
  6691.     function Get_Document: Document; safecall;
  6692.     function Get_Selection: Selection; safecall;
  6693.     function Get_DisplayRulers: WordBool; safecall;
  6694.     procedure Set_DisplayRulers(prop: WordBool); safecall;
  6695.     function Get_DisplayVerticalRuler: WordBool; safecall;
  6696.     procedure Set_DisplayVerticalRuler(prop: WordBool); safecall;
  6697.     function Get_Zooms: Zooms; safecall;
  6698.     function Get_Index: Integer; safecall;
  6699.     function Get_View: View; safecall;
  6700.     function Get_Next: Pane; safecall;
  6701.     function Get_Previous: Pane; safecall;
  6702.     function Get_HorizontalPercentScrolled: Integer; safecall;
  6703.     procedure Set_HorizontalPercentScrolled(prop: Integer); safecall;
  6704.     function Get_VerticalPercentScrolled: Integer; safecall;
  6705.     procedure Set_VerticalPercentScrolled(prop: Integer); safecall;
  6706.     function Get_MinimumFontSize: Integer; safecall;
  6707.     procedure Set_MinimumFontSize(prop: Integer); safecall;
  6708.     function Get_BrowseToWindow: WordBool; safecall;
  6709.     procedure Set_BrowseToWindow(prop: WordBool); safecall;
  6710.     function Get_BrowseWidth: Integer; safecall;
  6711.     procedure Activate; safecall;
  6712.     procedure Close; safecall;
  6713.     procedure LargeScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6714.                           var ToLeft: OleVariant); safecall;
  6715.     procedure SmallScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6716.                           var ToLeft: OleVariant); safecall;
  6717.     procedure AutoScroll(Velocity: Integer); safecall;
  6718.     procedure PageScroll(var Down: OleVariant; var Up: OleVariant); safecall;
  6719.     procedure NewFrameset; safecall;
  6720.     procedure TOCInFrameset; safecall;
  6721.     function Get_Frameset: Frameset; safecall;
  6722.     property Application_: Application_ read Get_Application_;
  6723.     property Creator: Integer read Get_Creator;
  6724.     property Parent: IDispatch read Get_Parent;
  6725.     property Document: Document read Get_Document;
  6726.     property Selection: Selection read Get_Selection;
  6727.     property DisplayRulers: WordBool read Get_DisplayRulers write Set_DisplayRulers;
  6728.     property DisplayVerticalRuler: WordBool read Get_DisplayVerticalRuler write Set_DisplayVerticalRuler;
  6729.     property Zooms: Zooms read Get_Zooms;
  6730.     property Index: Integer read Get_Index;
  6731.     property View: View read Get_View;
  6732.     property Next: Pane read Get_Next;
  6733.     property Previous: Pane read Get_Previous;
  6734.     property HorizontalPercentScrolled: Integer read Get_HorizontalPercentScrolled write Set_HorizontalPercentScrolled;
  6735.     property VerticalPercentScrolled: Integer read Get_VerticalPercentScrolled write Set_VerticalPercentScrolled;
  6736.     property MinimumFontSize: Integer read Get_MinimumFontSize write Set_MinimumFontSize;
  6737.     property BrowseToWindow: WordBool read Get_BrowseToWindow write Set_BrowseToWindow;
  6738.     property BrowseWidth: Integer read Get_BrowseWidth;
  6739.     property Frameset: Frameset read Get_Frameset;
  6740.   end;
  6741.  
  6742. // *********************************************************************//
  6743. // DispIntf:  PaneDisp
  6744. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6745. // GUID:      {00020960-0000-0000-C000-000000000046}
  6746. // *********************************************************************//
  6747.   PaneDisp = dispinterface
  6748.     ['{00020960-0000-0000-C000-000000000046}']
  6749.     property Application_: Application_ readonly dispid 1000;
  6750.     property Creator: Integer readonly dispid 1001;
  6751.     property Parent: IDispatch readonly dispid 1002;
  6752.     property Document: Document readonly dispid 1;
  6753.     property Selection: Selection readonly dispid 3;
  6754.     property DisplayRulers: WordBool dispid 4;
  6755.     property DisplayVerticalRuler: WordBool dispid 5;
  6756.     property Zooms: Zooms readonly dispid 7;
  6757.     property Index: Integer readonly dispid 9;
  6758.     property View: View readonly dispid 10;
  6759.     property Next: Pane readonly dispid 11;
  6760.     property Previous: Pane readonly dispid 12;
  6761.     property HorizontalPercentScrolled: Integer dispid 13;
  6762.     property VerticalPercentScrolled: Integer dispid 14;
  6763.     property MinimumFontSize: Integer dispid 15;
  6764.     property BrowseToWindow: WordBool dispid 16;
  6765.     property BrowseWidth: Integer readonly dispid 17;
  6766.     procedure Activate; dispid 100;
  6767.     procedure Close; dispid 101;
  6768.     procedure LargeScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6769.                           var ToLeft: OleVariant); dispid 102;
  6770.     procedure SmallScroll(var Down: OleVariant; var Up: OleVariant; var ToRight: OleVariant; 
  6771.                           var ToLeft: OleVariant); dispid 103;
  6772.     procedure AutoScroll(Velocity: Integer); dispid 104;
  6773.     procedure PageScroll(var Down: OleVariant; var Up: OleVariant); dispid 105;
  6774.     procedure NewFrameset; dispid 106;
  6775.     procedure TOCInFrameset; dispid 107;
  6776.     property Frameset: Frameset readonly dispid 18;
  6777.   end;
  6778.  
  6779. // *********************************************************************//
  6780. // Interface: Panes
  6781. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6782. // GUID:      {0002095F-0000-0000-C000-000000000046}
  6783. // *********************************************************************//
  6784.   Panes = interface(IDispatch)
  6785.     ['{0002095F-0000-0000-C000-000000000046}']
  6786.     function Get__NewEnum: IUnknown; safecall;
  6787.     function Get_Count: Integer; safecall;
  6788.     function Get_Application_: Application_; safecall;
  6789.     function Get_Creator: Integer; safecall;
  6790.     function Get_Parent: IDispatch; safecall;
  6791.     function Item(Index: Integer): Pane; safecall;
  6792.     function Add(var SplitVertical: OleVariant): Pane; safecall;
  6793.     property _NewEnum: IUnknown read Get__NewEnum;
  6794.     property Count: Integer read Get_Count;
  6795.     property Application_: Application_ read Get_Application_;
  6796.     property Creator: Integer read Get_Creator;
  6797.     property Parent: IDispatch read Get_Parent;
  6798.   end;
  6799.  
  6800. // *********************************************************************//
  6801. // DispIntf:  PanesDisp
  6802. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6803. // GUID:      {0002095F-0000-0000-C000-000000000046}
  6804. // *********************************************************************//
  6805.   PanesDisp = dispinterface
  6806.     ['{0002095F-0000-0000-C000-000000000046}']
  6807.     property _NewEnum: IUnknown readonly dispid -4;
  6808.     property Count: Integer readonly dispid 2;
  6809.     property Application_: Application_ readonly dispid 1000;
  6810.     property Creator: Integer readonly dispid 1001;
  6811.     property Parent: IDispatch readonly dispid 1002;
  6812.     function Item(Index: Integer): Pane; dispid 0;
  6813.     function Add(var SplitVertical: OleVariant): Pane; dispid 3;
  6814.   end;
  6815.  
  6816. // *********************************************************************//
  6817. // Interface: Range
  6818. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  6819. // GUID:      {0002095E-0000-0000-C000-000000000046}
  6820. // *********************************************************************//
  6821.   Range = interface(IDispatch)
  6822.     ['{0002095E-0000-0000-C000-000000000046}']
  6823.     function Get_Text: WideString; safecall;
  6824.     procedure Set_Text(const prop: WideString); safecall;
  6825.     function Get_FormattedText: Range; safecall;
  6826.     procedure Set_FormattedText(const prop: Range); safecall;
  6827.     function Get_Start: Integer; safecall;
  6828.     procedure Set_Start(prop: Integer); safecall;
  6829.     function Get_End_: Integer; safecall;
  6830.     procedure Set_End_(prop: Integer); safecall;
  6831.     function Get_Font: Font; safecall;
  6832.     procedure Set_Font(const prop: Font); safecall;
  6833.     function Get_Duplicate: Range; safecall;
  6834.     function Get_StoryType: WdStoryType; safecall;
  6835.     function Get_Tables: Tables; safecall;
  6836.     function Get_Words: Words; safecall;
  6837.     function Get_Sentences: Sentences; safecall;
  6838.     function Get_Characters: Characters; safecall;
  6839.     function Get_Footnotes: Footnotes; safecall;
  6840.     function Get_Endnotes: Endnotes; safecall;
  6841.     function Get_Comments: Comments; safecall;
  6842.     function Get_Cells: Cells; safecall;
  6843.     function Get_Sections: Sections; safecall;
  6844.     function Get_Paragraphs: Paragraphs; safecall;
  6845.     function Get_Borders: Borders; safecall;
  6846.     procedure Set_Borders(const prop: Borders); safecall;
  6847.     function Get_Shading: Shading; safecall;
  6848.     function Get_TextRetrievalMode: TextRetrievalMode; safecall;
  6849.     procedure Set_TextRetrievalMode(const prop: TextRetrievalMode); safecall;
  6850.     function Get_Fields: Fields; safecall;
  6851.     function Get_FormFields: FormFields; safecall;
  6852.     function Get_Frames: Frames; safecall;
  6853.     function Get_ParagraphFormat: ParagraphFormat; safecall;
  6854.     procedure Set_ParagraphFormat(const prop: ParagraphFormat); safecall;
  6855.     function Get_ListFormat: ListFormat; safecall;
  6856.     function Get_Bookmarks: Bookmarks; safecall;
  6857.     function Get_Application_: Application_; safecall;
  6858.     function Get_Creator: Integer; safecall;
  6859.     function Get_Parent: IDispatch; safecall;
  6860.     function Get_Bold: Integer; safecall;
  6861.     procedure Set_Bold(prop: Integer); safecall;
  6862.     function Get_Italic: Integer; safecall;
  6863.     procedure Set_Italic(prop: Integer); safecall;
  6864.     function Get_Underline: WdUnderline; safecall;
  6865.     procedure Set_Underline(prop: WdUnderline); safecall;
  6866.     function Get_EmphasisMark: WdEmphasisMark; safecall;
  6867.     procedure Set_EmphasisMark(prop: WdEmphasisMark); safecall;
  6868.     function Get_DisableCharacterSpaceGrid: WordBool; safecall;
  6869.     procedure Set_DisableCharacterSpaceGrid(prop: WordBool); safecall;
  6870.     function Get_Revisions: Revisions; safecall;
  6871.     function Get_Style: OleVariant; safecall;
  6872.     procedure Set_Style(var prop: OleVariant); safecall;
  6873.     function Get_StoryLength: Integer; safecall;
  6874.     function Get_LanguageID: WdLanguageID; safecall;
  6875.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  6876.     function Get_SynonymInfo: SynonymInfo; safecall;
  6877.     function Get_Hyperlinks: Hyperlinks; safecall;
  6878.     function Get_ListParagraphs: ListParagraphs; safecall;
  6879.     function Get_Subdocuments: Subdocuments; safecall;
  6880.     function Get_GrammarChecked: WordBool; safecall;
  6881.     procedure Set_GrammarChecked(prop: WordBool); safecall;
  6882.     function Get_SpellingChecked: WordBool; safecall;
  6883.     procedure Set_SpellingChecked(prop: WordBool); safecall;
  6884.     function Get_HighlightColorIndex: WdColorIndex; safecall;
  6885.     procedure Set_HighlightColorIndex(prop: WdColorIndex); safecall;
  6886.     function Get_Columns: Columns; safecall;
  6887.     function Get_Rows: Rows; safecall;
  6888.     function Get_CanEdit: Integer; safecall;
  6889.     function Get_CanPaste: Integer; safecall;
  6890.     function Get_IsEndOfRowMark: WordBool; safecall;
  6891.     function Get_BookmarkID: Integer; safecall;
  6892.     function Get_PreviousBookmarkID: Integer; safecall;
  6893.     function Get_Find: Find; safecall;
  6894.     function Get_PageSetup: PageSetup; safecall;
  6895.     procedure Set_PageSetup(const prop: PageSetup); safecall;
  6896.     function Get_ShapeRange: ShapeRange; safecall;
  6897.     function Get_Case_: WdCharacterCase; safecall;
  6898.     procedure Set_Case_(prop: WdCharacterCase); safecall;
  6899.     function Get_Information(Type_: WdInformation): OleVariant; safecall;
  6900.     function Get_ReadabilityStatistics: ReadabilityStatistics; safecall;
  6901.     function Get_GrammaticalErrors: ProofreadingErrors; safecall;
  6902.     function Get_SpellingErrors: ProofreadingErrors; safecall;
  6903.     function Get_Orientation: WdTextOrientation; safecall;
  6904.     procedure Set_Orientation(prop: WdTextOrientation); safecall;
  6905.     function Get_InlineShapes: InlineShapes; safecall;
  6906.     function Get_NextStoryRange: Range; safecall;
  6907.     function Get_LanguageIDFarEast: WdLanguageID; safecall;
  6908.     procedure Set_LanguageIDFarEast(prop: WdLanguageID); safecall;
  6909.     function Get_LanguageIDOther: WdLanguageID; safecall;
  6910.     procedure Set_LanguageIDOther(prop: WdLanguageID); safecall;
  6911.     procedure Select; safecall;
  6912.     procedure SetRange(Start: Integer; End_: Integer); safecall;
  6913.     procedure Collapse(var Direction: OleVariant); safecall;
  6914.     procedure InsertBefore(const Text: WideString); safecall;
  6915.     procedure InsertAfter(const Text: WideString); safecall;
  6916.     function Next(var Unit_: OleVariant; var Count: OleVariant): Range; safecall;
  6917.     function Previous(var Unit_: OleVariant; var Count: OleVariant): Range; safecall;
  6918.     function StartOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; safecall;
  6919.     function EndOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; safecall;
  6920.     function Move(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  6921.     function MoveStart(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  6922.     function MoveEnd(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  6923.     function MoveWhile(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  6924.     function MoveStartWhile(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  6925.     function MoveEndWhile(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  6926.     function MoveUntil(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  6927.     function MoveStartUntil(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  6928.     function MoveEndUntil(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  6929.     procedure Cut; safecall;
  6930.     procedure Copy; safecall;
  6931.     procedure Paste; safecall;
  6932.     procedure InsertBreak(var Type_: OleVariant); safecall;
  6933.     procedure InsertFile(const FileName: WideString; var Range: OleVariant; 
  6934.                          var ConfirmConversions: OleVariant; var Link: OleVariant; 
  6935.                          var Attachment: OleVariant); safecall;
  6936.     function InStory(const Range: Range): WordBool; safecall;
  6937.     function InRange(const Range: Range): WordBool; safecall;
  6938.     function Delete(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  6939.     procedure WholeStory; safecall;
  6940.     function Expand(var Unit_: OleVariant): Integer; safecall;
  6941.     procedure InsertParagraph; safecall;
  6942.     procedure InsertParagraphAfter; safecall;
  6943.     function ConvertToTableOld(var Separator: OleVariant; var NumRows: OleVariant; 
  6944.                                var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  6945.                                var Format: OleVariant; var ApplyBorders: OleVariant; 
  6946.                                var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  6947.                                var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  6948.                                var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  6949.                                var ApplyLastColumn: OleVariant; var AutoFit: OleVariant): Table; safecall;
  6950.     procedure InsertDateTimeOld(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  6951.                                 var InsertAsFullWidth: OleVariant); safecall;
  6952.     procedure InsertSymbol(CharacterNumber: Integer; var Font: OleVariant; var Unicode: OleVariant; 
  6953.                            var Bias: OleVariant); safecall;
  6954.     procedure InsertCrossReference(var ReferenceType: OleVariant; ReferenceKind: WdReferenceKind; 
  6955.                                    var ReferenceItem: OleVariant; 
  6956.                                    var InsertAsHyperlink: OleVariant; 
  6957.                                    var IncludePosition: OleVariant); safecall;
  6958.     procedure InsertCaption(var Label_: OleVariant; var Title: OleVariant; 
  6959.                             var TitleAutoText: OleVariant; var Position: OleVariant); safecall;
  6960.     procedure CopyAsPicture; safecall;
  6961.     procedure SortOld(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  6962.                       var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  6963.                       var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  6964.                       var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  6965.                       var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  6966.                       var SortColumn: OleVariant; var Separator: OleVariant; 
  6967.                       var CaseSensitive: OleVariant; var LanguageID: OleVariant); safecall;
  6968.     procedure SortAscending; safecall;
  6969.     procedure SortDescending; safecall;
  6970.     function IsEqual(const Range: Range): WordBool; safecall;
  6971.     function Calculate: Single; safecall;
  6972.     function GoTo_(var What: OleVariant; var Which: OleVariant; var Count: OleVariant; 
  6973.                    var Name: OleVariant): Range; safecall;
  6974.     function GoToNext(What: WdGoToItem): Range; safecall;
  6975.     function GoToPrevious(What: WdGoToItem): Range; safecall;
  6976.     procedure PasteSpecial(var IconIndex: OleVariant; var Link: OleVariant; 
  6977.                            var Placement: OleVariant; var DisplayAsIcon: OleVariant; 
  6978.                            var DataType: OleVariant; var IconFileName: OleVariant; 
  6979.                            var IconLabel: OleVariant); safecall;
  6980.     procedure LookupNameProperties; safecall;
  6981.     function ComputeStatistics(Statistic: WdStatistic): Integer; safecall;
  6982.     procedure Relocate(Direction: Integer); safecall;
  6983.     procedure CheckSynonyms; safecall;
  6984.     procedure SubscribeTo(const Edition: WideString; var Format: OleVariant); safecall;
  6985.     procedure CreatePublisher(var Edition: OleVariant; var ContainsPICT: OleVariant; 
  6986.                               var ContainsRTF: OleVariant; var ContainsText: OleVariant); safecall;
  6987.     procedure InsertAutoText; safecall;
  6988.     procedure InsertDatabase(var Format: OleVariant; var Style: OleVariant; 
  6989.                              var LinkToSource: OleVariant; var Connection: OleVariant; 
  6990.                              var SQLStatement: OleVariant; var SQLStatement1: OleVariant; 
  6991.                              var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  6992.                              var WritePasswordDocument: OleVariant; 
  6993.                              var WritePasswordTemplate: OleVariant; var DataSource: OleVariant; 
  6994.                              var From: OleVariant; var To_: OleVariant; 
  6995.                              var IncludeFields: OleVariant); safecall;
  6996.     procedure AutoFormat; safecall;
  6997.     procedure CheckGrammar; safecall;
  6998.     procedure CheckSpelling(var CustomDictionary: OleVariant; var IgnoreUppercase: OleVariant; 
  6999.                             var AlwaysSuggest: OleVariant; var CustomDictionary2: OleVariant; 
  7000.                             var CustomDictionary3: OleVariant; var CustomDictionary4: OleVariant; 
  7001.                             var CustomDictionary5: OleVariant; var CustomDictionary6: OleVariant; 
  7002.                             var CustomDictionary7: OleVariant; var CustomDictionary8: OleVariant; 
  7003.                             var CustomDictionary9: OleVariant; var CustomDictionary10: OleVariant); safecall;
  7004.     function GetSpellingSuggestions(var CustomDictionary: OleVariant; 
  7005.                                     var IgnoreUppercase: OleVariant; 
  7006.                                     var MainDictionary: OleVariant; var SuggestionMode: OleVariant; 
  7007.                                     var CustomDictionary2: OleVariant; 
  7008.                                     var CustomDictionary3: OleVariant; 
  7009.                                     var CustomDictionary4: OleVariant; 
  7010.                                     var CustomDictionary5: OleVariant; 
  7011.                                     var CustomDictionary6: OleVariant; 
  7012.                                     var CustomDictionary7: OleVariant; 
  7013.                                     var CustomDictionary8: OleVariant; 
  7014.                                     var CustomDictionary9: OleVariant; 
  7015.                                     var CustomDictionary10: OleVariant): SpellingSuggestions; safecall;
  7016.     procedure InsertParagraphBefore; safecall;
  7017.     procedure NextSubdocument; safecall;
  7018.     procedure PreviousSubdocument; safecall;
  7019.     procedure ConvertHangulAndHanja(var ConversionsMode: OleVariant; 
  7020.                                     var FastConversion: OleVariant; 
  7021.                                     var CheckHangulEnding: OleVariant; 
  7022.                                     var EnableRecentOrdering: OleVariant; 
  7023.                                     var CustomDictionary: OleVariant); safecall;
  7024.     procedure PasteAsNestedTable; safecall;
  7025.     procedure ModifyEnclosure(var Style: OleVariant; var Symbol: OleVariant; 
  7026.                               var EnclosedText: OleVariant); safecall;
  7027.     procedure PhoneticGuide(const Text: WideString; Alignment: WdPhoneticGuideAlignmentType; 
  7028.                             Raise_: Integer; FontSize: Integer; const FontName: WideString); safecall;
  7029.     procedure InsertDateTime(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  7030.                              var InsertAsFullWidth: OleVariant; var DateLanguage: OleVariant; 
  7031.                              var CalendarType: OleVariant); safecall;
  7032.     procedure Sort(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  7033.                    var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  7034.                    var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  7035.                    var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  7036.                    var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  7037.                    var SortColumn: OleVariant; var Separator: OleVariant; 
  7038.                    var CaseSensitive: OleVariant; var BidiSort: OleVariant; 
  7039.                    var IgnoreThe: OleVariant; var IgnoreKashida: OleVariant; 
  7040.                    var IgnoreDiacritics: OleVariant; var IgnoreHe: OleVariant; 
  7041.                    var LanguageID: OleVariant); safecall;
  7042.     procedure DetectLanguage; safecall;
  7043.     function ConvertToTable(var Separator: OleVariant; var NumRows: OleVariant; 
  7044.                             var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  7045.                             var Format: OleVariant; var ApplyBorders: OleVariant; 
  7046.                             var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  7047.                             var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  7048.                             var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  7049.                             var ApplyLastColumn: OleVariant; var AutoFit: OleVariant; 
  7050.                             var AutoFitBehavior: OleVariant; var DefaultTableBehavior: OleVariant): Table; safecall;
  7051.     procedure TCSCConverter(WdTCSCConverterDirection: WdTCSCConverterDirection; 
  7052.                             CommonTerms: WordBool; UseVariants: WordBool); safecall;
  7053.     function Get_LanguageDetected: WordBool; safecall;
  7054.     procedure Set_LanguageDetected(prop: WordBool); safecall;
  7055.     function Get_FitTextWidth: Single; safecall;
  7056.     procedure Set_FitTextWidth(prop: Single); safecall;
  7057.     function Get_HorizontalInVertical: WdHorizontalInVerticalType; safecall;
  7058.     procedure Set_HorizontalInVertical(prop: WdHorizontalInVerticalType); safecall;
  7059.     function Get_TwoLinesInOne: WdTwoLinesInOneType; safecall;
  7060.     procedure Set_TwoLinesInOne(prop: WdTwoLinesInOneType); safecall;
  7061.     function Get_CombineCharacters: WordBool; safecall;
  7062.     procedure Set_CombineCharacters(prop: WordBool); safecall;
  7063.     function Get_NoProofing: Integer; safecall;
  7064.     procedure Set_NoProofing(prop: Integer); safecall;
  7065.     function Get_TopLevelTables: Tables; safecall;
  7066.     function Get_Scripts: Scripts; safecall;
  7067.     function Get_CharacterWidth: WdCharacterWidth; safecall;
  7068.     procedure Set_CharacterWidth(prop: WdCharacterWidth); safecall;
  7069.     function Get_Kana: WdKana; safecall;
  7070.     procedure Set_Kana(prop: WdKana); safecall;
  7071.     function Get_BoldBi: Integer; safecall;
  7072.     procedure Set_BoldBi(prop: Integer); safecall;
  7073.     function Get_ItalicBi: Integer; safecall;
  7074.     procedure Set_ItalicBi(prop: Integer); safecall;
  7075.     function Get_ID: WideString; safecall;
  7076.     procedure Set_ID(const prop: WideString); safecall;
  7077.     property Text: WideString read Get_Text write Set_Text;
  7078.     property FormattedText: Range read Get_FormattedText write Set_FormattedText;
  7079.     property Start: Integer read Get_Start write Set_Start;
  7080.     property End_: Integer read Get_End_ write Set_End_;
  7081.     property Font: Font read Get_Font write Set_Font;
  7082.     property Duplicate: Range read Get_Duplicate;
  7083.     property StoryType: WdStoryType read Get_StoryType;
  7084.     property Tables: Tables read Get_Tables;
  7085.     property Words: Words read Get_Words;
  7086.     property Sentences: Sentences read Get_Sentences;
  7087.     property Characters: Characters read Get_Characters;
  7088.     property Footnotes: Footnotes read Get_Footnotes;
  7089.     property Endnotes: Endnotes read Get_Endnotes;
  7090.     property Comments: Comments read Get_Comments;
  7091.     property Cells: Cells read Get_Cells;
  7092.     property Sections: Sections read Get_Sections;
  7093.     property Paragraphs: Paragraphs read Get_Paragraphs;
  7094.     property Borders: Borders read Get_Borders write Set_Borders;
  7095.     property Shading: Shading read Get_Shading;
  7096.     property TextRetrievalMode: TextRetrievalMode read Get_TextRetrievalMode write Set_TextRetrievalMode;
  7097.     property Fields: Fields read Get_Fields;
  7098.     property FormFields: FormFields read Get_FormFields;
  7099.     property Frames: Frames read Get_Frames;
  7100.     property ParagraphFormat: ParagraphFormat read Get_ParagraphFormat write Set_ParagraphFormat;
  7101.     property ListFormat: ListFormat read Get_ListFormat;
  7102.     property Bookmarks: Bookmarks read Get_Bookmarks;
  7103.     property Application_: Application_ read Get_Application_;
  7104.     property Creator: Integer read Get_Creator;
  7105.     property Parent: IDispatch read Get_Parent;
  7106.     property Bold: Integer read Get_Bold write Set_Bold;
  7107.     property Italic: Integer read Get_Italic write Set_Italic;
  7108.     property Underline: WdUnderline read Get_Underline write Set_Underline;
  7109.     property EmphasisMark: WdEmphasisMark read Get_EmphasisMark write Set_EmphasisMark;
  7110.     property DisableCharacterSpaceGrid: WordBool read Get_DisableCharacterSpaceGrid write Set_DisableCharacterSpaceGrid;
  7111.     property Revisions: Revisions read Get_Revisions;
  7112.     property StoryLength: Integer read Get_StoryLength;
  7113.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  7114.     property SynonymInfo: SynonymInfo read Get_SynonymInfo;
  7115.     property Hyperlinks: Hyperlinks read Get_Hyperlinks;
  7116.     property ListParagraphs: ListParagraphs read Get_ListParagraphs;
  7117.     property Subdocuments: Subdocuments read Get_Subdocuments;
  7118.     property GrammarChecked: WordBool read Get_GrammarChecked write Set_GrammarChecked;
  7119.     property SpellingChecked: WordBool read Get_SpellingChecked write Set_SpellingChecked;
  7120.     property HighlightColorIndex: WdColorIndex read Get_HighlightColorIndex write Set_HighlightColorIndex;
  7121.     property Columns: Columns read Get_Columns;
  7122.     property Rows: Rows read Get_Rows;
  7123.     property CanEdit: Integer read Get_CanEdit;
  7124.     property CanPaste: Integer read Get_CanPaste;
  7125.     property IsEndOfRowMark: WordBool read Get_IsEndOfRowMark;
  7126.     property BookmarkID: Integer read Get_BookmarkID;
  7127.     property PreviousBookmarkID: Integer read Get_PreviousBookmarkID;
  7128.     property Find: Find read Get_Find;
  7129.     property PageSetup: PageSetup read Get_PageSetup write Set_PageSetup;
  7130.     property ShapeRange: ShapeRange read Get_ShapeRange;
  7131.     property Case_: WdCharacterCase read Get_Case_ write Set_Case_;
  7132.     property Information[Type_: WdInformation]: OleVariant read Get_Information;
  7133.     property ReadabilityStatistics: ReadabilityStatistics read Get_ReadabilityStatistics;
  7134.     property GrammaticalErrors: ProofreadingErrors read Get_GrammaticalErrors;
  7135.     property SpellingErrors: ProofreadingErrors read Get_SpellingErrors;
  7136.     property Orientation: WdTextOrientation read Get_Orientation write Set_Orientation;
  7137.     property InlineShapes: InlineShapes read Get_InlineShapes;
  7138.     property NextStoryRange: Range read Get_NextStoryRange;
  7139.     property LanguageIDFarEast: WdLanguageID read Get_LanguageIDFarEast write Set_LanguageIDFarEast;
  7140.     property LanguageIDOther: WdLanguageID read Get_LanguageIDOther write Set_LanguageIDOther;
  7141.     property LanguageDetected: WordBool read Get_LanguageDetected write Set_LanguageDetected;
  7142.     property FitTextWidth: Single read Get_FitTextWidth write Set_FitTextWidth;
  7143.     property HorizontalInVertical: WdHorizontalInVerticalType read Get_HorizontalInVertical write Set_HorizontalInVertical;
  7144.     property TwoLinesInOne: WdTwoLinesInOneType read Get_TwoLinesInOne write Set_TwoLinesInOne;
  7145.     property CombineCharacters: WordBool read Get_CombineCharacters write Set_CombineCharacters;
  7146.     property NoProofing: Integer read Get_NoProofing write Set_NoProofing;
  7147.     property TopLevelTables: Tables read Get_TopLevelTables;
  7148.     property Scripts: Scripts read Get_Scripts;
  7149.     property CharacterWidth: WdCharacterWidth read Get_CharacterWidth write Set_CharacterWidth;
  7150.     property Kana: WdKana read Get_Kana write Set_Kana;
  7151.     property BoldBi: Integer read Get_BoldBi write Set_BoldBi;
  7152.     property ItalicBi: Integer read Get_ItalicBi write Set_ItalicBi;
  7153.     property ID: WideString read Get_ID write Set_ID;
  7154.   end;
  7155.  
  7156. // *********************************************************************//
  7157. // DispIntf:  RangeDisp
  7158. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7159. // GUID:      {0002095E-0000-0000-C000-000000000046}
  7160. // *********************************************************************//
  7161.   RangeDisp = dispinterface
  7162.     ['{0002095E-0000-0000-C000-000000000046}']
  7163.     property Text: WideString dispid 0;
  7164.     property FormattedText: Range dispid 2;
  7165.     property Start: Integer dispid 3;
  7166.     property End_: Integer dispid 4;
  7167.     property Font: Font dispid 5;
  7168.     property Duplicate: Range readonly dispid 6;
  7169.     property StoryType: WdStoryType readonly dispid 7;
  7170.     property Tables: Tables readonly dispid 50;
  7171.     property Words: Words readonly dispid 51;
  7172.     property Sentences: Sentences readonly dispid 52;
  7173.     property Characters: Characters readonly dispid 53;
  7174.     property Footnotes: Footnotes readonly dispid 54;
  7175.     property Endnotes: Endnotes readonly dispid 55;
  7176.     property Comments: Comments readonly dispid 56;
  7177.     property Cells: Cells readonly dispid 57;
  7178.     property Sections: Sections readonly dispid 58;
  7179.     property Paragraphs: Paragraphs readonly dispid 59;
  7180.     property Borders: Borders dispid 1100;
  7181.     property Shading: Shading readonly dispid 61;
  7182.     property TextRetrievalMode: TextRetrievalMode dispid 62;
  7183.     property Fields: Fields readonly dispid 64;
  7184.     property FormFields: FormFields readonly dispid 65;
  7185.     property Frames: Frames readonly dispid 66;
  7186.     property ParagraphFormat: ParagraphFormat dispid 1102;
  7187.     property ListFormat: ListFormat readonly dispid 68;
  7188.     property Bookmarks: Bookmarks readonly dispid 75;
  7189.     property Application_: Application_ readonly dispid 1000;
  7190.     property Creator: Integer readonly dispid 1001;
  7191.     property Parent: IDispatch readonly dispid 1002;
  7192.     property Bold: Integer dispid 130;
  7193.     property Italic: Integer dispid 131;
  7194.     property Underline: WdUnderline dispid 139;
  7195.     property EmphasisMark: WdEmphasisMark dispid 140;
  7196.     property DisableCharacterSpaceGrid: WordBool dispid 141;
  7197.     property Revisions: Revisions readonly dispid 150;
  7198.     function Style: OleVariant; dispid 151;
  7199.     property StoryLength: Integer readonly dispid 152;
  7200.     property LanguageID: WdLanguageID dispid 153;
  7201.     property SynonymInfo: SynonymInfo readonly dispid 155;
  7202.     property Hyperlinks: Hyperlinks readonly dispid 156;
  7203.     property ListParagraphs: ListParagraphs readonly dispid 157;
  7204.     property Subdocuments: Subdocuments readonly dispid 159;
  7205.     property GrammarChecked: WordBool dispid 260;
  7206.     property SpellingChecked: WordBool dispid 261;
  7207.     property HighlightColorIndex: WdColorIndex dispid 301;
  7208.     property Columns: Columns readonly dispid 302;
  7209.     property Rows: Rows readonly dispid 303;
  7210.     property CanEdit: Integer readonly dispid 304;
  7211.     property CanPaste: Integer readonly dispid 305;
  7212.     property IsEndOfRowMark: WordBool readonly dispid 307;
  7213.     property BookmarkID: Integer readonly dispid 308;
  7214.     property PreviousBookmarkID: Integer readonly dispid 309;
  7215.     property Find: Find readonly dispid 262;
  7216.     property PageSetup: PageSetup dispid 1101;
  7217.     property ShapeRange: ShapeRange readonly dispid 311;
  7218.     property Case_: WdCharacterCase dispid 312;
  7219.     property Information[Type_: WdInformation]: OleVariant readonly dispid 313;
  7220.     property ReadabilityStatistics: ReadabilityStatistics readonly dispid 314;
  7221.     property GrammaticalErrors: ProofreadingErrors readonly dispid 315;
  7222.     property SpellingErrors: ProofreadingErrors readonly dispid 316;
  7223.     property Orientation: WdTextOrientation dispid 317;
  7224.     property InlineShapes: InlineShapes readonly dispid 319;
  7225.     property NextStoryRange: Range readonly dispid 320;
  7226.     property LanguageIDFarEast: WdLanguageID dispid 321;
  7227.     property LanguageIDOther: WdLanguageID dispid 322;
  7228.     procedure Select; dispid 65535;
  7229.     procedure SetRange(Start: Integer; End_: Integer); dispid 100;
  7230.     procedure Collapse(var Direction: OleVariant); dispid 101;
  7231.     procedure InsertBefore(const Text: WideString); dispid 102;
  7232.     procedure InsertAfter(const Text: WideString); dispid 104;
  7233.     function Next(var Unit_: OleVariant; var Count: OleVariant): Range; dispid 105;
  7234.     function Previous(var Unit_: OleVariant; var Count: OleVariant): Range; dispid 106;
  7235.     function StartOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; dispid 107;
  7236.     function EndOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; dispid 108;
  7237.     function Move(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 109;
  7238.     function MoveStart(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 110;
  7239.     function MoveEnd(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 111;
  7240.     function MoveWhile(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 112;
  7241.     function MoveStartWhile(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 113;
  7242.     function MoveEndWhile(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 114;
  7243.     function MoveUntil(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 115;
  7244.     function MoveStartUntil(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 116;
  7245.     function MoveEndUntil(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 117;
  7246.     procedure Cut; dispid 119;
  7247.     procedure Copy; dispid 120;
  7248.     procedure Paste; dispid 121;
  7249.     procedure InsertBreak(var Type_: OleVariant); dispid 122;
  7250.     procedure InsertFile(const FileName: WideString; var Range: OleVariant; 
  7251.                          var ConfirmConversions: OleVariant; var Link: OleVariant; 
  7252.                          var Attachment: OleVariant); dispid 123;
  7253.     function InStory(const Range: Range): WordBool; dispid 125;
  7254.     function InRange(const Range: Range): WordBool; dispid 126;
  7255.     function Delete(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 127;
  7256.     procedure WholeStory; dispid 128;
  7257.     function Expand(var Unit_: OleVariant): Integer; dispid 129;
  7258.     procedure InsertParagraph; dispid 160;
  7259.     procedure InsertParagraphAfter; dispid 161;
  7260.     function ConvertToTableOld(var Separator: OleVariant; var NumRows: OleVariant; 
  7261.                                var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  7262.                                var Format: OleVariant; var ApplyBorders: OleVariant; 
  7263.                                var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  7264.                                var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  7265.                                var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  7266.                                var ApplyLastColumn: OleVariant; var AutoFit: OleVariant): Table; dispid 162;
  7267.     procedure InsertDateTimeOld(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  7268.                                 var InsertAsFullWidth: OleVariant); dispid 163;
  7269.     procedure InsertSymbol(CharacterNumber: Integer; var Font: OleVariant; var Unicode: OleVariant; 
  7270.                            var Bias: OleVariant); dispid 164;
  7271.     procedure InsertCrossReference(var ReferenceType: OleVariant; ReferenceKind: WdReferenceKind; 
  7272.                                    var ReferenceItem: OleVariant; 
  7273.                                    var InsertAsHyperlink: OleVariant; 
  7274.                                    var IncludePosition: OleVariant); dispid 165;
  7275.     procedure InsertCaption(var Label_: OleVariant; var Title: OleVariant; 
  7276.                             var TitleAutoText: OleVariant; var Position: OleVariant); dispid 166;
  7277.     procedure CopyAsPicture; dispid 167;
  7278.     procedure SortOld(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  7279.                       var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  7280.                       var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  7281.                       var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  7282.                       var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  7283.                       var SortColumn: OleVariant; var Separator: OleVariant; 
  7284.                       var CaseSensitive: OleVariant; var LanguageID: OleVariant); dispid 168;
  7285.     procedure SortAscending; dispid 169;
  7286.     procedure SortDescending; dispid 170;
  7287.     function IsEqual(const Range: Range): WordBool; dispid 171;
  7288.     function Calculate: Single; dispid 172;
  7289.     function GoTo_(var What: OleVariant; var Which: OleVariant; var Count: OleVariant; 
  7290.                    var Name: OleVariant): Range; dispid 173;
  7291.     function GoToNext(What: WdGoToItem): Range; dispid 174;
  7292.     function GoToPrevious(What: WdGoToItem): Range; dispid 175;
  7293.     procedure PasteSpecial(var IconIndex: OleVariant; var Link: OleVariant; 
  7294.                            var Placement: OleVariant; var DisplayAsIcon: OleVariant; 
  7295.                            var DataType: OleVariant; var IconFileName: OleVariant; 
  7296.                            var IconLabel: OleVariant); dispid 176;
  7297.     procedure LookupNameProperties; dispid 177;
  7298.     function ComputeStatistics(Statistic: WdStatistic): Integer; dispid 178;
  7299.     procedure Relocate(Direction: Integer); dispid 179;
  7300.     procedure CheckSynonyms; dispid 180;
  7301.     procedure SubscribeTo(const Edition: WideString; var Format: OleVariant); dispid 181;
  7302.     procedure CreatePublisher(var Edition: OleVariant; var ContainsPICT: OleVariant; 
  7303.                               var ContainsRTF: OleVariant; var ContainsText: OleVariant); dispid 182;
  7304.     procedure InsertAutoText; dispid 183;
  7305.     procedure InsertDatabase(var Format: OleVariant; var Style: OleVariant; 
  7306.                              var LinkToSource: OleVariant; var Connection: OleVariant; 
  7307.                              var SQLStatement: OleVariant; var SQLStatement1: OleVariant; 
  7308.                              var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  7309.                              var WritePasswordDocument: OleVariant; 
  7310.                              var WritePasswordTemplate: OleVariant; var DataSource: OleVariant; 
  7311.                              var From: OleVariant; var To_: OleVariant; 
  7312.                              var IncludeFields: OleVariant); dispid 194;
  7313.     procedure AutoFormat; dispid 195;
  7314.     procedure CheckGrammar; dispid 204;
  7315.     procedure CheckSpelling(var CustomDictionary: OleVariant; var IgnoreUppercase: OleVariant; 
  7316.                             var AlwaysSuggest: OleVariant; var CustomDictionary2: OleVariant; 
  7317.                             var CustomDictionary3: OleVariant; var CustomDictionary4: OleVariant; 
  7318.                             var CustomDictionary5: OleVariant; var CustomDictionary6: OleVariant; 
  7319.                             var CustomDictionary7: OleVariant; var CustomDictionary8: OleVariant; 
  7320.                             var CustomDictionary9: OleVariant; var CustomDictionary10: OleVariant); dispid 205;
  7321.     function GetSpellingSuggestions(var CustomDictionary: OleVariant; 
  7322.                                     var IgnoreUppercase: OleVariant; 
  7323.                                     var MainDictionary: OleVariant; var SuggestionMode: OleVariant; 
  7324.                                     var CustomDictionary2: OleVariant; 
  7325.                                     var CustomDictionary3: OleVariant; 
  7326.                                     var CustomDictionary4: OleVariant; 
  7327.                                     var CustomDictionary5: OleVariant; 
  7328.                                     var CustomDictionary6: OleVariant; 
  7329.                                     var CustomDictionary7: OleVariant; 
  7330.                                     var CustomDictionary8: OleVariant; 
  7331.                                     var CustomDictionary9: OleVariant; 
  7332.                                     var CustomDictionary10: OleVariant): SpellingSuggestions; dispid 209;
  7333.     procedure InsertParagraphBefore; dispid 212;
  7334.     procedure NextSubdocument; dispid 219;
  7335.     procedure PreviousSubdocument; dispid 220;
  7336.     procedure ConvertHangulAndHanja(var ConversionsMode: OleVariant; 
  7337.                                     var FastConversion: OleVariant; 
  7338.                                     var CheckHangulEnding: OleVariant; 
  7339.                                     var EnableRecentOrdering: OleVariant; 
  7340.                                     var CustomDictionary: OleVariant); dispid 221;
  7341.     procedure PasteAsNestedTable; dispid 222;
  7342.     procedure ModifyEnclosure(var Style: OleVariant; var Symbol: OleVariant; 
  7343.                               var EnclosedText: OleVariant); dispid 223;
  7344.     procedure PhoneticGuide(const Text: WideString; Alignment: WdPhoneticGuideAlignmentType; 
  7345.                             Raise_: Integer; FontSize: Integer; const FontName: WideString); dispid 224;
  7346.     procedure InsertDateTime(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  7347.                              var InsertAsFullWidth: OleVariant; var DateLanguage: OleVariant; 
  7348.                              var CalendarType: OleVariant); dispid 444;
  7349.     procedure Sort(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  7350.                    var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  7351.                    var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  7352.                    var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  7353.                    var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  7354.                    var SortColumn: OleVariant; var Separator: OleVariant; 
  7355.                    var CaseSensitive: OleVariant; var BidiSort: OleVariant; 
  7356.                    var IgnoreThe: OleVariant; var IgnoreKashida: OleVariant; 
  7357.                    var IgnoreDiacritics: OleVariant; var IgnoreHe: OleVariant; 
  7358.                    var LanguageID: OleVariant); dispid 484;
  7359.     procedure DetectLanguage; dispid 203;
  7360.     function ConvertToTable(var Separator: OleVariant; var NumRows: OleVariant; 
  7361.                             var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  7362.                             var Format: OleVariant; var ApplyBorders: OleVariant; 
  7363.                             var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  7364.                             var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  7365.                             var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  7366.                             var ApplyLastColumn: OleVariant; var AutoFit: OleVariant; 
  7367.                             var AutoFitBehavior: OleVariant; var DefaultTableBehavior: OleVariant): Table; dispid 498;
  7368.     procedure TCSCConverter(WdTCSCConverterDirection: WdTCSCConverterDirection; 
  7369.                             CommonTerms: WordBool; UseVariants: WordBool); dispid 499;
  7370.     property LanguageDetected: WordBool dispid 263;
  7371.     property FitTextWidth: Single dispid 264;
  7372.     property HorizontalInVertical: WdHorizontalInVerticalType dispid 265;
  7373.     property TwoLinesInOne: WdTwoLinesInOneType dispid 266;
  7374.     property CombineCharacters: WordBool dispid 267;
  7375.     property NoProofing: Integer dispid 323;
  7376.     property TopLevelTables: Tables readonly dispid 324;
  7377.     property Scripts: Scripts readonly dispid 325;
  7378.     property CharacterWidth: WdCharacterWidth dispid 326;
  7379.     property Kana: WdKana dispid 327;
  7380.     property BoldBi: Integer dispid 400;
  7381.     property ItalicBi: Integer dispid 401;
  7382.     property ID: WideString dispid 405;
  7383.   end;
  7384.  
  7385. // *********************************************************************//
  7386. // Interface: ListFormat
  7387. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7388. // GUID:      {000209C0-0000-0000-C000-000000000046}
  7389. // *********************************************************************//
  7390.   ListFormat = interface(IDispatch)
  7391.     ['{000209C0-0000-0000-C000-000000000046}']
  7392.     function Get_ListLevelNumber: Integer; safecall;
  7393.     procedure Set_ListLevelNumber(prop: Integer); safecall;
  7394.     function Get_List: List; safecall;
  7395.     function Get_ListTemplate: ListTemplate; safecall;
  7396.     function Get_ListValue: Integer; safecall;
  7397.     function Get_SingleList: WordBool; safecall;
  7398.     function Get_SingleListTemplate: WordBool; safecall;
  7399.     function Get_ListType: WdListType; safecall;
  7400.     function Get_ListString: WideString; safecall;
  7401.     function Get_Application_: Application_; safecall;
  7402.     function Get_Creator: Integer; safecall;
  7403.     function Get_Parent: IDispatch; safecall;
  7404.     function CanContinuePreviousList(const ListTemplate: ListTemplate): WdContinue; safecall;
  7405.     procedure RemoveNumbers(var NumberType: OleVariant); safecall;
  7406.     procedure ConvertNumbersToText(var NumberType: OleVariant); safecall;
  7407.     function CountNumberedItems(var NumberType: OleVariant; var Level: OleVariant): Integer; safecall;
  7408.     procedure ApplyBulletDefaultOld; safecall;
  7409.     procedure ApplyNumberDefaultOld; safecall;
  7410.     procedure ApplyOutlineNumberDefaultOld; safecall;
  7411.     procedure ApplyListTemplateOld(const ListTemplate: ListTemplate; 
  7412.                                    var ContinuePreviousList: OleVariant; var ApplyTo: OleVariant); safecall;
  7413.     procedure ListOutdent; safecall;
  7414.     procedure ListIndent; safecall;
  7415.     procedure ApplyBulletDefault(var DefaultListBehavior: OleVariant); safecall;
  7416.     procedure ApplyNumberDefault(var DefaultListBehavior: OleVariant); safecall;
  7417.     procedure ApplyOutlineNumberDefault(var DefaultListBehavior: OleVariant); safecall;
  7418.     procedure ApplyListTemplate(const ListTemplate: ListTemplate; 
  7419.                                 var ContinuePreviousList: OleVariant; var ApplyTo: OleVariant; 
  7420.                                 var DefaultListBehavior: OleVariant); safecall;
  7421.     property ListLevelNumber: Integer read Get_ListLevelNumber write Set_ListLevelNumber;
  7422.     property List: List read Get_List;
  7423.     property ListTemplate: ListTemplate read Get_ListTemplate;
  7424.     property ListValue: Integer read Get_ListValue;
  7425.     property SingleList: WordBool read Get_SingleList;
  7426.     property SingleListTemplate: WordBool read Get_SingleListTemplate;
  7427.     property ListType: WdListType read Get_ListType;
  7428.     property ListString: WideString read Get_ListString;
  7429.     property Application_: Application_ read Get_Application_;
  7430.     property Creator: Integer read Get_Creator;
  7431.     property Parent: IDispatch read Get_Parent;
  7432.   end;
  7433.  
  7434. // *********************************************************************//
  7435. // DispIntf:  ListFormatDisp
  7436. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7437. // GUID:      {000209C0-0000-0000-C000-000000000046}
  7438. // *********************************************************************//
  7439.   ListFormatDisp = dispinterface
  7440.     ['{000209C0-0000-0000-C000-000000000046}']
  7441.     property ListLevelNumber: Integer dispid 68;
  7442.     property List: List readonly dispid 69;
  7443.     property ListTemplate: ListTemplate readonly dispid 70;
  7444.     property ListValue: Integer readonly dispid 71;
  7445.     property SingleList: WordBool readonly dispid 72;
  7446.     property SingleListTemplate: WordBool readonly dispid 73;
  7447.     property ListType: WdListType readonly dispid 74;
  7448.     property ListString: WideString readonly dispid 75;
  7449.     property Application_: Application_ readonly dispid 1000;
  7450.     property Creator: Integer readonly dispid 1001;
  7451.     property Parent: IDispatch readonly dispid 1002;
  7452.     function CanContinuePreviousList(const ListTemplate: ListTemplate): WdContinue; dispid 184;
  7453.     procedure RemoveNumbers(var NumberType: OleVariant); dispid 185;
  7454.     procedure ConvertNumbersToText(var NumberType: OleVariant); dispid 186;
  7455.     function CountNumberedItems(var NumberType: OleVariant; var Level: OleVariant): Integer; dispid 187;
  7456.     procedure ApplyBulletDefaultOld; dispid 188;
  7457.     procedure ApplyNumberDefaultOld; dispid 189;
  7458.     procedure ApplyOutlineNumberDefaultOld; dispid 190;
  7459.     procedure ApplyListTemplateOld(const ListTemplate: ListTemplate; 
  7460.                                    var ContinuePreviousList: OleVariant; var ApplyTo: OleVariant); dispid 191;
  7461.     procedure ListOutdent; dispid 210;
  7462.     procedure ListIndent; dispid 211;
  7463.     procedure ApplyBulletDefault(var DefaultListBehavior: OleVariant); dispid 212;
  7464.     procedure ApplyNumberDefault(var DefaultListBehavior: OleVariant); dispid 213;
  7465.     procedure ApplyOutlineNumberDefault(var DefaultListBehavior: OleVariant); dispid 214;
  7466.     procedure ApplyListTemplate(const ListTemplate: ListTemplate; 
  7467.                                 var ContinuePreviousList: OleVariant; var ApplyTo: OleVariant; 
  7468.                                 var DefaultListBehavior: OleVariant); dispid 215;
  7469.   end;
  7470.  
  7471. // *********************************************************************//
  7472. // Interface: Find
  7473. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7474. // GUID:      {000209B0-0000-0000-C000-000000000046}
  7475. // *********************************************************************//
  7476.   Find = interface(IDispatch)
  7477.     ['{000209B0-0000-0000-C000-000000000046}']
  7478.     function Get_Application_: Application_; safecall;
  7479.     function Get_Creator: Integer; safecall;
  7480.     function Get_Parent: IDispatch; safecall;
  7481.     function Get_Forward: WordBool; safecall;
  7482.     procedure Set_Forward(prop: WordBool); safecall;
  7483.     function Get_Font: Font; safecall;
  7484.     procedure Set_Font(const prop: Font); safecall;
  7485.     function Get_Found: WordBool; safecall;
  7486.     function Get_MatchAllWordForms: WordBool; safecall;
  7487.     procedure Set_MatchAllWordForms(prop: WordBool); safecall;
  7488.     function Get_MatchCase: WordBool; safecall;
  7489.     procedure Set_MatchCase(prop: WordBool); safecall;
  7490.     function Get_MatchWildcards: WordBool; safecall;
  7491.     procedure Set_MatchWildcards(prop: WordBool); safecall;
  7492.     function Get_MatchSoundsLike: WordBool; safecall;
  7493.     procedure Set_MatchSoundsLike(prop: WordBool); safecall;
  7494.     function Get_MatchWholeWord: WordBool; safecall;
  7495.     procedure Set_MatchWholeWord(prop: WordBool); safecall;
  7496.     function Get_MatchFuzzy: WordBool; safecall;
  7497.     procedure Set_MatchFuzzy(prop: WordBool); safecall;
  7498.     function Get_MatchByte: WordBool; safecall;
  7499.     procedure Set_MatchByte(prop: WordBool); safecall;
  7500.     function Get_ParagraphFormat: ParagraphFormat; safecall;
  7501.     procedure Set_ParagraphFormat(const prop: ParagraphFormat); safecall;
  7502.     function Get_Style: OleVariant; safecall;
  7503.     procedure Set_Style(var prop: OleVariant); safecall;
  7504.     function Get_Text: WideString; safecall;
  7505.     procedure Set_Text(const prop: WideString); safecall;
  7506.     function Get_LanguageID: WdLanguageID; safecall;
  7507.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  7508.     function Get_Highlight: Integer; safecall;
  7509.     procedure Set_Highlight(prop: Integer); safecall;
  7510.     function Get_Replacement: Replacement; safecall;
  7511.     function Get_Frame: Frame; safecall;
  7512.     function Get_Wrap: WdFindWrap; safecall;
  7513.     procedure Set_Wrap(prop: WdFindWrap); safecall;
  7514.     function Get_Format: WordBool; safecall;
  7515.     procedure Set_Format(prop: WordBool); safecall;
  7516.     function Get_LanguageIDFarEast: WdLanguageID; safecall;
  7517.     procedure Set_LanguageIDFarEast(prop: WdLanguageID); safecall;
  7518.     function Get_LanguageIDOther: WdLanguageID; safecall;
  7519.     procedure Set_LanguageIDOther(prop: WdLanguageID); safecall;
  7520.     function Get_CorrectHangulEndings: WordBool; safecall;
  7521.     procedure Set_CorrectHangulEndings(prop: WordBool); safecall;
  7522.     function ExecuteOld(var FindText: OleVariant; var MatchCase: OleVariant; 
  7523.                         var MatchWholeWord: OleVariant; var MatchWildcards: OleVariant; 
  7524.                         var MatchSoundsLike: OleVariant; var MatchAllWordForms: OleVariant; 
  7525.                         var Forward: OleVariant; var Wrap: OleVariant; var Format: OleVariant; 
  7526.                         var ReplaceWith: OleVariant; var Replace: OleVariant): WordBool; safecall;
  7527.     procedure ClearFormatting; safecall;
  7528.     procedure SetAllFuzzyOptions; safecall;
  7529.     procedure ClearAllFuzzyOptions; safecall;
  7530.     function Execute(var FindText: OleVariant; var MatchCase: OleVariant; 
  7531.                      var MatchWholeWord: OleVariant; var MatchWildcards: OleVariant; 
  7532.                      var MatchSoundsLike: OleVariant; var MatchAllWordForms: OleVariant; 
  7533.                      var Forward: OleVariant; var Wrap: OleVariant; var Format: OleVariant; 
  7534.                      var ReplaceWith: OleVariant; var Replace: OleVariant; 
  7535.                      var MatchKashida: OleVariant; var MatchDiacritics: OleVariant; 
  7536.                      var MatchAlefHamza: OleVariant; var MatchControl: OleVariant): WordBool; safecall;
  7537.     function Get_NoProofing: Integer; safecall;
  7538.     procedure Set_NoProofing(prop: Integer); safecall;
  7539.     function Get_MatchKashida: WordBool; safecall;
  7540.     procedure Set_MatchKashida(prop: WordBool); safecall;
  7541.     function Get_MatchDiacritics: WordBool; safecall;
  7542.     procedure Set_MatchDiacritics(prop: WordBool); safecall;
  7543.     function Get_MatchAlefHamza: WordBool; safecall;
  7544.     procedure Set_MatchAlefHamza(prop: WordBool); safecall;
  7545.     function Get_MatchControl: WordBool; safecall;
  7546.     procedure Set_MatchControl(prop: WordBool); safecall;
  7547.     property Application_: Application_ read Get_Application_;
  7548.     property Creator: Integer read Get_Creator;
  7549.     property Parent: IDispatch read Get_Parent;
  7550.     property Forward: WordBool read Get_Forward write Set_Forward;
  7551.     property Font: Font read Get_Font write Set_Font;
  7552.     property Found: WordBool read Get_Found;
  7553.     property MatchAllWordForms: WordBool read Get_MatchAllWordForms write Set_MatchAllWordForms;
  7554.     property MatchCase: WordBool read Get_MatchCase write Set_MatchCase;
  7555.     property MatchWildcards: WordBool read Get_MatchWildcards write Set_MatchWildcards;
  7556.     property MatchSoundsLike: WordBool read Get_MatchSoundsLike write Set_MatchSoundsLike;
  7557.     property MatchWholeWord: WordBool read Get_MatchWholeWord write Set_MatchWholeWord;
  7558.     property MatchFuzzy: WordBool read Get_MatchFuzzy write Set_MatchFuzzy;
  7559.     property MatchByte: WordBool read Get_MatchByte write Set_MatchByte;
  7560.     property ParagraphFormat: ParagraphFormat read Get_ParagraphFormat write Set_ParagraphFormat;
  7561.     property Text: WideString read Get_Text write Set_Text;
  7562.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  7563.     property Highlight: Integer read Get_Highlight write Set_Highlight;
  7564.     property Replacement: Replacement read Get_Replacement;
  7565.     property Frame: Frame read Get_Frame;
  7566.     property Wrap: WdFindWrap read Get_Wrap write Set_Wrap;
  7567.     property Format: WordBool read Get_Format write Set_Format;
  7568.     property LanguageIDFarEast: WdLanguageID read Get_LanguageIDFarEast write Set_LanguageIDFarEast;
  7569.     property LanguageIDOther: WdLanguageID read Get_LanguageIDOther write Set_LanguageIDOther;
  7570.     property CorrectHangulEndings: WordBool read Get_CorrectHangulEndings write Set_CorrectHangulEndings;
  7571.     property NoProofing: Integer read Get_NoProofing write Set_NoProofing;
  7572.     property MatchKashida: WordBool read Get_MatchKashida write Set_MatchKashida;
  7573.     property MatchDiacritics: WordBool read Get_MatchDiacritics write Set_MatchDiacritics;
  7574.     property MatchAlefHamza: WordBool read Get_MatchAlefHamza write Set_MatchAlefHamza;
  7575.     property MatchControl: WordBool read Get_MatchControl write Set_MatchControl;
  7576.   end;
  7577.  
  7578. // *********************************************************************//
  7579. // DispIntf:  FindDisp
  7580. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7581. // GUID:      {000209B0-0000-0000-C000-000000000046}
  7582. // *********************************************************************//
  7583.   FindDisp = dispinterface
  7584.     ['{000209B0-0000-0000-C000-000000000046}']
  7585.     property Application_: Application_ readonly dispid 1000;
  7586.     property Creator: Integer readonly dispid 1001;
  7587.     property Parent: IDispatch readonly dispid 1002;
  7588.     property Forward: WordBool dispid 10;
  7589.     property Font: Font dispid 11;
  7590.     property Found: WordBool readonly dispid 12;
  7591.     property MatchAllWordForms: WordBool dispid 13;
  7592.     property MatchCase: WordBool dispid 14;
  7593.     property MatchWildcards: WordBool dispid 15;
  7594.     property MatchSoundsLike: WordBool dispid 16;
  7595.     property MatchWholeWord: WordBool dispid 17;
  7596.     property MatchFuzzy: WordBool dispid 40;
  7597.     property MatchByte: WordBool dispid 41;
  7598.     property ParagraphFormat: ParagraphFormat dispid 18;
  7599.     function Style: OleVariant; dispid 19;
  7600.     property Text: WideString dispid 22;
  7601.     property LanguageID: WdLanguageID dispid 23;
  7602.     property Highlight: Integer dispid 24;
  7603.     property Replacement: Replacement readonly dispid 25;
  7604.     property Frame: Frame readonly dispid 26;
  7605.     property Wrap: WdFindWrap dispid 27;
  7606.     property Format: WordBool dispid 28;
  7607.     property LanguageIDFarEast: WdLanguageID dispid 29;
  7608.     property LanguageIDOther: WdLanguageID dispid 60;
  7609.     property CorrectHangulEndings: WordBool dispid 61;
  7610.     function ExecuteOld(var FindText: OleVariant; var MatchCase: OleVariant; 
  7611.                         var MatchWholeWord: OleVariant; var MatchWildcards: OleVariant; 
  7612.                         var MatchSoundsLike: OleVariant; var MatchAllWordForms: OleVariant; 
  7613.                         var Forward: OleVariant; var Wrap: OleVariant; var Format: OleVariant; 
  7614.                         var ReplaceWith: OleVariant; var Replace: OleVariant): WordBool; dispid 30;
  7615.     procedure ClearFormatting; dispid 31;
  7616.     procedure SetAllFuzzyOptions; dispid 32;
  7617.     procedure ClearAllFuzzyOptions; dispid 33;
  7618.     function Execute(var FindText: OleVariant; var MatchCase: OleVariant; 
  7619.                      var MatchWholeWord: OleVariant; var MatchWildcards: OleVariant; 
  7620.                      var MatchSoundsLike: OleVariant; var MatchAllWordForms: OleVariant; 
  7621.                      var Forward: OleVariant; var Wrap: OleVariant; var Format: OleVariant; 
  7622.                      var ReplaceWith: OleVariant; var Replace: OleVariant; 
  7623.                      var MatchKashida: OleVariant; var MatchDiacritics: OleVariant; 
  7624.                      var MatchAlefHamza: OleVariant; var MatchControl: OleVariant): WordBool; dispid 444;
  7625.     property NoProofing: Integer dispid 34;
  7626.     property MatchKashida: WordBool dispid 100;
  7627.     property MatchDiacritics: WordBool dispid 101;
  7628.     property MatchAlefHamza: WordBool dispid 102;
  7629.     property MatchControl: WordBool dispid 103;
  7630.   end;
  7631.  
  7632. // *********************************************************************//
  7633. // Interface: Replacement
  7634. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7635. // GUID:      {000209B1-0000-0000-C000-000000000046}
  7636. // *********************************************************************//
  7637.   Replacement = interface(IDispatch)
  7638.     ['{000209B1-0000-0000-C000-000000000046}']
  7639.     function Get_Application_: Application_; safecall;
  7640.     function Get_Creator: Integer; safecall;
  7641.     function Get_Parent: IDispatch; safecall;
  7642.     function Get_Font: Font; safecall;
  7643.     procedure Set_Font(const prop: Font); safecall;
  7644.     function Get_ParagraphFormat: ParagraphFormat; safecall;
  7645.     procedure Set_ParagraphFormat(const prop: ParagraphFormat); safecall;
  7646.     function Get_Style: OleVariant; safecall;
  7647.     procedure Set_Style(var prop: OleVariant); safecall;
  7648.     function Get_Text: WideString; safecall;
  7649.     procedure Set_Text(const prop: WideString); safecall;
  7650.     function Get_LanguageID: WdLanguageID; safecall;
  7651.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  7652.     function Get_Highlight: Integer; safecall;
  7653.     procedure Set_Highlight(prop: Integer); safecall;
  7654.     function Get_Frame: Frame; safecall;
  7655.     function Get_LanguageIDFarEast: WdLanguageID; safecall;
  7656.     procedure Set_LanguageIDFarEast(prop: WdLanguageID); safecall;
  7657.     procedure ClearFormatting; safecall;
  7658.     function Get_NoProofing: Integer; safecall;
  7659.     procedure Set_NoProofing(prop: Integer); safecall;
  7660.     property Application_: Application_ read Get_Application_;
  7661.     property Creator: Integer read Get_Creator;
  7662.     property Parent: IDispatch read Get_Parent;
  7663.     property Font: Font read Get_Font write Set_Font;
  7664.     property ParagraphFormat: ParagraphFormat read Get_ParagraphFormat write Set_ParagraphFormat;
  7665.     property Text: WideString read Get_Text write Set_Text;
  7666.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  7667.     property Highlight: Integer read Get_Highlight write Set_Highlight;
  7668.     property Frame: Frame read Get_Frame;
  7669.     property LanguageIDFarEast: WdLanguageID read Get_LanguageIDFarEast write Set_LanguageIDFarEast;
  7670.     property NoProofing: Integer read Get_NoProofing write Set_NoProofing;
  7671.   end;
  7672.  
  7673. // *********************************************************************//
  7674. // DispIntf:  ReplacementDisp
  7675. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7676. // GUID:      {000209B1-0000-0000-C000-000000000046}
  7677. // *********************************************************************//
  7678.   ReplacementDisp = dispinterface
  7679.     ['{000209B1-0000-0000-C000-000000000046}']
  7680.     property Application_: Application_ readonly dispid 1000;
  7681.     property Creator: Integer readonly dispid 1001;
  7682.     property Parent: IDispatch readonly dispid 1002;
  7683.     property Font: Font dispid 10;
  7684.     property ParagraphFormat: ParagraphFormat dispid 11;
  7685.     function Style: OleVariant; dispid 12;
  7686.     property Text: WideString dispid 15;
  7687.     property LanguageID: WdLanguageID dispid 16;
  7688.     property Highlight: Integer dispid 17;
  7689.     property Frame: Frame readonly dispid 18;
  7690.     property LanguageIDFarEast: WdLanguageID dispid 19;
  7691.     procedure ClearFormatting; dispid 20;
  7692.     property NoProofing: Integer dispid 21;
  7693.   end;
  7694.  
  7695. // *********************************************************************//
  7696. // Interface: Characters
  7697. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7698. // GUID:      {0002095D-0000-0000-C000-000000000046}
  7699. // *********************************************************************//
  7700.   Characters = interface(IDispatch)
  7701.     ['{0002095D-0000-0000-C000-000000000046}']
  7702.     function Get__NewEnum: IUnknown; safecall;
  7703.     function Get_Count: Integer; safecall;
  7704.     function Get_First: Range; safecall;
  7705.     function Get_Last: Range; safecall;
  7706.     function Get_Application_: Application_; safecall;
  7707.     function Get_Creator: Integer; safecall;
  7708.     function Get_Parent: IDispatch; safecall;
  7709.     function Item(Index: Integer): Range; safecall;
  7710.     property _NewEnum: IUnknown read Get__NewEnum;
  7711.     property Count: Integer read Get_Count;
  7712.     property First: Range read Get_First;
  7713.     property Last: Range read Get_Last;
  7714.     property Application_: Application_ read Get_Application_;
  7715.     property Creator: Integer read Get_Creator;
  7716.     property Parent: IDispatch read Get_Parent;
  7717.   end;
  7718.  
  7719. // *********************************************************************//
  7720. // DispIntf:  CharactersDisp
  7721. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7722. // GUID:      {0002095D-0000-0000-C000-000000000046}
  7723. // *********************************************************************//
  7724.   CharactersDisp = dispinterface
  7725.     ['{0002095D-0000-0000-C000-000000000046}']
  7726.     property _NewEnum: IUnknown readonly dispid -4;
  7727.     property Count: Integer readonly dispid 2;
  7728.     property First: Range readonly dispid 3;
  7729.     property Last: Range readonly dispid 4;
  7730.     property Application_: Application_ readonly dispid 1000;
  7731.     property Creator: Integer readonly dispid 1001;
  7732.     property Parent: IDispatch readonly dispid 1002;
  7733.     function Item(Index: Integer): Range; dispid 0;
  7734.   end;
  7735.  
  7736. // *********************************************************************//
  7737. // Interface: Words
  7738. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7739. // GUID:      {0002095C-0000-0000-C000-000000000046}
  7740. // *********************************************************************//
  7741.   Words = interface(IDispatch)
  7742.     ['{0002095C-0000-0000-C000-000000000046}']
  7743.     function Get__NewEnum: IUnknown; safecall;
  7744.     function Get_Count: Integer; safecall;
  7745.     function Get_First: Range; safecall;
  7746.     function Get_Last: Range; safecall;
  7747.     function Get_Application_: Application_; safecall;
  7748.     function Get_Creator: Integer; safecall;
  7749.     function Get_Parent: IDispatch; safecall;
  7750.     function Item(Index: Integer): Range; safecall;
  7751.     property _NewEnum: IUnknown read Get__NewEnum;
  7752.     property Count: Integer read Get_Count;
  7753.     property First: Range read Get_First;
  7754.     property Last: Range read Get_Last;
  7755.     property Application_: Application_ read Get_Application_;
  7756.     property Creator: Integer read Get_Creator;
  7757.     property Parent: IDispatch read Get_Parent;
  7758.   end;
  7759.  
  7760. // *********************************************************************//
  7761. // DispIntf:  WordsDisp
  7762. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7763. // GUID:      {0002095C-0000-0000-C000-000000000046}
  7764. // *********************************************************************//
  7765.   WordsDisp = dispinterface
  7766.     ['{0002095C-0000-0000-C000-000000000046}']
  7767.     property _NewEnum: IUnknown readonly dispid -4;
  7768.     property Count: Integer readonly dispid 2;
  7769.     property First: Range readonly dispid 3;
  7770.     property Last: Range readonly dispid 4;
  7771.     property Application_: Application_ readonly dispid 1000;
  7772.     property Creator: Integer readonly dispid 1001;
  7773.     property Parent: IDispatch readonly dispid 1002;
  7774.     function Item(Index: Integer): Range; dispid 0;
  7775.   end;
  7776.  
  7777. // *********************************************************************//
  7778. // Interface: Sentences
  7779. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7780. // GUID:      {0002095B-0000-0000-C000-000000000046}
  7781. // *********************************************************************//
  7782.   Sentences = interface(IDispatch)
  7783.     ['{0002095B-0000-0000-C000-000000000046}']
  7784.     function Get__NewEnum: IUnknown; safecall;
  7785.     function Get_Count: Integer; safecall;
  7786.     function Get_First: Range; safecall;
  7787.     function Get_Last: Range; safecall;
  7788.     function Get_Application_: Application_; safecall;
  7789.     function Get_Creator: Integer; safecall;
  7790.     function Get_Parent: IDispatch; safecall;
  7791.     function Item(Index: Integer): Range; safecall;
  7792.     property _NewEnum: IUnknown read Get__NewEnum;
  7793.     property Count: Integer read Get_Count;
  7794.     property First: Range read Get_First;
  7795.     property Last: Range read Get_Last;
  7796.     property Application_: Application_ read Get_Application_;
  7797.     property Creator: Integer read Get_Creator;
  7798.     property Parent: IDispatch read Get_Parent;
  7799.   end;
  7800.  
  7801. // *********************************************************************//
  7802. // DispIntf:  SentencesDisp
  7803. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7804. // GUID:      {0002095B-0000-0000-C000-000000000046}
  7805. // *********************************************************************//
  7806.   SentencesDisp = dispinterface
  7807.     ['{0002095B-0000-0000-C000-000000000046}']
  7808.     property _NewEnum: IUnknown readonly dispid -4;
  7809.     property Count: Integer readonly dispid 2;
  7810.     property First: Range readonly dispid 3;
  7811.     property Last: Range readonly dispid 4;
  7812.     property Application_: Application_ readonly dispid 1000;
  7813.     property Creator: Integer readonly dispid 1001;
  7814.     property Parent: IDispatch readonly dispid 1002;
  7815.     function Item(Index: Integer): Range; dispid 0;
  7816.   end;
  7817.  
  7818. // *********************************************************************//
  7819. // Interface: Sections
  7820. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7821. // GUID:      {0002095A-0000-0000-C000-000000000046}
  7822. // *********************************************************************//
  7823.   Sections = interface(IDispatch)
  7824.     ['{0002095A-0000-0000-C000-000000000046}']
  7825.     function Get__NewEnum: IUnknown; safecall;
  7826.     function Get_Count: Integer; safecall;
  7827.     function Get_First: Section; safecall;
  7828.     function Get_Last: Section; safecall;
  7829.     function Get_Application_: Application_; safecall;
  7830.     function Get_Creator: Integer; safecall;
  7831.     function Get_Parent: IDispatch; safecall;
  7832.     function Get_PageSetup: PageSetup; safecall;
  7833.     procedure Set_PageSetup(const prop: PageSetup); safecall;
  7834.     function Item(Index: Integer): Section; safecall;
  7835.     function Add(var Range: OleVariant; var Start: OleVariant): Section; safecall;
  7836.     property _NewEnum: IUnknown read Get__NewEnum;
  7837.     property Count: Integer read Get_Count;
  7838.     property First: Section read Get_First;
  7839.     property Last: Section read Get_Last;
  7840.     property Application_: Application_ read Get_Application_;
  7841.     property Creator: Integer read Get_Creator;
  7842.     property Parent: IDispatch read Get_Parent;
  7843.     property PageSetup: PageSetup read Get_PageSetup write Set_PageSetup;
  7844.   end;
  7845.  
  7846. // *********************************************************************//
  7847. // DispIntf:  SectionsDisp
  7848. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7849. // GUID:      {0002095A-0000-0000-C000-000000000046}
  7850. // *********************************************************************//
  7851.   SectionsDisp = dispinterface
  7852.     ['{0002095A-0000-0000-C000-000000000046}']
  7853.     property _NewEnum: IUnknown readonly dispid -4;
  7854.     property Count: Integer readonly dispid 2;
  7855.     property First: Section readonly dispid 3;
  7856.     property Last: Section readonly dispid 4;
  7857.     property Application_: Application_ readonly dispid 1000;
  7858.     property Creator: Integer readonly dispid 1001;
  7859.     property Parent: IDispatch readonly dispid 1002;
  7860.     property PageSetup: PageSetup dispid 1101;
  7861.     function Item(Index: Integer): Section; dispid 0;
  7862.     function Add(var Range: OleVariant; var Start: OleVariant): Section; dispid 5;
  7863.   end;
  7864.  
  7865. // *********************************************************************//
  7866. // Interface: Section
  7867. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7868. // GUID:      {00020959-0000-0000-C000-000000000046}
  7869. // *********************************************************************//
  7870.   Section = interface(IDispatch)
  7871.     ['{00020959-0000-0000-C000-000000000046}']
  7872.     function Get_Range: Range; safecall;
  7873.     function Get_Application_: Application_; safecall;
  7874.     function Get_Creator: Integer; safecall;
  7875.     function Get_Parent: IDispatch; safecall;
  7876.     function Get_PageSetup: PageSetup; safecall;
  7877.     procedure Set_PageSetup(const prop: PageSetup); safecall;
  7878.     function Get_Headers: HeadersFooters; safecall;
  7879.     function Get_Footers: HeadersFooters; safecall;
  7880.     function Get_ProtectedForForms: WordBool; safecall;
  7881.     procedure Set_ProtectedForForms(prop: WordBool); safecall;
  7882.     function Get_Index: Integer; safecall;
  7883.     function Get_Borders: Borders; safecall;
  7884.     procedure Set_Borders(const prop: Borders); safecall;
  7885.     property Range: Range read Get_Range;
  7886.     property Application_: Application_ read Get_Application_;
  7887.     property Creator: Integer read Get_Creator;
  7888.     property Parent: IDispatch read Get_Parent;
  7889.     property PageSetup: PageSetup read Get_PageSetup write Set_PageSetup;
  7890.     property Headers: HeadersFooters read Get_Headers;
  7891.     property Footers: HeadersFooters read Get_Footers;
  7892.     property ProtectedForForms: WordBool read Get_ProtectedForForms write Set_ProtectedForForms;
  7893.     property Index: Integer read Get_Index;
  7894.     property Borders: Borders read Get_Borders write Set_Borders;
  7895.   end;
  7896.  
  7897. // *********************************************************************//
  7898. // DispIntf:  SectionDisp
  7899. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7900. // GUID:      {00020959-0000-0000-C000-000000000046}
  7901. // *********************************************************************//
  7902.   SectionDisp = dispinterface
  7903.     ['{00020959-0000-0000-C000-000000000046}']
  7904.     property Range: Range readonly dispid 0;
  7905.     property Application_: Application_ readonly dispid 1000;
  7906.     property Creator: Integer readonly dispid 1001;
  7907.     property Parent: IDispatch readonly dispid 1002;
  7908.     property PageSetup: PageSetup dispid 1101;
  7909.     property Headers: HeadersFooters readonly dispid 121;
  7910.     property Footers: HeadersFooters readonly dispid 122;
  7911.     property ProtectedForForms: WordBool dispid 123;
  7912.     property Index: Integer readonly dispid 124;
  7913.     property Borders: Borders dispid 1100;
  7914.   end;
  7915.  
  7916. // *********************************************************************//
  7917. // Interface: Paragraphs
  7918. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  7919. // GUID:      {00020958-0000-0000-C000-000000000046}
  7920. // *********************************************************************//
  7921.   Paragraphs = interface(IDispatch)
  7922.     ['{00020958-0000-0000-C000-000000000046}']
  7923.     function Get__NewEnum: IUnknown; safecall;
  7924.     function Get_Count: Integer; safecall;
  7925.     function Get_First: Paragraph; safecall;
  7926.     function Get_Last: Paragraph; safecall;
  7927.     function Get_Application_: Application_; safecall;
  7928.     function Get_Creator: Integer; safecall;
  7929.     function Get_Parent: IDispatch; safecall;
  7930.     function Get_Format: ParagraphFormat; safecall;
  7931.     procedure Set_Format(const prop: ParagraphFormat); safecall;
  7932.     function Get_TabStops: TabStops; safecall;
  7933.     procedure Set_TabStops(const prop: TabStops); safecall;
  7934.     function Get_Borders: Borders; safecall;
  7935.     procedure Set_Borders(const prop: Borders); safecall;
  7936.     function Get_Style: OleVariant; safecall;
  7937.     procedure Set_Style(var prop: OleVariant); safecall;
  7938.     function Get_Alignment: WdParagraphAlignment; safecall;
  7939.     procedure Set_Alignment(prop: WdParagraphAlignment); safecall;
  7940.     function Get_KeepTogether: Integer; safecall;
  7941.     procedure Set_KeepTogether(prop: Integer); safecall;
  7942.     function Get_KeepWithNext: Integer; safecall;
  7943.     procedure Set_KeepWithNext(prop: Integer); safecall;
  7944.     function Get_PageBreakBefore: Integer; safecall;
  7945.     procedure Set_PageBreakBefore(prop: Integer); safecall;
  7946.     function Get_NoLineNumber: Integer; safecall;
  7947.     procedure Set_NoLineNumber(prop: Integer); safecall;
  7948.     function Get_RightIndent: Single; safecall;
  7949.     procedure Set_RightIndent(prop: Single); safecall;
  7950.     function Get_LeftIndent: Single; safecall;
  7951.     procedure Set_LeftIndent(prop: Single); safecall;
  7952.     function Get_FirstLineIndent: Single; safecall;
  7953.     procedure Set_FirstLineIndent(prop: Single); safecall;
  7954.     function Get_LineSpacing: Single; safecall;
  7955.     procedure Set_LineSpacing(prop: Single); safecall;
  7956.     function Get_LineSpacingRule: WdLineSpacing; safecall;
  7957.     procedure Set_LineSpacingRule(prop: WdLineSpacing); safecall;
  7958.     function Get_SpaceBefore: Single; safecall;
  7959.     procedure Set_SpaceBefore(prop: Single); safecall;
  7960.     function Get_SpaceAfter: Single; safecall;
  7961.     procedure Set_SpaceAfter(prop: Single); safecall;
  7962.     function Get_Hyphenation: Integer; safecall;
  7963.     procedure Set_Hyphenation(prop: Integer); safecall;
  7964.     function Get_WidowControl: Integer; safecall;
  7965.     procedure Set_WidowControl(prop: Integer); safecall;
  7966.     function Get_Shading: Shading; safecall;
  7967.     function Get_FarEastLineBreakControl: Integer; safecall;
  7968.     procedure Set_FarEastLineBreakControl(prop: Integer); safecall;
  7969.     function Get_WordWrap: Integer; safecall;
  7970.     procedure Set_WordWrap(prop: Integer); safecall;
  7971.     function Get_HangingPunctuation: Integer; safecall;
  7972.     procedure Set_HangingPunctuation(prop: Integer); safecall;
  7973.     function Get_HalfWidthPunctuationOnTopOfLine: Integer; safecall;
  7974.     procedure Set_HalfWidthPunctuationOnTopOfLine(prop: Integer); safecall;
  7975.     function Get_AddSpaceBetweenFarEastAndAlpha: Integer; safecall;
  7976.     procedure Set_AddSpaceBetweenFarEastAndAlpha(prop: Integer); safecall;
  7977.     function Get_AddSpaceBetweenFarEastAndDigit: Integer; safecall;
  7978.     procedure Set_AddSpaceBetweenFarEastAndDigit(prop: Integer); safecall;
  7979.     function Get_BaseLineAlignment: WdBaselineAlignment; safecall;
  7980.     procedure Set_BaseLineAlignment(prop: WdBaselineAlignment); safecall;
  7981.     function Get_AutoAdjustRightIndent: Integer; safecall;
  7982.     procedure Set_AutoAdjustRightIndent(prop: Integer); safecall;
  7983.     function Get_DisableLineHeightGrid: Integer; safecall;
  7984.     procedure Set_DisableLineHeightGrid(prop: Integer); safecall;
  7985.     function Get_OutlineLevel: WdOutlineLevel; safecall;
  7986.     procedure Set_OutlineLevel(prop: WdOutlineLevel); safecall;
  7987.     function Item(Index: Integer): Paragraph; safecall;
  7988.     function Add(var Range: OleVariant): Paragraph; safecall;
  7989.     procedure CloseUp; safecall;
  7990.     procedure OpenUp; safecall;
  7991.     procedure OpenOrCloseUp; safecall;
  7992.     procedure TabHangingIndent(Count: Smallint); safecall;
  7993.     procedure TabIndent(Count: Smallint); safecall;
  7994.     procedure Reset; safecall;
  7995.     procedure Space1; safecall;
  7996.     procedure Space15; safecall;
  7997.     procedure Space2; safecall;
  7998.     procedure IndentCharWidth(Count: Smallint); safecall;
  7999.     procedure IndentFirstLineCharWidth(Count: Smallint); safecall;
  8000.     procedure OutlinePromote; safecall;
  8001.     procedure OutlineDemote; safecall;
  8002.     procedure OutlineDemoteToBody; safecall;
  8003.     procedure Indent; safecall;
  8004.     procedure Outdent; safecall;
  8005.     function Get_CharacterUnitRightIndent: Single; safecall;
  8006.     procedure Set_CharacterUnitRightIndent(prop: Single); safecall;
  8007.     function Get_CharacterUnitLeftIndent: Single; safecall;
  8008.     procedure Set_CharacterUnitLeftIndent(prop: Single); safecall;
  8009.     function Get_CharacterUnitFirstLineIndent: Single; safecall;
  8010.     procedure Set_CharacterUnitFirstLineIndent(prop: Single); safecall;
  8011.     function Get_LineUnitBefore: Single; safecall;
  8012.     procedure Set_LineUnitBefore(prop: Single); safecall;
  8013.     function Get_LineUnitAfter: Single; safecall;
  8014.     procedure Set_LineUnitAfter(prop: Single); safecall;
  8015.     function Get_ReadingOrder: WdReadingOrder; safecall;
  8016.     procedure Set_ReadingOrder(prop: WdReadingOrder); safecall;
  8017.     function Get_SpaceBeforeAuto: Integer; safecall;
  8018.     procedure Set_SpaceBeforeAuto(prop: Integer); safecall;
  8019.     function Get_SpaceAfterAuto: Integer; safecall;
  8020.     procedure Set_SpaceAfterAuto(prop: Integer); safecall;
  8021.     property _NewEnum: IUnknown read Get__NewEnum;
  8022.     property Count: Integer read Get_Count;
  8023.     property First: Paragraph read Get_First;
  8024.     property Last: Paragraph read Get_Last;
  8025.     property Application_: Application_ read Get_Application_;
  8026.     property Creator: Integer read Get_Creator;
  8027.     property Parent: IDispatch read Get_Parent;
  8028.     property Format: ParagraphFormat read Get_Format write Set_Format;
  8029.     property TabStops: TabStops read Get_TabStops write Set_TabStops;
  8030.     property Borders: Borders read Get_Borders write Set_Borders;
  8031.     property Alignment: WdParagraphAlignment read Get_Alignment write Set_Alignment;
  8032.     property KeepTogether: Integer read Get_KeepTogether write Set_KeepTogether;
  8033.     property KeepWithNext: Integer read Get_KeepWithNext write Set_KeepWithNext;
  8034.     property PageBreakBefore: Integer read Get_PageBreakBefore write Set_PageBreakBefore;
  8035.     property NoLineNumber: Integer read Get_NoLineNumber write Set_NoLineNumber;
  8036.     property RightIndent: Single read Get_RightIndent write Set_RightIndent;
  8037.     property LeftIndent: Single read Get_LeftIndent write Set_LeftIndent;
  8038.     property FirstLineIndent: Single read Get_FirstLineIndent write Set_FirstLineIndent;
  8039.     property LineSpacing: Single read Get_LineSpacing write Set_LineSpacing;
  8040.     property LineSpacingRule: WdLineSpacing read Get_LineSpacingRule write Set_LineSpacingRule;
  8041.     property SpaceBefore: Single read Get_SpaceBefore write Set_SpaceBefore;
  8042.     property SpaceAfter: Single read Get_SpaceAfter write Set_SpaceAfter;
  8043.     property Hyphenation: Integer read Get_Hyphenation write Set_Hyphenation;
  8044.     property WidowControl: Integer read Get_WidowControl write Set_WidowControl;
  8045.     property Shading: Shading read Get_Shading;
  8046.     property FarEastLineBreakControl: Integer read Get_FarEastLineBreakControl write Set_FarEastLineBreakControl;
  8047.     property WordWrap: Integer read Get_WordWrap write Set_WordWrap;
  8048.     property HangingPunctuation: Integer read Get_HangingPunctuation write Set_HangingPunctuation;
  8049.     property HalfWidthPunctuationOnTopOfLine: Integer read Get_HalfWidthPunctuationOnTopOfLine write Set_HalfWidthPunctuationOnTopOfLine;
  8050.     property AddSpaceBetweenFarEastAndAlpha: Integer read Get_AddSpaceBetweenFarEastAndAlpha write Set_AddSpaceBetweenFarEastAndAlpha;
  8051.     property AddSpaceBetweenFarEastAndDigit: Integer read Get_AddSpaceBetweenFarEastAndDigit write Set_AddSpaceBetweenFarEastAndDigit;
  8052.     property BaseLineAlignment: WdBaselineAlignment read Get_BaseLineAlignment write Set_BaseLineAlignment;
  8053.     property AutoAdjustRightIndent: Integer read Get_AutoAdjustRightIndent write Set_AutoAdjustRightIndent;
  8054.     property DisableLineHeightGrid: Integer read Get_DisableLineHeightGrid write Set_DisableLineHeightGrid;
  8055.     property OutlineLevel: WdOutlineLevel read Get_OutlineLevel write Set_OutlineLevel;
  8056.     property CharacterUnitRightIndent: Single read Get_CharacterUnitRightIndent write Set_CharacterUnitRightIndent;
  8057.     property CharacterUnitLeftIndent: Single read Get_CharacterUnitLeftIndent write Set_CharacterUnitLeftIndent;
  8058.     property CharacterUnitFirstLineIndent: Single read Get_CharacterUnitFirstLineIndent write Set_CharacterUnitFirstLineIndent;
  8059.     property LineUnitBefore: Single read Get_LineUnitBefore write Set_LineUnitBefore;
  8060.     property LineUnitAfter: Single read Get_LineUnitAfter write Set_LineUnitAfter;
  8061.     property ReadingOrder: WdReadingOrder read Get_ReadingOrder write Set_ReadingOrder;
  8062.     property SpaceBeforeAuto: Integer read Get_SpaceBeforeAuto write Set_SpaceBeforeAuto;
  8063.     property SpaceAfterAuto: Integer read Get_SpaceAfterAuto write Set_SpaceAfterAuto;
  8064.   end;
  8065.  
  8066. // *********************************************************************//
  8067. // DispIntf:  ParagraphsDisp
  8068. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8069. // GUID:      {00020958-0000-0000-C000-000000000046}
  8070. // *********************************************************************//
  8071.   ParagraphsDisp = dispinterface
  8072.     ['{00020958-0000-0000-C000-000000000046}']
  8073.     property _NewEnum: IUnknown readonly dispid -4;
  8074.     property Count: Integer readonly dispid 2;
  8075.     property First: Paragraph readonly dispid 3;
  8076.     property Last: Paragraph readonly dispid 4;
  8077.     property Application_: Application_ readonly dispid 1000;
  8078.     property Creator: Integer readonly dispid 1001;
  8079.     property Parent: IDispatch readonly dispid 1002;
  8080.     property Format: ParagraphFormat dispid 1102;
  8081.     property TabStops: TabStops dispid 1103;
  8082.     property Borders: Borders dispid 1100;
  8083.     function Style: OleVariant; dispid 100;
  8084.     property Alignment: WdParagraphAlignment dispid 101;
  8085.     property KeepTogether: Integer dispid 102;
  8086.     property KeepWithNext: Integer dispid 103;
  8087.     property PageBreakBefore: Integer dispid 104;
  8088.     property NoLineNumber: Integer dispid 105;
  8089.     property RightIndent: Single dispid 106;
  8090.     property LeftIndent: Single dispid 107;
  8091.     property FirstLineIndent: Single dispid 108;
  8092.     property LineSpacing: Single dispid 109;
  8093.     property LineSpacingRule: WdLineSpacing dispid 110;
  8094.     property SpaceBefore: Single dispid 111;
  8095.     property SpaceAfter: Single dispid 112;
  8096.     property Hyphenation: Integer dispid 113;
  8097.     property WidowControl: Integer dispid 114;
  8098.     property Shading: Shading readonly dispid 116;
  8099.     property FarEastLineBreakControl: Integer dispid 117;
  8100.     property WordWrap: Integer dispid 118;
  8101.     property HangingPunctuation: Integer dispid 119;
  8102.     property HalfWidthPunctuationOnTopOfLine: Integer dispid 120;
  8103.     property AddSpaceBetweenFarEastAndAlpha: Integer dispid 121;
  8104.     property AddSpaceBetweenFarEastAndDigit: Integer dispid 122;
  8105.     property BaseLineAlignment: WdBaselineAlignment dispid 123;
  8106.     property AutoAdjustRightIndent: Integer dispid 124;
  8107.     property DisableLineHeightGrid: Integer dispid 125;
  8108.     property OutlineLevel: WdOutlineLevel dispid 202;
  8109.     function Item(Index: Integer): Paragraph; dispid 0;
  8110.     function Add(var Range: OleVariant): Paragraph; dispid 5;
  8111.     procedure CloseUp; dispid 301;
  8112.     procedure OpenUp; dispid 302;
  8113.     procedure OpenOrCloseUp; dispid 303;
  8114.     procedure TabHangingIndent(Count: Smallint); dispid 304;
  8115.     procedure TabIndent(Count: Smallint); dispid 306;
  8116.     procedure Reset; dispid 312;
  8117.     procedure Space1; dispid 313;
  8118.     procedure Space15; dispid 314;
  8119.     procedure Space2; dispid 315;
  8120.     procedure IndentCharWidth(Count: Smallint); dispid 320;
  8121.     procedure IndentFirstLineCharWidth(Count: Smallint); dispid 322;
  8122.     procedure OutlinePromote; dispid 324;
  8123.     procedure OutlineDemote; dispid 325;
  8124.     procedure OutlineDemoteToBody; dispid 326;
  8125.     procedure Indent; dispid 333;
  8126.     procedure Outdent; dispid 334;
  8127.     property CharacterUnitRightIndent: Single dispid 126;
  8128.     property CharacterUnitLeftIndent: Single dispid 127;
  8129.     property CharacterUnitFirstLineIndent: Single dispid 128;
  8130.     property LineUnitBefore: Single dispid 129;
  8131.     property LineUnitAfter: Single dispid 130;
  8132.     property ReadingOrder: WdReadingOrder dispid 131;
  8133.     property SpaceBeforeAuto: Integer dispid 132;
  8134.     property SpaceAfterAuto: Integer dispid 133;
  8135.   end;
  8136.  
  8137. // *********************************************************************//
  8138. // Interface: Paragraph
  8139. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8140. // GUID:      {00020957-0000-0000-C000-000000000046}
  8141. // *********************************************************************//
  8142.   Paragraph = interface(IDispatch)
  8143.     ['{00020957-0000-0000-C000-000000000046}']
  8144.     function Get_Range: Range; safecall;
  8145.     function Get_Application_: Application_; safecall;
  8146.     function Get_Creator: Integer; safecall;
  8147.     function Get_Parent: IDispatch; safecall;
  8148.     function Get_Format: ParagraphFormat; safecall;
  8149.     procedure Set_Format(const prop: ParagraphFormat); safecall;
  8150.     function Get_TabStops: TabStops; safecall;
  8151.     procedure Set_TabStops(const prop: TabStops); safecall;
  8152.     function Get_Borders: Borders; safecall;
  8153.     procedure Set_Borders(const prop: Borders); safecall;
  8154.     function Get_DropCap: DropCap; safecall;
  8155.     function Get_Style: OleVariant; safecall;
  8156.     procedure Set_Style(var prop: OleVariant); safecall;
  8157.     function Get_Alignment: WdParagraphAlignment; safecall;
  8158.     procedure Set_Alignment(prop: WdParagraphAlignment); safecall;
  8159.     function Get_KeepTogether: Integer; safecall;
  8160.     procedure Set_KeepTogether(prop: Integer); safecall;
  8161.     function Get_KeepWithNext: Integer; safecall;
  8162.     procedure Set_KeepWithNext(prop: Integer); safecall;
  8163.     function Get_PageBreakBefore: Integer; safecall;
  8164.     procedure Set_PageBreakBefore(prop: Integer); safecall;
  8165.     function Get_NoLineNumber: Integer; safecall;
  8166.     procedure Set_NoLineNumber(prop: Integer); safecall;
  8167.     function Get_RightIndent: Single; safecall;
  8168.     procedure Set_RightIndent(prop: Single); safecall;
  8169.     function Get_LeftIndent: Single; safecall;
  8170.     procedure Set_LeftIndent(prop: Single); safecall;
  8171.     function Get_FirstLineIndent: Single; safecall;
  8172.     procedure Set_FirstLineIndent(prop: Single); safecall;
  8173.     function Get_LineSpacing: Single; safecall;
  8174.     procedure Set_LineSpacing(prop: Single); safecall;
  8175.     function Get_LineSpacingRule: WdLineSpacing; safecall;
  8176.     procedure Set_LineSpacingRule(prop: WdLineSpacing); safecall;
  8177.     function Get_SpaceBefore: Single; safecall;
  8178.     procedure Set_SpaceBefore(prop: Single); safecall;
  8179.     function Get_SpaceAfter: Single; safecall;
  8180.     procedure Set_SpaceAfter(prop: Single); safecall;
  8181.     function Get_Hyphenation: Integer; safecall;
  8182.     procedure Set_Hyphenation(prop: Integer); safecall;
  8183.     function Get_WidowControl: Integer; safecall;
  8184.     procedure Set_WidowControl(prop: Integer); safecall;
  8185.     function Get_Shading: Shading; safecall;
  8186.     function Get_FarEastLineBreakControl: Integer; safecall;
  8187.     procedure Set_FarEastLineBreakControl(prop: Integer); safecall;
  8188.     function Get_WordWrap: Integer; safecall;
  8189.     procedure Set_WordWrap(prop: Integer); safecall;
  8190.     function Get_HangingPunctuation: Integer; safecall;
  8191.     procedure Set_HangingPunctuation(prop: Integer); safecall;
  8192.     function Get_HalfWidthPunctuationOnTopOfLine: Integer; safecall;
  8193.     procedure Set_HalfWidthPunctuationOnTopOfLine(prop: Integer); safecall;
  8194.     function Get_AddSpaceBetweenFarEastAndAlpha: Integer; safecall;
  8195.     procedure Set_AddSpaceBetweenFarEastAndAlpha(prop: Integer); safecall;
  8196.     function Get_AddSpaceBetweenFarEastAndDigit: Integer; safecall;
  8197.     procedure Set_AddSpaceBetweenFarEastAndDigit(prop: Integer); safecall;
  8198.     function Get_BaseLineAlignment: WdBaselineAlignment; safecall;
  8199.     procedure Set_BaseLineAlignment(prop: WdBaselineAlignment); safecall;
  8200.     function Get_AutoAdjustRightIndent: Integer; safecall;
  8201.     procedure Set_AutoAdjustRightIndent(prop: Integer); safecall;
  8202.     function Get_DisableLineHeightGrid: Integer; safecall;
  8203.     procedure Set_DisableLineHeightGrid(prop: Integer); safecall;
  8204.     function Get_OutlineLevel: WdOutlineLevel; safecall;
  8205.     procedure Set_OutlineLevel(prop: WdOutlineLevel); safecall;
  8206.     procedure CloseUp; safecall;
  8207.     procedure OpenUp; safecall;
  8208.     procedure OpenOrCloseUp; safecall;
  8209.     procedure TabHangingIndent(Count: Smallint); safecall;
  8210.     procedure TabIndent(Count: Smallint); safecall;
  8211.     procedure Reset; safecall;
  8212.     procedure Space1; safecall;
  8213.     procedure Space15; safecall;
  8214.     procedure Space2; safecall;
  8215.     procedure IndentCharWidth(Count: Smallint); safecall;
  8216.     procedure IndentFirstLineCharWidth(Count: Smallint); safecall;
  8217.     function Next(var Count: OleVariant): Paragraph; safecall;
  8218.     function Previous(var Count: OleVariant): Paragraph; safecall;
  8219.     procedure OutlinePromote; safecall;
  8220.     procedure OutlineDemote; safecall;
  8221.     procedure OutlineDemoteToBody; safecall;
  8222.     procedure Indent; safecall;
  8223.     procedure Outdent; safecall;
  8224.     function Get_CharacterUnitRightIndent: Single; safecall;
  8225.     procedure Set_CharacterUnitRightIndent(prop: Single); safecall;
  8226.     function Get_CharacterUnitLeftIndent: Single; safecall;
  8227.     procedure Set_CharacterUnitLeftIndent(prop: Single); safecall;
  8228.     function Get_CharacterUnitFirstLineIndent: Single; safecall;
  8229.     procedure Set_CharacterUnitFirstLineIndent(prop: Single); safecall;
  8230.     function Get_LineUnitBefore: Single; safecall;
  8231.     procedure Set_LineUnitBefore(prop: Single); safecall;
  8232.     function Get_LineUnitAfter: Single; safecall;
  8233.     procedure Set_LineUnitAfter(prop: Single); safecall;
  8234.     function Get_ReadingOrder: WdReadingOrder; safecall;
  8235.     procedure Set_ReadingOrder(prop: WdReadingOrder); safecall;
  8236.     function Get_ID: WideString; safecall;
  8237.     procedure Set_ID(const prop: WideString); safecall;
  8238.     function Get_SpaceBeforeAuto: Integer; safecall;
  8239.     procedure Set_SpaceBeforeAuto(prop: Integer); safecall;
  8240.     function Get_SpaceAfterAuto: Integer; safecall;
  8241.     procedure Set_SpaceAfterAuto(prop: Integer); safecall;
  8242.     property Range: Range read Get_Range;
  8243.     property Application_: Application_ read Get_Application_;
  8244.     property Creator: Integer read Get_Creator;
  8245.     property Parent: IDispatch read Get_Parent;
  8246.     property Format: ParagraphFormat read Get_Format write Set_Format;
  8247.     property TabStops: TabStops read Get_TabStops write Set_TabStops;
  8248.     property Borders: Borders read Get_Borders write Set_Borders;
  8249.     property DropCap: DropCap read Get_DropCap;
  8250.     property Alignment: WdParagraphAlignment read Get_Alignment write Set_Alignment;
  8251.     property KeepTogether: Integer read Get_KeepTogether write Set_KeepTogether;
  8252.     property KeepWithNext: Integer read Get_KeepWithNext write Set_KeepWithNext;
  8253.     property PageBreakBefore: Integer read Get_PageBreakBefore write Set_PageBreakBefore;
  8254.     property NoLineNumber: Integer read Get_NoLineNumber write Set_NoLineNumber;
  8255.     property RightIndent: Single read Get_RightIndent write Set_RightIndent;
  8256.     property LeftIndent: Single read Get_LeftIndent write Set_LeftIndent;
  8257.     property FirstLineIndent: Single read Get_FirstLineIndent write Set_FirstLineIndent;
  8258.     property LineSpacing: Single read Get_LineSpacing write Set_LineSpacing;
  8259.     property LineSpacingRule: WdLineSpacing read Get_LineSpacingRule write Set_LineSpacingRule;
  8260.     property SpaceBefore: Single read Get_SpaceBefore write Set_SpaceBefore;
  8261.     property SpaceAfter: Single read Get_SpaceAfter write Set_SpaceAfter;
  8262.     property Hyphenation: Integer read Get_Hyphenation write Set_Hyphenation;
  8263.     property WidowControl: Integer read Get_WidowControl write Set_WidowControl;
  8264.     property Shading: Shading read Get_Shading;
  8265.     property FarEastLineBreakControl: Integer read Get_FarEastLineBreakControl write Set_FarEastLineBreakControl;
  8266.     property WordWrap: Integer read Get_WordWrap write Set_WordWrap;
  8267.     property HangingPunctuation: Integer read Get_HangingPunctuation write Set_HangingPunctuation;
  8268.     property HalfWidthPunctuationOnTopOfLine: Integer read Get_HalfWidthPunctuationOnTopOfLine write Set_HalfWidthPunctuationOnTopOfLine;
  8269.     property AddSpaceBetweenFarEastAndAlpha: Integer read Get_AddSpaceBetweenFarEastAndAlpha write Set_AddSpaceBetweenFarEastAndAlpha;
  8270.     property AddSpaceBetweenFarEastAndDigit: Integer read Get_AddSpaceBetweenFarEastAndDigit write Set_AddSpaceBetweenFarEastAndDigit;
  8271.     property BaseLineAlignment: WdBaselineAlignment read Get_BaseLineAlignment write Set_BaseLineAlignment;
  8272.     property AutoAdjustRightIndent: Integer read Get_AutoAdjustRightIndent write Set_AutoAdjustRightIndent;
  8273.     property DisableLineHeightGrid: Integer read Get_DisableLineHeightGrid write Set_DisableLineHeightGrid;
  8274.     property OutlineLevel: WdOutlineLevel read Get_OutlineLevel write Set_OutlineLevel;
  8275.     property CharacterUnitRightIndent: Single read Get_CharacterUnitRightIndent write Set_CharacterUnitRightIndent;
  8276.     property CharacterUnitLeftIndent: Single read Get_CharacterUnitLeftIndent write Set_CharacterUnitLeftIndent;
  8277.     property CharacterUnitFirstLineIndent: Single read Get_CharacterUnitFirstLineIndent write Set_CharacterUnitFirstLineIndent;
  8278.     property LineUnitBefore: Single read Get_LineUnitBefore write Set_LineUnitBefore;
  8279.     property LineUnitAfter: Single read Get_LineUnitAfter write Set_LineUnitAfter;
  8280.     property ReadingOrder: WdReadingOrder read Get_ReadingOrder write Set_ReadingOrder;
  8281.     property ID: WideString read Get_ID write Set_ID;
  8282.     property SpaceBeforeAuto: Integer read Get_SpaceBeforeAuto write Set_SpaceBeforeAuto;
  8283.     property SpaceAfterAuto: Integer read Get_SpaceAfterAuto write Set_SpaceAfterAuto;
  8284.   end;
  8285.  
  8286. // *********************************************************************//
  8287. // DispIntf:  ParagraphDisp
  8288. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8289. // GUID:      {00020957-0000-0000-C000-000000000046}
  8290. // *********************************************************************//
  8291.   ParagraphDisp = dispinterface
  8292.     ['{00020957-0000-0000-C000-000000000046}']
  8293.     property Range: Range readonly dispid 0;
  8294.     property Application_: Application_ readonly dispid 1000;
  8295.     property Creator: Integer readonly dispid 1001;
  8296.     property Parent: IDispatch readonly dispid 1002;
  8297.     property Format: ParagraphFormat dispid 1102;
  8298.     property TabStops: TabStops dispid 1103;
  8299.     property Borders: Borders dispid 1100;
  8300.     property DropCap: DropCap readonly dispid 13;
  8301.     function Style: OleVariant; dispid 100;
  8302.     property Alignment: WdParagraphAlignment dispid 101;
  8303.     property KeepTogether: Integer dispid 102;
  8304.     property KeepWithNext: Integer dispid 103;
  8305.     property PageBreakBefore: Integer dispid 104;
  8306.     property NoLineNumber: Integer dispid 105;
  8307.     property RightIndent: Single dispid 106;
  8308.     property LeftIndent: Single dispid 107;
  8309.     property FirstLineIndent: Single dispid 108;
  8310.     property LineSpacing: Single dispid 109;
  8311.     property LineSpacingRule: WdLineSpacing dispid 110;
  8312.     property SpaceBefore: Single dispid 111;
  8313.     property SpaceAfter: Single dispid 112;
  8314.     property Hyphenation: Integer dispid 113;
  8315.     property WidowControl: Integer dispid 114;
  8316.     property Shading: Shading readonly dispid 116;
  8317.     property FarEastLineBreakControl: Integer dispid 117;
  8318.     property WordWrap: Integer dispid 118;
  8319.     property HangingPunctuation: Integer dispid 119;
  8320.     property HalfWidthPunctuationOnTopOfLine: Integer dispid 120;
  8321.     property AddSpaceBetweenFarEastAndAlpha: Integer dispid 121;
  8322.     property AddSpaceBetweenFarEastAndDigit: Integer dispid 122;
  8323.     property BaseLineAlignment: WdBaselineAlignment dispid 123;
  8324.     property AutoAdjustRightIndent: Integer dispid 124;
  8325.     property DisableLineHeightGrid: Integer dispid 125;
  8326.     property OutlineLevel: WdOutlineLevel dispid 202;
  8327.     procedure CloseUp; dispid 301;
  8328.     procedure OpenUp; dispid 302;
  8329.     procedure OpenOrCloseUp; dispid 303;
  8330.     procedure TabHangingIndent(Count: Smallint); dispid 304;
  8331.     procedure TabIndent(Count: Smallint); dispid 306;
  8332.     procedure Reset; dispid 312;
  8333.     procedure Space1; dispid 313;
  8334.     procedure Space15; dispid 314;
  8335.     procedure Space2; dispid 315;
  8336.     procedure IndentCharWidth(Count: Smallint); dispid 320;
  8337.     procedure IndentFirstLineCharWidth(Count: Smallint); dispid 322;
  8338.     function Next(var Count: OleVariant): Paragraph; dispid 324;
  8339.     function Previous(var Count: OleVariant): Paragraph; dispid 325;
  8340.     procedure OutlinePromote; dispid 326;
  8341.     procedure OutlineDemote; dispid 327;
  8342.     procedure OutlineDemoteToBody; dispid 328;
  8343.     procedure Indent; dispid 333;
  8344.     procedure Outdent; dispid 334;
  8345.     property CharacterUnitRightIndent: Single dispid 126;
  8346.     property CharacterUnitLeftIndent: Single dispid 127;
  8347.     property CharacterUnitFirstLineIndent: Single dispid 128;
  8348.     property LineUnitBefore: Single dispid 129;
  8349.     property LineUnitAfter: Single dispid 130;
  8350.     property ReadingOrder: WdReadingOrder dispid 203;
  8351.     property ID: WideString dispid 204;
  8352.     property SpaceBeforeAuto: Integer dispid 132;
  8353.     property SpaceAfterAuto: Integer dispid 133;
  8354.   end;
  8355.  
  8356. // *********************************************************************//
  8357. // Interface: DropCap
  8358. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8359. // GUID:      {00020956-0000-0000-C000-000000000046}
  8360. // *********************************************************************//
  8361.   DropCap = interface(IDispatch)
  8362.     ['{00020956-0000-0000-C000-000000000046}']
  8363.     function Get_Application_: Application_; safecall;
  8364.     function Get_Creator: Integer; safecall;
  8365.     function Get_Parent: IDispatch; safecall;
  8366.     function Get_Position: WdDropPosition; safecall;
  8367.     procedure Set_Position(prop: WdDropPosition); safecall;
  8368.     function Get_FontName: WideString; safecall;
  8369.     procedure Set_FontName(const prop: WideString); safecall;
  8370.     function Get_LinesToDrop: Integer; safecall;
  8371.     procedure Set_LinesToDrop(prop: Integer); safecall;
  8372.     function Get_DistanceFromText: Single; safecall;
  8373.     procedure Set_DistanceFromText(prop: Single); safecall;
  8374.     procedure Clear; safecall;
  8375.     procedure Enable; safecall;
  8376.     property Application_: Application_ read Get_Application_;
  8377.     property Creator: Integer read Get_Creator;
  8378.     property Parent: IDispatch read Get_Parent;
  8379.     property Position: WdDropPosition read Get_Position write Set_Position;
  8380.     property FontName: WideString read Get_FontName write Set_FontName;
  8381.     property LinesToDrop: Integer read Get_LinesToDrop write Set_LinesToDrop;
  8382.     property DistanceFromText: Single read Get_DistanceFromText write Set_DistanceFromText;
  8383.   end;
  8384.  
  8385. // *********************************************************************//
  8386. // DispIntf:  DropCapDisp
  8387. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8388. // GUID:      {00020956-0000-0000-C000-000000000046}
  8389. // *********************************************************************//
  8390.   DropCapDisp = dispinterface
  8391.     ['{00020956-0000-0000-C000-000000000046}']
  8392.     property Application_: Application_ readonly dispid 1000;
  8393.     property Creator: Integer readonly dispid 1001;
  8394.     property Parent: IDispatch readonly dispid 1002;
  8395.     property Position: WdDropPosition dispid 10;
  8396.     property FontName: WideString dispid 11;
  8397.     property LinesToDrop: Integer dispid 12;
  8398.     property DistanceFromText: Single dispid 13;
  8399.     procedure Clear; dispid 100;
  8400.     procedure Enable; dispid 101;
  8401.   end;
  8402.  
  8403. // *********************************************************************//
  8404. // Interface: TabStops
  8405. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8406. // GUID:      {00020955-0000-0000-C000-000000000046}
  8407. // *********************************************************************//
  8408.   TabStops = interface(IDispatch)
  8409.     ['{00020955-0000-0000-C000-000000000046}']
  8410.     function Get__NewEnum: IUnknown; safecall;
  8411.     function Get_Count: Integer; safecall;
  8412.     function Get_Application_: Application_; safecall;
  8413.     function Get_Creator: Integer; safecall;
  8414.     function Get_Parent: IDispatch; safecall;
  8415.     function Item(var Index: OleVariant): TabStop; safecall;
  8416.     function Add(Position: Single; var Alignment: OleVariant; var Leader: OleVariant): TabStop; safecall;
  8417.     procedure ClearAll; safecall;
  8418.     function Before(Position: Single): TabStop; safecall;
  8419.     function After(Position: Single): TabStop; safecall;
  8420.     property _NewEnum: IUnknown read Get__NewEnum;
  8421.     property Count: Integer read Get_Count;
  8422.     property Application_: Application_ read Get_Application_;
  8423.     property Creator: Integer read Get_Creator;
  8424.     property Parent: IDispatch read Get_Parent;
  8425.   end;
  8426.  
  8427. // *********************************************************************//
  8428. // DispIntf:  TabStopsDisp
  8429. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8430. // GUID:      {00020955-0000-0000-C000-000000000046}
  8431. // *********************************************************************//
  8432.   TabStopsDisp = dispinterface
  8433.     ['{00020955-0000-0000-C000-000000000046}']
  8434.     property _NewEnum: IUnknown readonly dispid -4;
  8435.     property Count: Integer readonly dispid 2;
  8436.     property Application_: Application_ readonly dispid 1000;
  8437.     property Creator: Integer readonly dispid 1001;
  8438.     property Parent: IDispatch readonly dispid 1002;
  8439.     function Item(var Index: OleVariant): TabStop; dispid 0;
  8440.     function Add(Position: Single; var Alignment: OleVariant; var Leader: OleVariant): TabStop; dispid 100;
  8441.     procedure ClearAll; dispid 101;
  8442.     function Before(Position: Single): TabStop; dispid 102;
  8443.     function After(Position: Single): TabStop; dispid 103;
  8444.   end;
  8445.  
  8446. // *********************************************************************//
  8447. // Interface: TabStop
  8448. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8449. // GUID:      {00020954-0000-0000-C000-000000000046}
  8450. // *********************************************************************//
  8451.   TabStop = interface(IDispatch)
  8452.     ['{00020954-0000-0000-C000-000000000046}']
  8453.     function Get_Application_: Application_; safecall;
  8454.     function Get_Creator: Integer; safecall;
  8455.     function Get_Parent: IDispatch; safecall;
  8456.     function Get_Alignment: WdTabAlignment; safecall;
  8457.     procedure Set_Alignment(prop: WdTabAlignment); safecall;
  8458.     function Get_Leader: WdTabLeader; safecall;
  8459.     procedure Set_Leader(prop: WdTabLeader); safecall;
  8460.     function Get_Position: Single; safecall;
  8461.     procedure Set_Position(prop: Single); safecall;
  8462.     function Get_CustomTab: WordBool; safecall;
  8463.     function Get_Next: TabStop; safecall;
  8464.     function Get_Previous: TabStop; safecall;
  8465.     procedure Clear; safecall;
  8466.     property Application_: Application_ read Get_Application_;
  8467.     property Creator: Integer read Get_Creator;
  8468.     property Parent: IDispatch read Get_Parent;
  8469.     property Alignment: WdTabAlignment read Get_Alignment write Set_Alignment;
  8470.     property Leader: WdTabLeader read Get_Leader write Set_Leader;
  8471.     property Position: Single read Get_Position write Set_Position;
  8472.     property CustomTab: WordBool read Get_CustomTab;
  8473.     property Next: TabStop read Get_Next;
  8474.     property Previous: TabStop read Get_Previous;
  8475.   end;
  8476.  
  8477. // *********************************************************************//
  8478. // DispIntf:  TabStopDisp
  8479. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8480. // GUID:      {00020954-0000-0000-C000-000000000046}
  8481. // *********************************************************************//
  8482.   TabStopDisp = dispinterface
  8483.     ['{00020954-0000-0000-C000-000000000046}']
  8484.     property Application_: Application_ readonly dispid 1000;
  8485.     property Creator: Integer readonly dispid 1001;
  8486.     property Parent: IDispatch readonly dispid 1002;
  8487.     property Alignment: WdTabAlignment dispid 100;
  8488.     property Leader: WdTabLeader dispid 101;
  8489.     property Position: Single dispid 102;
  8490.     property CustomTab: WordBool readonly dispid 103;
  8491.     property Next: TabStop readonly dispid 104;
  8492.     property Previous: TabStop readonly dispid 105;
  8493.     procedure Clear; dispid 200;
  8494.   end;
  8495.  
  8496. // *********************************************************************//
  8497. // Interface: _ParagraphFormat
  8498. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  8499. // GUID:      {00020953-0000-0000-C000-000000000046}
  8500. // *********************************************************************//
  8501.   _ParagraphFormat = interface(IDispatch)
  8502.     ['{00020953-0000-0000-C000-000000000046}']
  8503.     function Get_Application_: Application_; safecall;
  8504.     function Get_Creator: Integer; safecall;
  8505.     function Get_Parent: IDispatch; safecall;
  8506.     function Get_Duplicate: ParagraphFormat; safecall;
  8507.     function Get_Style: OleVariant; safecall;
  8508.     procedure Set_Style(var prop: OleVariant); safecall;
  8509.     function Get_Alignment: WdParagraphAlignment; safecall;
  8510.     procedure Set_Alignment(prop: WdParagraphAlignment); safecall;
  8511.     function Get_KeepTogether: Integer; safecall;
  8512.     procedure Set_KeepTogether(prop: Integer); safecall;
  8513.     function Get_KeepWithNext: Integer; safecall;
  8514.     procedure Set_KeepWithNext(prop: Integer); safecall;
  8515.     function Get_PageBreakBefore: Integer; safecall;
  8516.     procedure Set_PageBreakBefore(prop: Integer); safecall;
  8517.     function Get_NoLineNumber: Integer; safecall;
  8518.     procedure Set_NoLineNumber(prop: Integer); safecall;
  8519.     function Get_RightIndent: Single; safecall;
  8520.     procedure Set_RightIndent(prop: Single); safecall;
  8521.     function Get_LeftIndent: Single; safecall;
  8522.     procedure Set_LeftIndent(prop: Single); safecall;
  8523.     function Get_FirstLineIndent: Single; safecall;
  8524.     procedure Set_FirstLineIndent(prop: Single); safecall;
  8525.     function Get_LineSpacing: Single; safecall;
  8526.     procedure Set_LineSpacing(prop: Single); safecall;
  8527.     function Get_LineSpacingRule: WdLineSpacing; safecall;
  8528.     procedure Set_LineSpacingRule(prop: WdLineSpacing); safecall;
  8529.     function Get_SpaceBefore: Single; safecall;
  8530.     procedure Set_SpaceBefore(prop: Single); safecall;
  8531.     function Get_SpaceAfter: Single; safecall;
  8532.     procedure Set_SpaceAfter(prop: Single); safecall;
  8533.     function Get_Hyphenation: Integer; safecall;
  8534.     procedure Set_Hyphenation(prop: Integer); safecall;
  8535.     function Get_WidowControl: Integer; safecall;
  8536.     procedure Set_WidowControl(prop: Integer); safecall;
  8537.     function Get_FarEastLineBreakControl: Integer; safecall;
  8538.     procedure Set_FarEastLineBreakControl(prop: Integer); safecall;
  8539.     function Get_WordWrap: Integer; safecall;
  8540.     procedure Set_WordWrap(prop: Integer); safecall;
  8541.     function Get_HangingPunctuation: Integer; safecall;
  8542.     procedure Set_HangingPunctuation(prop: Integer); safecall;
  8543.     function Get_HalfWidthPunctuationOnTopOfLine: Integer; safecall;
  8544.     procedure Set_HalfWidthPunctuationOnTopOfLine(prop: Integer); safecall;
  8545.     function Get_AddSpaceBetweenFarEastAndAlpha: Integer; safecall;
  8546.     procedure Set_AddSpaceBetweenFarEastAndAlpha(prop: Integer); safecall;
  8547.     function Get_AddSpaceBetweenFarEastAndDigit: Integer; safecall;
  8548.     procedure Set_AddSpaceBetweenFarEastAndDigit(prop: Integer); safecall;
  8549.     function Get_BaseLineAlignment: WdBaselineAlignment; safecall;
  8550.     procedure Set_BaseLineAlignment(prop: WdBaselineAlignment); safecall;
  8551.     function Get_AutoAdjustRightIndent: Integer; safecall;
  8552.     procedure Set_AutoAdjustRightIndent(prop: Integer); safecall;
  8553.     function Get_DisableLineHeightGrid: Integer; safecall;
  8554.     procedure Set_DisableLineHeightGrid(prop: Integer); safecall;
  8555.     function Get_TabStops: TabStops; safecall;
  8556.     procedure Set_TabStops(const prop: TabStops); safecall;
  8557.     function Get_Borders: Borders; safecall;
  8558.     procedure Set_Borders(const prop: Borders); safecall;
  8559.     function Get_Shading: Shading; safecall;
  8560.     function Get_OutlineLevel: WdOutlineLevel; safecall;
  8561.     procedure Set_OutlineLevel(prop: WdOutlineLevel); safecall;
  8562.     procedure CloseUp; safecall;
  8563.     procedure OpenUp; safecall;
  8564.     procedure OpenOrCloseUp; safecall;
  8565.     procedure TabHangingIndent(Count: Smallint); safecall;
  8566.     procedure TabIndent(Count: Smallint); safecall;
  8567.     procedure Reset; safecall;
  8568.     procedure Space1; safecall;
  8569.     procedure Space15; safecall;
  8570.     procedure Space2; safecall;
  8571.     procedure IndentCharWidth(Count: Smallint); safecall;
  8572.     procedure IndentFirstLineCharWidth(Count: Smallint); safecall;
  8573.     function Get_CharacterUnitRightIndent: Single; safecall;
  8574.     procedure Set_CharacterUnitRightIndent(prop: Single); safecall;
  8575.     function Get_CharacterUnitLeftIndent: Single; safecall;
  8576.     procedure Set_CharacterUnitLeftIndent(prop: Single); safecall;
  8577.     function Get_CharacterUnitFirstLineIndent: Single; safecall;
  8578.     procedure Set_CharacterUnitFirstLineIndent(prop: Single); safecall;
  8579.     function Get_LineUnitBefore: Single; safecall;
  8580.     procedure Set_LineUnitBefore(prop: Single); safecall;
  8581.     function Get_LineUnitAfter: Single; safecall;
  8582.     procedure Set_LineUnitAfter(prop: Single); safecall;
  8583.     function Get_ReadingOrder: WdReadingOrder; safecall;
  8584.     procedure Set_ReadingOrder(prop: WdReadingOrder); safecall;
  8585.     function Get_SpaceBeforeAuto: Integer; safecall;
  8586.     procedure Set_SpaceBeforeAuto(prop: Integer); safecall;
  8587.     function Get_SpaceAfterAuto: Integer; safecall;
  8588.     procedure Set_SpaceAfterAuto(prop: Integer); safecall;
  8589.     property Application_: Application_ read Get_Application_;
  8590.     property Creator: Integer read Get_Creator;
  8591.     property Parent: IDispatch read Get_Parent;
  8592.     property Duplicate: ParagraphFormat read Get_Duplicate;
  8593.     property Alignment: WdParagraphAlignment read Get_Alignment write Set_Alignment;
  8594.     property KeepTogether: Integer read Get_KeepTogether write Set_KeepTogether;
  8595.     property KeepWithNext: Integer read Get_KeepWithNext write Set_KeepWithNext;
  8596.     property PageBreakBefore: Integer read Get_PageBreakBefore write Set_PageBreakBefore;
  8597.     property NoLineNumber: Integer read Get_NoLineNumber write Set_NoLineNumber;
  8598.     property RightIndent: Single read Get_RightIndent write Set_RightIndent;
  8599.     property LeftIndent: Single read Get_LeftIndent write Set_LeftIndent;
  8600.     property FirstLineIndent: Single read Get_FirstLineIndent write Set_FirstLineIndent;
  8601.     property LineSpacing: Single read Get_LineSpacing write Set_LineSpacing;
  8602.     property LineSpacingRule: WdLineSpacing read Get_LineSpacingRule write Set_LineSpacingRule;
  8603.     property SpaceBefore: Single read Get_SpaceBefore write Set_SpaceBefore;
  8604.     property SpaceAfter: Single read Get_SpaceAfter write Set_SpaceAfter;
  8605.     property Hyphenation: Integer read Get_Hyphenation write Set_Hyphenation;
  8606.     property WidowControl: Integer read Get_WidowControl write Set_WidowControl;
  8607.     property FarEastLineBreakControl: Integer read Get_FarEastLineBreakControl write Set_FarEastLineBreakControl;
  8608.     property WordWrap: Integer read Get_WordWrap write Set_WordWrap;
  8609.     property HangingPunctuation: Integer read Get_HangingPunctuation write Set_HangingPunctuation;
  8610.     property HalfWidthPunctuationOnTopOfLine: Integer read Get_HalfWidthPunctuationOnTopOfLine write Set_HalfWidthPunctuationOnTopOfLine;
  8611.     property AddSpaceBetweenFarEastAndAlpha: Integer read Get_AddSpaceBetweenFarEastAndAlpha write Set_AddSpaceBetweenFarEastAndAlpha;
  8612.     property AddSpaceBetweenFarEastAndDigit: Integer read Get_AddSpaceBetweenFarEastAndDigit write Set_AddSpaceBetweenFarEastAndDigit;
  8613.     property BaseLineAlignment: WdBaselineAlignment read Get_BaseLineAlignment write Set_BaseLineAlignment;
  8614.     property AutoAdjustRightIndent: Integer read Get_AutoAdjustRightIndent write Set_AutoAdjustRightIndent;
  8615.     property DisableLineHeightGrid: Integer read Get_DisableLineHeightGrid write Set_DisableLineHeightGrid;
  8616.     property TabStops: TabStops read Get_TabStops write Set_TabStops;
  8617.     property Borders: Borders read Get_Borders write Set_Borders;
  8618.     property Shading: Shading read Get_Shading;
  8619.     property OutlineLevel: WdOutlineLevel read Get_OutlineLevel write Set_OutlineLevel;
  8620.     property CharacterUnitRightIndent: Single read Get_CharacterUnitRightIndent write Set_CharacterUnitRightIndent;
  8621.     property CharacterUnitLeftIndent: Single read Get_CharacterUnitLeftIndent write Set_CharacterUnitLeftIndent;
  8622.     property CharacterUnitFirstLineIndent: Single read Get_CharacterUnitFirstLineIndent write Set_CharacterUnitFirstLineIndent;
  8623.     property LineUnitBefore: Single read Get_LineUnitBefore write Set_LineUnitBefore;
  8624.     property LineUnitAfter: Single read Get_LineUnitAfter write Set_LineUnitAfter;
  8625.     property ReadingOrder: WdReadingOrder read Get_ReadingOrder write Set_ReadingOrder;
  8626.     property SpaceBeforeAuto: Integer read Get_SpaceBeforeAuto write Set_SpaceBeforeAuto;
  8627.     property SpaceAfterAuto: Integer read Get_SpaceAfterAuto write Set_SpaceAfterAuto;
  8628.   end;
  8629.  
  8630. // *********************************************************************//
  8631. // DispIntf:  _ParagraphFormatDisp
  8632. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  8633. // GUID:      {00020953-0000-0000-C000-000000000046}
  8634. // *********************************************************************//
  8635.   _ParagraphFormatDisp = dispinterface
  8636.     ['{00020953-0000-0000-C000-000000000046}']
  8637.     property Application_: Application_ readonly dispid 1000;
  8638.     property Creator: Integer readonly dispid 1001;
  8639.     property Parent: IDispatch readonly dispid 1002;
  8640.     property Duplicate: ParagraphFormat readonly dispid 10;
  8641.     function Style: OleVariant; dispid 100;
  8642.     property Alignment: WdParagraphAlignment dispid 101;
  8643.     property KeepTogether: Integer dispid 102;
  8644.     property KeepWithNext: Integer dispid 103;
  8645.     property PageBreakBefore: Integer dispid 104;
  8646.     property NoLineNumber: Integer dispid 105;
  8647.     property RightIndent: Single dispid 106;
  8648.     property LeftIndent: Single dispid 107;
  8649.     property FirstLineIndent: Single dispid 108;
  8650.     property LineSpacing: Single dispid 109;
  8651.     property LineSpacingRule: WdLineSpacing dispid 110;
  8652.     property SpaceBefore: Single dispid 111;
  8653.     property SpaceAfter: Single dispid 112;
  8654.     property Hyphenation: Integer dispid 113;
  8655.     property WidowControl: Integer dispid 114;
  8656.     property FarEastLineBreakControl: Integer dispid 117;
  8657.     property WordWrap: Integer dispid 118;
  8658.     property HangingPunctuation: Integer dispid 119;
  8659.     property HalfWidthPunctuationOnTopOfLine: Integer dispid 120;
  8660.     property AddSpaceBetweenFarEastAndAlpha: Integer dispid 121;
  8661.     property AddSpaceBetweenFarEastAndDigit: Integer dispid 122;
  8662.     property BaseLineAlignment: WdBaselineAlignment dispid 123;
  8663.     property AutoAdjustRightIndent: Integer dispid 124;
  8664.     property DisableLineHeightGrid: Integer dispid 125;
  8665.     property TabStops: TabStops dispid 1103;
  8666.     property Borders: Borders dispid 1100;
  8667.     property Shading: Shading readonly dispid 1101;
  8668.     property OutlineLevel: WdOutlineLevel dispid 202;
  8669.     procedure CloseUp; dispid 301;
  8670.     procedure OpenUp; dispid 302;
  8671.     procedure OpenOrCloseUp; dispid 303;
  8672.     procedure TabHangingIndent(Count: Smallint); dispid 304;
  8673.     procedure TabIndent(Count: Smallint); dispid 306;
  8674.     procedure Reset; dispid 312;
  8675.     procedure Space1; dispid 313;
  8676.     procedure Space15; dispid 314;
  8677.     procedure Space2; dispid 315;
  8678.     procedure IndentCharWidth(Count: Smallint); dispid 320;
  8679.     procedure IndentFirstLineCharWidth(Count: Smallint); dispid 322;
  8680.     property CharacterUnitRightIndent: Single dispid 126;
  8681.     property CharacterUnitLeftIndent: Single dispid 127;
  8682.     property CharacterUnitFirstLineIndent: Single dispid 128;
  8683.     property LineUnitBefore: Single dispid 129;
  8684.     property LineUnitAfter: Single dispid 130;
  8685.     property ReadingOrder: WdReadingOrder dispid 131;
  8686.     property SpaceBeforeAuto: Integer dispid 132;
  8687.     property SpaceAfterAuto: Integer dispid 133;
  8688.   end;
  8689.  
  8690. // *********************************************************************//
  8691. // Interface: _Font
  8692. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  8693. // GUID:      {00020952-0000-0000-C000-000000000046}
  8694. // *********************************************************************//
  8695.   _Font = interface(IDispatch)
  8696.     ['{00020952-0000-0000-C000-000000000046}']
  8697.     function Get_Application_: Application_; safecall;
  8698.     function Get_Creator: Integer; safecall;
  8699.     function Get_Parent: IDispatch; safecall;
  8700.     function Get_Duplicate: Font; safecall;
  8701.     function Get_Bold: Integer; safecall;
  8702.     procedure Set_Bold(prop: Integer); safecall;
  8703.     function Get_Italic: Integer; safecall;
  8704.     procedure Set_Italic(prop: Integer); safecall;
  8705.     function Get_Hidden: Integer; safecall;
  8706.     procedure Set_Hidden(prop: Integer); safecall;
  8707.     function Get_SmallCaps: Integer; safecall;
  8708.     procedure Set_SmallCaps(prop: Integer); safecall;
  8709.     function Get_AllCaps: Integer; safecall;
  8710.     procedure Set_AllCaps(prop: Integer); safecall;
  8711.     function Get_StrikeThrough: Integer; safecall;
  8712.     procedure Set_StrikeThrough(prop: Integer); safecall;
  8713.     function Get_DoubleStrikeThrough: Integer; safecall;
  8714.     procedure Set_DoubleStrikeThrough(prop: Integer); safecall;
  8715.     function Get_ColorIndex: WdColorIndex; safecall;
  8716.     procedure Set_ColorIndex(prop: WdColorIndex); safecall;
  8717.     function Get_Subscript: Integer; safecall;
  8718.     procedure Set_Subscript(prop: Integer); safecall;
  8719.     function Get_Superscript: Integer; safecall;
  8720.     procedure Set_Superscript(prop: Integer); safecall;
  8721.     function Get_Underline: WdUnderline; safecall;
  8722.     procedure Set_Underline(prop: WdUnderline); safecall;
  8723.     function Get_Size: Single; safecall;
  8724.     procedure Set_Size(prop: Single); safecall;
  8725.     function Get_Name: WideString; safecall;
  8726.     procedure Set_Name(const prop: WideString); safecall;
  8727.     function Get_Position: Integer; safecall;
  8728.     procedure Set_Position(prop: Integer); safecall;
  8729.     function Get_Spacing: Single; safecall;
  8730.     procedure Set_Spacing(prop: Single); safecall;
  8731.     function Get_Scaling: Integer; safecall;
  8732.     procedure Set_Scaling(prop: Integer); safecall;
  8733.     function Get_Shadow: Integer; safecall;
  8734.     procedure Set_Shadow(prop: Integer); safecall;
  8735.     function Get_Outline: Integer; safecall;
  8736.     procedure Set_Outline(prop: Integer); safecall;
  8737.     function Get_Emboss: Integer; safecall;
  8738.     procedure Set_Emboss(prop: Integer); safecall;
  8739.     function Get_Kerning: Single; safecall;
  8740.     procedure Set_Kerning(prop: Single); safecall;
  8741.     function Get_Engrave: Integer; safecall;
  8742.     procedure Set_Engrave(prop: Integer); safecall;
  8743.     function Get_Animation: WdAnimation; safecall;
  8744.     procedure Set_Animation(prop: WdAnimation); safecall;
  8745.     function Get_Borders: Borders; safecall;
  8746.     procedure Set_Borders(const prop: Borders); safecall;
  8747.     function Get_Shading: Shading; safecall;
  8748.     function Get_EmphasisMark: WdEmphasisMark; safecall;
  8749.     procedure Set_EmphasisMark(prop: WdEmphasisMark); safecall;
  8750.     function Get_DisableCharacterSpaceGrid: WordBool; safecall;
  8751.     procedure Set_DisableCharacterSpaceGrid(prop: WordBool); safecall;
  8752.     function Get_NameFarEast: WideString; safecall;
  8753.     procedure Set_NameFarEast(const prop: WideString); safecall;
  8754.     function Get_NameAscii: WideString; safecall;
  8755.     procedure Set_NameAscii(const prop: WideString); safecall;
  8756.     function Get_NameOther: WideString; safecall;
  8757.     procedure Set_NameOther(const prop: WideString); safecall;
  8758.     procedure Grow; safecall;
  8759.     procedure Shrink; safecall;
  8760.     procedure Reset; safecall;
  8761.     procedure SetAsTemplateDefault; safecall;
  8762.     function Get_Color: WdColor; safecall;
  8763.     procedure Set_Color(prop: WdColor); safecall;
  8764.     function Get_BoldBi: Integer; safecall;
  8765.     procedure Set_BoldBi(prop: Integer); safecall;
  8766.     function Get_ItalicBi: Integer; safecall;
  8767.     procedure Set_ItalicBi(prop: Integer); safecall;
  8768.     function Get_SizeBi: Single; safecall;
  8769.     procedure Set_SizeBi(prop: Single); safecall;
  8770.     function Get_NameBi: WideString; safecall;
  8771.     procedure Set_NameBi(const prop: WideString); safecall;
  8772.     function Get_ColorIndexBi: WdColorIndex; safecall;
  8773.     procedure Set_ColorIndexBi(prop: WdColorIndex); safecall;
  8774.     function Get_DiacriticColor: WdColor; safecall;
  8775.     procedure Set_DiacriticColor(prop: WdColor); safecall;
  8776.     function Get_UnderlineColor: WdColor; safecall;
  8777.     procedure Set_UnderlineColor(prop: WdColor); safecall;
  8778.     property Application_: Application_ read Get_Application_;
  8779.     property Creator: Integer read Get_Creator;
  8780.     property Parent: IDispatch read Get_Parent;
  8781.     property Duplicate: Font read Get_Duplicate;
  8782.     property Bold: Integer read Get_Bold write Set_Bold;
  8783.     property Italic: Integer read Get_Italic write Set_Italic;
  8784.     property Hidden: Integer read Get_Hidden write Set_Hidden;
  8785.     property SmallCaps: Integer read Get_SmallCaps write Set_SmallCaps;
  8786.     property AllCaps: Integer read Get_AllCaps write Set_AllCaps;
  8787.     property StrikeThrough: Integer read Get_StrikeThrough write Set_StrikeThrough;
  8788.     property DoubleStrikeThrough: Integer read Get_DoubleStrikeThrough write Set_DoubleStrikeThrough;
  8789.     property ColorIndex: WdColorIndex read Get_ColorIndex write Set_ColorIndex;
  8790.     property Subscript: Integer read Get_Subscript write Set_Subscript;
  8791.     property Superscript: Integer read Get_Superscript write Set_Superscript;
  8792.     property Underline: WdUnderline read Get_Underline write Set_Underline;
  8793.     property Size: Single read Get_Size write Set_Size;
  8794.     property Name: WideString read Get_Name write Set_Name;
  8795.     property Position: Integer read Get_Position write Set_Position;
  8796.     property Spacing: Single read Get_Spacing write Set_Spacing;
  8797.     property Scaling: Integer read Get_Scaling write Set_Scaling;
  8798.     property Shadow: Integer read Get_Shadow write Set_Shadow;
  8799.     property Outline: Integer read Get_Outline write Set_Outline;
  8800.     property Emboss: Integer read Get_Emboss write Set_Emboss;
  8801.     property Kerning: Single read Get_Kerning write Set_Kerning;
  8802.     property Engrave: Integer read Get_Engrave write Set_Engrave;
  8803.     property Animation: WdAnimation read Get_Animation write Set_Animation;
  8804.     property Borders: Borders read Get_Borders write Set_Borders;
  8805.     property Shading: Shading read Get_Shading;
  8806.     property EmphasisMark: WdEmphasisMark read Get_EmphasisMark write Set_EmphasisMark;
  8807.     property DisableCharacterSpaceGrid: WordBool read Get_DisableCharacterSpaceGrid write Set_DisableCharacterSpaceGrid;
  8808.     property NameFarEast: WideString read Get_NameFarEast write Set_NameFarEast;
  8809.     property NameAscii: WideString read Get_NameAscii write Set_NameAscii;
  8810.     property NameOther: WideString read Get_NameOther write Set_NameOther;
  8811.     property Color: WdColor read Get_Color write Set_Color;
  8812.     property BoldBi: Integer read Get_BoldBi write Set_BoldBi;
  8813.     property ItalicBi: Integer read Get_ItalicBi write Set_ItalicBi;
  8814.     property SizeBi: Single read Get_SizeBi write Set_SizeBi;
  8815.     property NameBi: WideString read Get_NameBi write Set_NameBi;
  8816.     property ColorIndexBi: WdColorIndex read Get_ColorIndexBi write Set_ColorIndexBi;
  8817.     property DiacriticColor: WdColor read Get_DiacriticColor write Set_DiacriticColor;
  8818.     property UnderlineColor: WdColor read Get_UnderlineColor write Set_UnderlineColor;
  8819.   end;
  8820.  
  8821. // *********************************************************************//
  8822. // DispIntf:  _FontDisp
  8823. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  8824. // GUID:      {00020952-0000-0000-C000-000000000046}
  8825. // *********************************************************************//
  8826.   _FontDisp = dispinterface
  8827.     ['{00020952-0000-0000-C000-000000000046}']
  8828.     property Application_: Application_ readonly dispid 1000;
  8829.     property Creator: Integer readonly dispid 1001;
  8830.     property Parent: IDispatch readonly dispid 1002;
  8831.     property Duplicate: Font readonly dispid 10;
  8832.     property Bold: Integer dispid 130;
  8833.     property Italic: Integer dispid 131;
  8834.     property Hidden: Integer dispid 132;
  8835.     property SmallCaps: Integer dispid 133;
  8836.     property AllCaps: Integer dispid 134;
  8837.     property StrikeThrough: Integer dispid 135;
  8838.     property DoubleStrikeThrough: Integer dispid 136;
  8839.     property ColorIndex: WdColorIndex dispid 137;
  8840.     property Subscript: Integer dispid 138;
  8841.     property Superscript: Integer dispid 139;
  8842.     property Underline: WdUnderline dispid 140;
  8843.     property Size: Single dispid 141;
  8844.     property Name: WideString dispid 142;
  8845.     property Position: Integer dispid 143;
  8846.     property Spacing: Single dispid 144;
  8847.     property Scaling: Integer dispid 145;
  8848.     property Shadow: Integer dispid 146;
  8849.     property Outline: Integer dispid 147;
  8850.     property Emboss: Integer dispid 148;
  8851.     property Kerning: Single dispid 149;
  8852.     property Engrave: Integer dispid 150;
  8853.     property Animation: WdAnimation dispid 151;
  8854.     property Borders: Borders dispid 1100;
  8855.     property Shading: Shading readonly dispid 153;
  8856.     property EmphasisMark: WdEmphasisMark dispid 154;
  8857.     property DisableCharacterSpaceGrid: WordBool dispid 155;
  8858.     property NameFarEast: WideString dispid 156;
  8859.     property NameAscii: WideString dispid 157;
  8860.     property NameOther: WideString dispid 158;
  8861.     procedure Grow; dispid 100;
  8862.     procedure Shrink; dispid 101;
  8863.     procedure Reset; dispid 102;
  8864.     procedure SetAsTemplateDefault; dispid 103;
  8865.     property Color: WdColor dispid 159;
  8866.     property BoldBi: Integer dispid 160;
  8867.     property ItalicBi: Integer dispid 161;
  8868.     property SizeBi: Single dispid 162;
  8869.     property NameBi: WideString dispid 163;
  8870.     property ColorIndexBi: WdColorIndex dispid 164;
  8871.     property DiacriticColor: WdColor dispid 165;
  8872.     property UnderlineColor: WdColor dispid 166;
  8873.   end;
  8874.  
  8875. // *********************************************************************//
  8876. // Interface: Table
  8877. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8878. // GUID:      {00020951-0000-0000-C000-000000000046}
  8879. // *********************************************************************//
  8880.   Table = interface(IDispatch)
  8881.     ['{00020951-0000-0000-C000-000000000046}']
  8882.     function Get_Range: Range; safecall;
  8883.     function Get_Application_: Application_; safecall;
  8884.     function Get_Creator: Integer; safecall;
  8885.     function Get_Parent: IDispatch; safecall;
  8886.     function Get_Columns: Columns; safecall;
  8887.     function Get_Rows: Rows; safecall;
  8888.     function Get_Borders: Borders; safecall;
  8889.     procedure Set_Borders(const prop: Borders); safecall;
  8890.     function Get_Shading: Shading; safecall;
  8891.     function Get_Uniform: WordBool; safecall;
  8892.     function Get_AutoFormatType: Integer; safecall;
  8893.     procedure Select; safecall;
  8894.     procedure Delete; safecall;
  8895.     procedure SortOld(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  8896.                       var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  8897.                       var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  8898.                       var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  8899.                       var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  8900.                       var CaseSensitive: OleVariant; var LanguageID: OleVariant); safecall;
  8901.     procedure SortAscending; safecall;
  8902.     procedure SortDescending; safecall;
  8903.     procedure AutoFormat(var Format: OleVariant; var ApplyBorders: OleVariant; 
  8904.                          var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  8905.                          var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  8906.                          var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  8907.                          var ApplyLastColumn: OleVariant; var AutoFit: OleVariant); safecall;
  8908.     procedure UpdateAutoFormat; safecall;
  8909.     function ConvertToTextOld(var Separator: OleVariant): Range; safecall;
  8910.     function Cell(Row: Integer; Column: Integer): Cell; safecall;
  8911.     function Split(var BeforeRow: OleVariant): Table; safecall;
  8912.     function ConvertToText(var Separator: OleVariant; var NestedTables: OleVariant): Range; safecall;
  8913.     procedure AutoFitBehavior(Behavior: WdAutoFitBehavior); safecall;
  8914.     procedure Sort(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  8915.                    var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  8916.                    var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  8917.                    var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  8918.                    var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  8919.                    var CaseSensitive: OleVariant; var BidiSort: OleVariant; 
  8920.                    var IgnoreThe: OleVariant; var IgnoreKashida: OleVariant; 
  8921.                    var IgnoreDiacritics: OleVariant; var IgnoreHe: OleVariant; 
  8922.                    var LanguageID: OleVariant); safecall;
  8923.     function Get_Tables: Tables; safecall;
  8924.     function Get_NestingLevel: Integer; safecall;
  8925.     function Get_AllowPageBreaks: WordBool; safecall;
  8926.     procedure Set_AllowPageBreaks(prop: WordBool); safecall;
  8927.     function Get_AllowAutoFit: WordBool; safecall;
  8928.     procedure Set_AllowAutoFit(prop: WordBool); safecall;
  8929.     function Get_PreferredWidth: Single; safecall;
  8930.     procedure Set_PreferredWidth(prop: Single); safecall;
  8931.     function Get_PreferredWidthType: WdPreferredWidthType; safecall;
  8932.     procedure Set_PreferredWidthType(prop: WdPreferredWidthType); safecall;
  8933.     function Get_TopPadding: Single; safecall;
  8934.     procedure Set_TopPadding(prop: Single); safecall;
  8935.     function Get_BottomPadding: Single; safecall;
  8936.     procedure Set_BottomPadding(prop: Single); safecall;
  8937.     function Get_LeftPadding: Single; safecall;
  8938.     procedure Set_LeftPadding(prop: Single); safecall;
  8939.     function Get_RightPadding: Single; safecall;
  8940.     procedure Set_RightPadding(prop: Single); safecall;
  8941.     function Get_Spacing: Single; safecall;
  8942.     procedure Set_Spacing(prop: Single); safecall;
  8943.     function Get_TableDirection: WdTableDirection; safecall;
  8944.     procedure Set_TableDirection(prop: WdTableDirection); safecall;
  8945.     function Get_ID: WideString; safecall;
  8946.     procedure Set_ID(const prop: WideString); safecall;
  8947.     property Range: Range read Get_Range;
  8948.     property Application_: Application_ read Get_Application_;
  8949.     property Creator: Integer read Get_Creator;
  8950.     property Parent: IDispatch read Get_Parent;
  8951.     property Columns: Columns read Get_Columns;
  8952.     property Rows: Rows read Get_Rows;
  8953.     property Borders: Borders read Get_Borders write Set_Borders;
  8954.     property Shading: Shading read Get_Shading;
  8955.     property Uniform: WordBool read Get_Uniform;
  8956.     property AutoFormatType: Integer read Get_AutoFormatType;
  8957.     property Tables: Tables read Get_Tables;
  8958.     property NestingLevel: Integer read Get_NestingLevel;
  8959.     property AllowPageBreaks: WordBool read Get_AllowPageBreaks write Set_AllowPageBreaks;
  8960.     property AllowAutoFit: WordBool read Get_AllowAutoFit write Set_AllowAutoFit;
  8961.     property PreferredWidth: Single read Get_PreferredWidth write Set_PreferredWidth;
  8962.     property PreferredWidthType: WdPreferredWidthType read Get_PreferredWidthType write Set_PreferredWidthType;
  8963.     property TopPadding: Single read Get_TopPadding write Set_TopPadding;
  8964.     property BottomPadding: Single read Get_BottomPadding write Set_BottomPadding;
  8965.     property LeftPadding: Single read Get_LeftPadding write Set_LeftPadding;
  8966.     property RightPadding: Single read Get_RightPadding write Set_RightPadding;
  8967.     property Spacing: Single read Get_Spacing write Set_Spacing;
  8968.     property TableDirection: WdTableDirection read Get_TableDirection write Set_TableDirection;
  8969.     property ID: WideString read Get_ID write Set_ID;
  8970.   end;
  8971.  
  8972. // *********************************************************************//
  8973. // DispIntf:  TableDisp
  8974. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  8975. // GUID:      {00020951-0000-0000-C000-000000000046}
  8976. // *********************************************************************//
  8977.   TableDisp = dispinterface
  8978.     ['{00020951-0000-0000-C000-000000000046}']
  8979.     property Range: Range readonly dispid 0;
  8980.     property Application_: Application_ readonly dispid 1000;
  8981.     property Creator: Integer readonly dispid 1001;
  8982.     property Parent: IDispatch readonly dispid 1002;
  8983.     property Columns: Columns readonly dispid 100;
  8984.     property Rows: Rows readonly dispid 101;
  8985.     property Borders: Borders dispid 1100;
  8986.     property Shading: Shading readonly dispid 104;
  8987.     property Uniform: WordBool readonly dispid 105;
  8988.     property AutoFormatType: Integer readonly dispid 106;
  8989.     procedure Select; dispid 200;
  8990.     procedure Delete; dispid 9;
  8991.     procedure SortOld(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  8992.                       var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  8993.                       var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  8994.                       var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  8995.                       var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  8996.                       var CaseSensitive: OleVariant; var LanguageID: OleVariant); dispid 10;
  8997.     procedure SortAscending; dispid 12;
  8998.     procedure SortDescending; dispid 13;
  8999.     procedure AutoFormat(var Format: OleVariant; var ApplyBorders: OleVariant; 
  9000.                          var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  9001.                          var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  9002.                          var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  9003.                          var ApplyLastColumn: OleVariant; var AutoFit: OleVariant); dispid 14;
  9004.     procedure UpdateAutoFormat; dispid 15;
  9005.     function ConvertToTextOld(var Separator: OleVariant): Range; dispid 16;
  9006.     function Cell(Row: Integer; Column: Integer): Cell; dispid 17;
  9007.     function Split(var BeforeRow: OleVariant): Table; dispid 18;
  9008.     function ConvertToText(var Separator: OleVariant; var NestedTables: OleVariant): Range; dispid 19;
  9009.     procedure AutoFitBehavior(Behavior: WdAutoFitBehavior); dispid 20;
  9010.     procedure Sort(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  9011.                    var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  9012.                    var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  9013.                    var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  9014.                    var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  9015.                    var CaseSensitive: OleVariant; var BidiSort: OleVariant; 
  9016.                    var IgnoreThe: OleVariant; var IgnoreKashida: OleVariant; 
  9017.                    var IgnoreDiacritics: OleVariant; var IgnoreHe: OleVariant; 
  9018.                    var LanguageID: OleVariant); dispid 23;
  9019.     property Tables: Tables readonly dispid 107;
  9020.     property NestingLevel: Integer readonly dispid 108;
  9021.     property AllowPageBreaks: WordBool dispid 109;
  9022.     property AllowAutoFit: WordBool dispid 110;
  9023.     property PreferredWidth: Single dispid 111;
  9024.     property PreferredWidthType: WdPreferredWidthType dispid 112;
  9025.     property TopPadding: Single dispid 113;
  9026.     property BottomPadding: Single dispid 114;
  9027.     property LeftPadding: Single dispid 115;
  9028.     property RightPadding: Single dispid 116;
  9029.     property Spacing: Single dispid 117;
  9030.     property TableDirection: WdTableDirection dispid 118;
  9031.     property ID: WideString dispid 119;
  9032.   end;
  9033.  
  9034. // *********************************************************************//
  9035. // Interface: Row
  9036. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9037. // GUID:      {00020950-0000-0000-C000-000000000046}
  9038. // *********************************************************************//
  9039.   Row = interface(IDispatch)
  9040.     ['{00020950-0000-0000-C000-000000000046}']
  9041.     function Get_Range: Range; safecall;
  9042.     function Get_Application_: Application_; safecall;
  9043.     function Get_Creator: Integer; safecall;
  9044.     function Get_Parent: IDispatch; safecall;
  9045.     function Get_AllowBreakAcrossPages: Integer; safecall;
  9046.     procedure Set_AllowBreakAcrossPages(prop: Integer); safecall;
  9047.     function Get_Alignment: WdRowAlignment; safecall;
  9048.     procedure Set_Alignment(prop: WdRowAlignment); safecall;
  9049.     function Get_HeadingFormat: Integer; safecall;
  9050.     procedure Set_HeadingFormat(prop: Integer); safecall;
  9051.     function Get_SpaceBetweenColumns: Single; safecall;
  9052.     procedure Set_SpaceBetweenColumns(prop: Single); safecall;
  9053.     function Get_Height: Single; safecall;
  9054.     procedure Set_Height(prop: Single); safecall;
  9055.     function Get_HeightRule: WdRowHeightRule; safecall;
  9056.     procedure Set_HeightRule(prop: WdRowHeightRule); safecall;
  9057.     function Get_LeftIndent: Single; safecall;
  9058.     procedure Set_LeftIndent(prop: Single); safecall;
  9059.     function Get_IsLast: WordBool; safecall;
  9060.     function Get_IsFirst: WordBool; safecall;
  9061.     function Get_Index: Integer; safecall;
  9062.     function Get_Cells: Cells; safecall;
  9063.     function Get_Borders: Borders; safecall;
  9064.     procedure Set_Borders(const prop: Borders); safecall;
  9065.     function Get_Shading: Shading; safecall;
  9066.     function Get_Next: Row; safecall;
  9067.     function Get_Previous: Row; safecall;
  9068.     procedure Select; safecall;
  9069.     procedure Delete; safecall;
  9070.     procedure SetLeftIndent(LeftIndent: Single; RulerStyle: WdRulerStyle); safecall;
  9071.     procedure SetHeight(RowHeight: Single; HeightRule: WdRowHeightRule); safecall;
  9072.     function ConvertToTextOld(var Separator: OleVariant): Range; safecall;
  9073.     function ConvertToText(var Separator: OleVariant; var NestedTables: OleVariant): Range; safecall;
  9074.     function Get_NestingLevel: Integer; safecall;
  9075.     function Get_ID: WideString; safecall;
  9076.     procedure Set_ID(const prop: WideString); safecall;
  9077.     property Range: Range read Get_Range;
  9078.     property Application_: Application_ read Get_Application_;
  9079.     property Creator: Integer read Get_Creator;
  9080.     property Parent: IDispatch read Get_Parent;
  9081.     property AllowBreakAcrossPages: Integer read Get_AllowBreakAcrossPages write Set_AllowBreakAcrossPages;
  9082.     property Alignment: WdRowAlignment read Get_Alignment write Set_Alignment;
  9083.     property HeadingFormat: Integer read Get_HeadingFormat write Set_HeadingFormat;
  9084.     property SpaceBetweenColumns: Single read Get_SpaceBetweenColumns write Set_SpaceBetweenColumns;
  9085.     property Height: Single read Get_Height write Set_Height;
  9086.     property HeightRule: WdRowHeightRule read Get_HeightRule write Set_HeightRule;
  9087.     property LeftIndent: Single read Get_LeftIndent write Set_LeftIndent;
  9088.     property IsLast: WordBool read Get_IsLast;
  9089.     property IsFirst: WordBool read Get_IsFirst;
  9090.     property Index: Integer read Get_Index;
  9091.     property Cells: Cells read Get_Cells;
  9092.     property Borders: Borders read Get_Borders write Set_Borders;
  9093.     property Shading: Shading read Get_Shading;
  9094.     property Next: Row read Get_Next;
  9095.     property Previous: Row read Get_Previous;
  9096.     property NestingLevel: Integer read Get_NestingLevel;
  9097.     property ID: WideString read Get_ID write Set_ID;
  9098.   end;
  9099.  
  9100. // *********************************************************************//
  9101. // DispIntf:  RowDisp
  9102. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9103. // GUID:      {00020950-0000-0000-C000-000000000046}
  9104. // *********************************************************************//
  9105.   RowDisp = dispinterface
  9106.     ['{00020950-0000-0000-C000-000000000046}']
  9107.     property Range: Range readonly dispid 0;
  9108.     property Application_: Application_ readonly dispid 1000;
  9109.     property Creator: Integer readonly dispid 1001;
  9110.     property Parent: IDispatch readonly dispid 1002;
  9111.     property AllowBreakAcrossPages: Integer dispid 3;
  9112.     property Alignment: WdRowAlignment dispid 4;
  9113.     property HeadingFormat: Integer dispid 5;
  9114.     property SpaceBetweenColumns: Single dispid 6;
  9115.     property Height: Single dispid 7;
  9116.     property HeightRule: WdRowHeightRule dispid 8;
  9117.     property LeftIndent: Single dispid 9;
  9118.     property IsLast: WordBool readonly dispid 10;
  9119.     property IsFirst: WordBool readonly dispid 11;
  9120.     property Index: Integer readonly dispid 12;
  9121.     property Cells: Cells readonly dispid 100;
  9122.     property Borders: Borders dispid 1100;
  9123.     property Shading: Shading readonly dispid 103;
  9124.     property Next: Row readonly dispid 104;
  9125.     property Previous: Row readonly dispid 105;
  9126.     procedure Select; dispid 65535;
  9127.     procedure Delete; dispid 200;
  9128.     procedure SetLeftIndent(LeftIndent: Single; RulerStyle: WdRulerStyle); dispid 202;
  9129.     procedure SetHeight(RowHeight: Single; HeightRule: WdRowHeightRule); dispid 203;
  9130.     function ConvertToTextOld(var Separator: OleVariant): Range; dispid 16;
  9131.     function ConvertToText(var Separator: OleVariant; var NestedTables: OleVariant): Range; dispid 18;
  9132.     property NestingLevel: Integer readonly dispid 106;
  9133.     property ID: WideString dispid 107;
  9134.   end;
  9135.  
  9136. // *********************************************************************//
  9137. // Interface: Column
  9138. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9139. // GUID:      {0002094F-0000-0000-C000-000000000046}
  9140. // *********************************************************************//
  9141.   Column = interface(IDispatch)
  9142.     ['{0002094F-0000-0000-C000-000000000046}']
  9143.     function Get_Application_: Application_; safecall;
  9144.     function Get_Creator: Integer; safecall;
  9145.     function Get_Parent: IDispatch; safecall;
  9146.     function Get_Width: Single; safecall;
  9147.     procedure Set_Width(prop: Single); safecall;
  9148.     function Get_IsFirst: WordBool; safecall;
  9149.     function Get_IsLast: WordBool; safecall;
  9150.     function Get_Index: Integer; safecall;
  9151.     function Get_Cells: Cells; safecall;
  9152.     function Get_Borders: Borders; safecall;
  9153.     procedure Set_Borders(const prop: Borders); safecall;
  9154.     function Get_Shading: Shading; safecall;
  9155.     function Get_Next: Column; safecall;
  9156.     function Get_Previous: Column; safecall;
  9157.     procedure Select; safecall;
  9158.     procedure Delete; safecall;
  9159.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); safecall;
  9160.     procedure AutoFit; safecall;
  9161.     procedure SortOld(var ExcludeHeader: OleVariant; var SortFieldType: OleVariant; 
  9162.                       var SortOrder: OleVariant; var CaseSensitive: OleVariant; 
  9163.                       var LanguageID: OleVariant); safecall;
  9164.     procedure Sort(var ExcludeHeader: OleVariant; var SortFieldType: OleVariant; 
  9165.                    var SortOrder: OleVariant; var CaseSensitive: OleVariant; 
  9166.                    var BidiSort: OleVariant; var IgnoreThe: OleVariant; 
  9167.                    var IgnoreKashida: OleVariant; var IgnoreDiacritics: OleVariant; 
  9168.                    var IgnoreHe: OleVariant; var LanguageID: OleVariant); safecall;
  9169.     function Get_NestingLevel: Integer; safecall;
  9170.     function Get_PreferredWidth: Single; safecall;
  9171.     procedure Set_PreferredWidth(prop: Single); safecall;
  9172.     function Get_PreferredWidthType: WdPreferredWidthType; safecall;
  9173.     procedure Set_PreferredWidthType(prop: WdPreferredWidthType); safecall;
  9174.     property Application_: Application_ read Get_Application_;
  9175.     property Creator: Integer read Get_Creator;
  9176.     property Parent: IDispatch read Get_Parent;
  9177.     property Width: Single read Get_Width write Set_Width;
  9178.     property IsFirst: WordBool read Get_IsFirst;
  9179.     property IsLast: WordBool read Get_IsLast;
  9180.     property Index: Integer read Get_Index;
  9181.     property Cells: Cells read Get_Cells;
  9182.     property Borders: Borders read Get_Borders write Set_Borders;
  9183.     property Shading: Shading read Get_Shading;
  9184.     property Next: Column read Get_Next;
  9185.     property Previous: Column read Get_Previous;
  9186.     property NestingLevel: Integer read Get_NestingLevel;
  9187.     property PreferredWidth: Single read Get_PreferredWidth write Set_PreferredWidth;
  9188.     property PreferredWidthType: WdPreferredWidthType read Get_PreferredWidthType write Set_PreferredWidthType;
  9189.   end;
  9190.  
  9191. // *********************************************************************//
  9192. // DispIntf:  ColumnDisp
  9193. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9194. // GUID:      {0002094F-0000-0000-C000-000000000046}
  9195. // *********************************************************************//
  9196.   ColumnDisp = dispinterface
  9197.     ['{0002094F-0000-0000-C000-000000000046}']
  9198.     property Application_: Application_ readonly dispid 1000;
  9199.     property Creator: Integer readonly dispid 1001;
  9200.     property Parent: IDispatch readonly dispid 1002;
  9201.     property Width: Single dispid 3;
  9202.     property IsFirst: WordBool readonly dispid 4;
  9203.     property IsLast: WordBool readonly dispid 5;
  9204.     property Index: Integer readonly dispid 6;
  9205.     property Cells: Cells readonly dispid 100;
  9206.     property Borders: Borders dispid 1100;
  9207.     property Shading: Shading readonly dispid 102;
  9208.     property Next: Column readonly dispid 103;
  9209.     property Previous: Column readonly dispid 104;
  9210.     procedure Select; dispid 65535;
  9211.     procedure Delete; dispid 200;
  9212.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); dispid 201;
  9213.     procedure AutoFit; dispid 202;
  9214.     procedure SortOld(var ExcludeHeader: OleVariant; var SortFieldType: OleVariant; 
  9215.                       var SortOrder: OleVariant; var CaseSensitive: OleVariant; 
  9216.                       var LanguageID: OleVariant); dispid 203;
  9217.     procedure Sort(var ExcludeHeader: OleVariant; var SortFieldType: OleVariant; 
  9218.                    var SortOrder: OleVariant; var CaseSensitive: OleVariant; 
  9219.                    var BidiSort: OleVariant; var IgnoreThe: OleVariant; 
  9220.                    var IgnoreKashida: OleVariant; var IgnoreDiacritics: OleVariant; 
  9221.                    var IgnoreHe: OleVariant; var LanguageID: OleVariant); dispid 204;
  9222.     property NestingLevel: Integer readonly dispid 105;
  9223.     property PreferredWidth: Single dispid 106;
  9224.     property PreferredWidthType: WdPreferredWidthType dispid 107;
  9225.   end;
  9226.  
  9227. // *********************************************************************//
  9228. // Interface: Cell
  9229. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9230. // GUID:      {0002094E-0000-0000-C000-000000000046}
  9231. // *********************************************************************//
  9232.   Cell = interface(IDispatch)
  9233.     ['{0002094E-0000-0000-C000-000000000046}']
  9234.     function Get_Range: Range; safecall;
  9235.     function Get_Application_: Application_; safecall;
  9236.     function Get_Creator: Integer; safecall;
  9237.     function Get_Parent: IDispatch; safecall;
  9238.     function Get_RowIndex: Integer; safecall;
  9239.     function Get_ColumnIndex: Integer; safecall;
  9240.     function Get_Width: Single; safecall;
  9241.     procedure Set_Width(prop: Single); safecall;
  9242.     function Get_Height: Single; safecall;
  9243.     procedure Set_Height(prop: Single); safecall;
  9244.     function Get_HeightRule: WdRowHeightRule; safecall;
  9245.     procedure Set_HeightRule(prop: WdRowHeightRule); safecall;
  9246.     function Get_VerticalAlignment: WdCellVerticalAlignment; safecall;
  9247.     procedure Set_VerticalAlignment(prop: WdCellVerticalAlignment); safecall;
  9248.     function Get_Column: Column; safecall;
  9249.     function Get_Row: Row; safecall;
  9250.     function Get_Next: Cell; safecall;
  9251.     function Get_Previous: Cell; safecall;
  9252.     function Get_Shading: Shading; safecall;
  9253.     function Get_Borders: Borders; safecall;
  9254.     procedure Set_Borders(const prop: Borders); safecall;
  9255.     procedure Select; safecall;
  9256.     procedure Delete(var ShiftCells: OleVariant); safecall;
  9257.     procedure Formula(var Formula: OleVariant; var NumFormat: OleVariant); safecall;
  9258.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); safecall;
  9259.     procedure SetHeight(var RowHeight: OleVariant; HeightRule: WdRowHeightRule); safecall;
  9260.     procedure Merge(const MergeTo: Cell); safecall;
  9261.     procedure Split(var NumRows: OleVariant; var NumColumns: OleVariant); safecall;
  9262.     procedure AutoSum; safecall;
  9263.     function Get_Tables: Tables; safecall;
  9264.     function Get_NestingLevel: Integer; safecall;
  9265.     function Get_WordWrap: WordBool; safecall;
  9266.     procedure Set_WordWrap(prop: WordBool); safecall;
  9267.     function Get_PreferredWidth: Single; safecall;
  9268.     procedure Set_PreferredWidth(prop: Single); safecall;
  9269.     function Get_FitText: WordBool; safecall;
  9270.     procedure Set_FitText(prop: WordBool); safecall;
  9271.     function Get_TopPadding: Single; safecall;
  9272.     procedure Set_TopPadding(prop: Single); safecall;
  9273.     function Get_BottomPadding: Single; safecall;
  9274.     procedure Set_BottomPadding(prop: Single); safecall;
  9275.     function Get_LeftPadding: Single; safecall;
  9276.     procedure Set_LeftPadding(prop: Single); safecall;
  9277.     function Get_RightPadding: Single; safecall;
  9278.     procedure Set_RightPadding(prop: Single); safecall;
  9279.     function Get_ID: WideString; safecall;
  9280.     procedure Set_ID(const prop: WideString); safecall;
  9281.     function Get_PreferredWidthType: WdPreferredWidthType; safecall;
  9282.     procedure Set_PreferredWidthType(prop: WdPreferredWidthType); safecall;
  9283.     property Range: Range read Get_Range;
  9284.     property Application_: Application_ read Get_Application_;
  9285.     property Creator: Integer read Get_Creator;
  9286.     property Parent: IDispatch read Get_Parent;
  9287.     property RowIndex: Integer read Get_RowIndex;
  9288.     property ColumnIndex: Integer read Get_ColumnIndex;
  9289.     property Width: Single read Get_Width write Set_Width;
  9290.     property Height: Single read Get_Height write Set_Height;
  9291.     property HeightRule: WdRowHeightRule read Get_HeightRule write Set_HeightRule;
  9292.     property VerticalAlignment: WdCellVerticalAlignment read Get_VerticalAlignment write Set_VerticalAlignment;
  9293.     property Column: Column read Get_Column;
  9294.     property Row: Row read Get_Row;
  9295.     property Next: Cell read Get_Next;
  9296.     property Previous: Cell read Get_Previous;
  9297.     property Shading: Shading read Get_Shading;
  9298.     property Borders: Borders read Get_Borders write Set_Borders;
  9299.     property Tables: Tables read Get_Tables;
  9300.     property NestingLevel: Integer read Get_NestingLevel;
  9301.     property WordWrap: WordBool read Get_WordWrap write Set_WordWrap;
  9302.     property PreferredWidth: Single read Get_PreferredWidth write Set_PreferredWidth;
  9303.     property FitText: WordBool read Get_FitText write Set_FitText;
  9304.     property TopPadding: Single read Get_TopPadding write Set_TopPadding;
  9305.     property BottomPadding: Single read Get_BottomPadding write Set_BottomPadding;
  9306.     property LeftPadding: Single read Get_LeftPadding write Set_LeftPadding;
  9307.     property RightPadding: Single read Get_RightPadding write Set_RightPadding;
  9308.     property ID: WideString read Get_ID write Set_ID;
  9309.     property PreferredWidthType: WdPreferredWidthType read Get_PreferredWidthType write Set_PreferredWidthType;
  9310.   end;
  9311.  
  9312. // *********************************************************************//
  9313. // DispIntf:  CellDisp
  9314. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9315. // GUID:      {0002094E-0000-0000-C000-000000000046}
  9316. // *********************************************************************//
  9317.   CellDisp = dispinterface
  9318.     ['{0002094E-0000-0000-C000-000000000046}']
  9319.     property Range: Range readonly dispid 0;
  9320.     property Application_: Application_ readonly dispid 1000;
  9321.     property Creator: Integer readonly dispid 1001;
  9322.     property Parent: IDispatch readonly dispid 1002;
  9323.     property RowIndex: Integer readonly dispid 4;
  9324.     property ColumnIndex: Integer readonly dispid 5;
  9325.     property Width: Single dispid 6;
  9326.     property Height: Single dispid 7;
  9327.     property HeightRule: WdRowHeightRule dispid 8;
  9328.     property VerticalAlignment: WdCellVerticalAlignment dispid 1104;
  9329.     property Column: Column readonly dispid 101;
  9330.     property Row: Row readonly dispid 102;
  9331.     property Next: Cell readonly dispid 103;
  9332.     property Previous: Cell readonly dispid 104;
  9333.     property Shading: Shading readonly dispid 105;
  9334.     property Borders: Borders dispid 1100;
  9335.     procedure Select; dispid 65535;
  9336.     procedure Delete(var ShiftCells: OleVariant); dispid 200;
  9337.     procedure Formula(var Formula: OleVariant; var NumFormat: OleVariant); dispid 201;
  9338.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); dispid 202;
  9339.     procedure SetHeight(var RowHeight: OleVariant; HeightRule: WdRowHeightRule); dispid 203;
  9340.     procedure Merge(const MergeTo: Cell); dispid 204;
  9341.     procedure Split(var NumRows: OleVariant; var NumColumns: OleVariant); dispid 205;
  9342.     procedure AutoSum; dispid 206;
  9343.     property Tables: Tables readonly dispid 106;
  9344.     property NestingLevel: Integer readonly dispid 107;
  9345.     property WordWrap: WordBool dispid 108;
  9346.     property PreferredWidth: Single dispid 109;
  9347.     property FitText: WordBool dispid 110;
  9348.     property TopPadding: Single dispid 111;
  9349.     property BottomPadding: Single dispid 112;
  9350.     property LeftPadding: Single dispid 113;
  9351.     property RightPadding: Single dispid 114;
  9352.     property ID: WideString dispid 115;
  9353.     property PreferredWidthType: WdPreferredWidthType dispid 116;
  9354.   end;
  9355.  
  9356. // *********************************************************************//
  9357. // Interface: Tables
  9358. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9359. // GUID:      {0002094D-0000-0000-C000-000000000046}
  9360. // *********************************************************************//
  9361.   Tables = interface(IDispatch)
  9362.     ['{0002094D-0000-0000-C000-000000000046}']
  9363.     function Get__NewEnum: IUnknown; safecall;
  9364.     function Get_Count: Integer; safecall;
  9365.     function Get_Application_: Application_; safecall;
  9366.     function Get_Creator: Integer; safecall;
  9367.     function Get_Parent: IDispatch; safecall;
  9368.     function Item(Index: Integer): Table; safecall;
  9369.     function AddOld(const Range: Range; NumRows: Integer; NumColumns: Integer): Table; safecall;
  9370.     function Add(const Range: Range; NumRows: Integer; NumColumns: Integer; 
  9371.                  var DefaultTableBehavior: OleVariant; var AutoFitBehavior: OleVariant): Table; safecall;
  9372.     function Get_NestingLevel: Integer; safecall;
  9373.     property _NewEnum: IUnknown read Get__NewEnum;
  9374.     property Count: Integer read Get_Count;
  9375.     property Application_: Application_ read Get_Application_;
  9376.     property Creator: Integer read Get_Creator;
  9377.     property Parent: IDispatch read Get_Parent;
  9378.     property NestingLevel: Integer read Get_NestingLevel;
  9379.   end;
  9380.  
  9381. // *********************************************************************//
  9382. // DispIntf:  TablesDisp
  9383. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9384. // GUID:      {0002094D-0000-0000-C000-000000000046}
  9385. // *********************************************************************//
  9386.   TablesDisp = dispinterface
  9387.     ['{0002094D-0000-0000-C000-000000000046}']
  9388.     property _NewEnum: IUnknown readonly dispid -4;
  9389.     property Count: Integer readonly dispid 2;
  9390.     property Application_: Application_ readonly dispid 1000;
  9391.     property Creator: Integer readonly dispid 1001;
  9392.     property Parent: IDispatch readonly dispid 1002;
  9393.     function Item(Index: Integer): Table; dispid 0;
  9394.     function AddOld(const Range: Range; NumRows: Integer; NumColumns: Integer): Table; dispid 4;
  9395.     function Add(const Range: Range; NumRows: Integer; NumColumns: Integer; 
  9396.                  var DefaultTableBehavior: OleVariant; var AutoFitBehavior: OleVariant): Table; dispid 200;
  9397.     property NestingLevel: Integer readonly dispid 100;
  9398.   end;
  9399.  
  9400. // *********************************************************************//
  9401. // Interface: Rows
  9402. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9403. // GUID:      {0002094C-0000-0000-C000-000000000046}
  9404. // *********************************************************************//
  9405.   Rows = interface(IDispatch)
  9406.     ['{0002094C-0000-0000-C000-000000000046}']
  9407.     function Get__NewEnum: IUnknown; safecall;
  9408.     function Get_Count: Integer; safecall;
  9409.     function Get_AllowBreakAcrossPages: Integer; safecall;
  9410.     procedure Set_AllowBreakAcrossPages(prop: Integer); safecall;
  9411.     function Get_Alignment: WdRowAlignment; safecall;
  9412.     procedure Set_Alignment(prop: WdRowAlignment); safecall;
  9413.     function Get_HeadingFormat: Integer; safecall;
  9414.     procedure Set_HeadingFormat(prop: Integer); safecall;
  9415.     function Get_SpaceBetweenColumns: Single; safecall;
  9416.     procedure Set_SpaceBetweenColumns(prop: Single); safecall;
  9417.     function Get_Height: Single; safecall;
  9418.     procedure Set_Height(prop: Single); safecall;
  9419.     function Get_HeightRule: WdRowHeightRule; safecall;
  9420.     procedure Set_HeightRule(prop: WdRowHeightRule); safecall;
  9421.     function Get_LeftIndent: Single; safecall;
  9422.     procedure Set_LeftIndent(prop: Single); safecall;
  9423.     function Get_First: Row; safecall;
  9424.     function Get_Last: Row; safecall;
  9425.     function Get_Application_: Application_; safecall;
  9426.     function Get_Creator: Integer; safecall;
  9427.     function Get_Parent: IDispatch; safecall;
  9428.     function Get_Borders: Borders; safecall;
  9429.     procedure Set_Borders(const prop: Borders); safecall;
  9430.     function Get_Shading: Shading; safecall;
  9431.     function Item(Index: Integer): Row; safecall;
  9432.     function Add(var BeforeRow: OleVariant): Row; safecall;
  9433.     procedure Select; safecall;
  9434.     procedure Delete; safecall;
  9435.     procedure SetLeftIndent(LeftIndent: Single; RulerStyle: WdRulerStyle); safecall;
  9436.     procedure SetHeight(RowHeight: Single; HeightRule: WdRowHeightRule); safecall;
  9437.     function ConvertToTextOld(var Separator: OleVariant): Range; safecall;
  9438.     procedure DistributeHeight; safecall;
  9439.     function ConvertToText(var Separator: OleVariant; var NestedTables: OleVariant): Range; safecall;
  9440.     function Get_WrapAroundText: Integer; safecall;
  9441.     procedure Set_WrapAroundText(prop: Integer); safecall;
  9442.     function Get_DistanceTop: Single; safecall;
  9443.     procedure Set_DistanceTop(prop: Single); safecall;
  9444.     function Get_DistanceBottom: Single; safecall;
  9445.     procedure Set_DistanceBottom(prop: Single); safecall;
  9446.     function Get_DistanceLeft: Single; safecall;
  9447.     procedure Set_DistanceLeft(prop: Single); safecall;
  9448.     function Get_DistanceRight: Single; safecall;
  9449.     procedure Set_DistanceRight(prop: Single); safecall;
  9450.     function Get_HorizontalPosition: Single; safecall;
  9451.     procedure Set_HorizontalPosition(prop: Single); safecall;
  9452.     function Get_VerticalPosition: Single; safecall;
  9453.     procedure Set_VerticalPosition(prop: Single); safecall;
  9454.     function Get_RelativeHorizontalPosition: WdRelativeHorizontalPosition; safecall;
  9455.     procedure Set_RelativeHorizontalPosition(prop: WdRelativeHorizontalPosition); safecall;
  9456.     function Get_RelativeVerticalPosition: WdRelativeVerticalPosition; safecall;
  9457.     procedure Set_RelativeVerticalPosition(prop: WdRelativeVerticalPosition); safecall;
  9458.     function Get_AllowOverlap: Integer; safecall;
  9459.     procedure Set_AllowOverlap(prop: Integer); safecall;
  9460.     function Get_NestingLevel: Integer; safecall;
  9461.     function Get_TableDirection: WdTableDirection; safecall;
  9462.     procedure Set_TableDirection(prop: WdTableDirection); safecall;
  9463.     property _NewEnum: IUnknown read Get__NewEnum;
  9464.     property Count: Integer read Get_Count;
  9465.     property AllowBreakAcrossPages: Integer read Get_AllowBreakAcrossPages write Set_AllowBreakAcrossPages;
  9466.     property Alignment: WdRowAlignment read Get_Alignment write Set_Alignment;
  9467.     property HeadingFormat: Integer read Get_HeadingFormat write Set_HeadingFormat;
  9468.     property SpaceBetweenColumns: Single read Get_SpaceBetweenColumns write Set_SpaceBetweenColumns;
  9469.     property Height: Single read Get_Height write Set_Height;
  9470.     property HeightRule: WdRowHeightRule read Get_HeightRule write Set_HeightRule;
  9471.     property LeftIndent: Single read Get_LeftIndent write Set_LeftIndent;
  9472.     property First: Row read Get_First;
  9473.     property Last: Row read Get_Last;
  9474.     property Application_: Application_ read Get_Application_;
  9475.     property Creator: Integer read Get_Creator;
  9476.     property Parent: IDispatch read Get_Parent;
  9477.     property Borders: Borders read Get_Borders write Set_Borders;
  9478.     property Shading: Shading read Get_Shading;
  9479.     property WrapAroundText: Integer read Get_WrapAroundText write Set_WrapAroundText;
  9480.     property DistanceTop: Single read Get_DistanceTop write Set_DistanceTop;
  9481.     property DistanceBottom: Single read Get_DistanceBottom write Set_DistanceBottom;
  9482.     property DistanceLeft: Single read Get_DistanceLeft write Set_DistanceLeft;
  9483.     property DistanceRight: Single read Get_DistanceRight write Set_DistanceRight;
  9484.     property HorizontalPosition: Single read Get_HorizontalPosition write Set_HorizontalPosition;
  9485.     property VerticalPosition: Single read Get_VerticalPosition write Set_VerticalPosition;
  9486.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition read Get_RelativeHorizontalPosition write Set_RelativeHorizontalPosition;
  9487.     property RelativeVerticalPosition: WdRelativeVerticalPosition read Get_RelativeVerticalPosition write Set_RelativeVerticalPosition;
  9488.     property AllowOverlap: Integer read Get_AllowOverlap write Set_AllowOverlap;
  9489.     property NestingLevel: Integer read Get_NestingLevel;
  9490.     property TableDirection: WdTableDirection read Get_TableDirection write Set_TableDirection;
  9491.   end;
  9492.  
  9493. // *********************************************************************//
  9494. // DispIntf:  RowsDisp
  9495. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9496. // GUID:      {0002094C-0000-0000-C000-000000000046}
  9497. // *********************************************************************//
  9498.   RowsDisp = dispinterface
  9499.     ['{0002094C-0000-0000-C000-000000000046}']
  9500.     property _NewEnum: IUnknown readonly dispid -4;
  9501.     property Count: Integer readonly dispid 2;
  9502.     property AllowBreakAcrossPages: Integer dispid 3;
  9503.     property Alignment: WdRowAlignment dispid 4;
  9504.     property HeadingFormat: Integer dispid 5;
  9505.     property SpaceBetweenColumns: Single dispid 6;
  9506.     property Height: Single dispid 7;
  9507.     property HeightRule: WdRowHeightRule dispid 8;
  9508.     property LeftIndent: Single dispid 9;
  9509.     property First: Row readonly dispid 10;
  9510.     property Last: Row readonly dispid 11;
  9511.     property Application_: Application_ readonly dispid 1000;
  9512.     property Creator: Integer readonly dispid 1001;
  9513.     property Parent: IDispatch readonly dispid 1002;
  9514.     property Borders: Borders dispid 1100;
  9515.     property Shading: Shading readonly dispid 102;
  9516.     function Item(Index: Integer): Row; dispid 0;
  9517.     function Add(var BeforeRow: OleVariant): Row; dispid 100;
  9518.     procedure Select; dispid 199;
  9519.     procedure Delete; dispid 200;
  9520.     procedure SetLeftIndent(LeftIndent: Single; RulerStyle: WdRulerStyle); dispid 202;
  9521.     procedure SetHeight(RowHeight: Single; HeightRule: WdRowHeightRule); dispid 203;
  9522.     function ConvertToTextOld(var Separator: OleVariant): Range; dispid 16;
  9523.     procedure DistributeHeight; dispid 206;
  9524.     function ConvertToText(var Separator: OleVariant; var NestedTables: OleVariant): Range; dispid 210;
  9525.     property WrapAroundText: Integer dispid 12;
  9526.     property DistanceTop: Single dispid 13;
  9527.     property DistanceBottom: Single dispid 14;
  9528.     property DistanceLeft: Single dispid 20;
  9529.     property DistanceRight: Single dispid 21;
  9530.     property HorizontalPosition: Single dispid 15;
  9531.     property VerticalPosition: Single dispid 17;
  9532.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition dispid 18;
  9533.     property RelativeVerticalPosition: WdRelativeVerticalPosition dispid 19;
  9534.     property AllowOverlap: Integer dispid 22;
  9535.     property NestingLevel: Integer readonly dispid 103;
  9536.     property TableDirection: WdTableDirection dispid 104;
  9537.   end;
  9538.  
  9539. // *********************************************************************//
  9540. // Interface: Columns
  9541. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9542. // GUID:      {0002094B-0000-0000-C000-000000000046}
  9543. // *********************************************************************//
  9544.   Columns = interface(IDispatch)
  9545.     ['{0002094B-0000-0000-C000-000000000046}']
  9546.     function Get__NewEnum: IUnknown; safecall;
  9547.     function Get_Count: Integer; safecall;
  9548.     function Get_Application_: Application_; safecall;
  9549.     function Get_Creator: Integer; safecall;
  9550.     function Get_Parent: IDispatch; safecall;
  9551.     function Get_First: Column; safecall;
  9552.     function Get_Last: Column; safecall;
  9553.     function Get_Width: Single; safecall;
  9554.     procedure Set_Width(prop: Single); safecall;
  9555.     function Get_Borders: Borders; safecall;
  9556.     procedure Set_Borders(const prop: Borders); safecall;
  9557.     function Get_Shading: Shading; safecall;
  9558.     function Item(Index: Integer): Column; safecall;
  9559.     function Add(var BeforeColumn: OleVariant): Column; safecall;
  9560.     procedure Select; safecall;
  9561.     procedure Delete; safecall;
  9562.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); safecall;
  9563.     procedure AutoFit; safecall;
  9564.     procedure DistributeWidth; safecall;
  9565.     function Get_NestingLevel: Integer; safecall;
  9566.     function Get_PreferredWidth: Single; safecall;
  9567.     procedure Set_PreferredWidth(prop: Single); safecall;
  9568.     function Get_PreferredWidthType: WdPreferredWidthType; safecall;
  9569.     procedure Set_PreferredWidthType(prop: WdPreferredWidthType); safecall;
  9570.     property _NewEnum: IUnknown read Get__NewEnum;
  9571.     property Count: Integer read Get_Count;
  9572.     property Application_: Application_ read Get_Application_;
  9573.     property Creator: Integer read Get_Creator;
  9574.     property Parent: IDispatch read Get_Parent;
  9575.     property First: Column read Get_First;
  9576.     property Last: Column read Get_Last;
  9577.     property Width: Single read Get_Width write Set_Width;
  9578.     property Borders: Borders read Get_Borders write Set_Borders;
  9579.     property Shading: Shading read Get_Shading;
  9580.     property NestingLevel: Integer read Get_NestingLevel;
  9581.     property PreferredWidth: Single read Get_PreferredWidth write Set_PreferredWidth;
  9582.     property PreferredWidthType: WdPreferredWidthType read Get_PreferredWidthType write Set_PreferredWidthType;
  9583.   end;
  9584.  
  9585. // *********************************************************************//
  9586. // DispIntf:  ColumnsDisp
  9587. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9588. // GUID:      {0002094B-0000-0000-C000-000000000046}
  9589. // *********************************************************************//
  9590.   ColumnsDisp = dispinterface
  9591.     ['{0002094B-0000-0000-C000-000000000046}']
  9592.     property _NewEnum: IUnknown readonly dispid -4;
  9593.     property Count: Integer readonly dispid 2;
  9594.     property Application_: Application_ readonly dispid 1000;
  9595.     property Creator: Integer readonly dispid 1001;
  9596.     property Parent: IDispatch readonly dispid 1002;
  9597.     property First: Column readonly dispid 100;
  9598.     property Last: Column readonly dispid 101;
  9599.     property Width: Single dispid 3;
  9600.     property Borders: Borders dispid 1100;
  9601.     property Shading: Shading readonly dispid 103;
  9602.     function Item(Index: Integer): Column; dispid 0;
  9603.     function Add(var BeforeColumn: OleVariant): Column; dispid 5;
  9604.     procedure Select; dispid 199;
  9605.     procedure Delete; dispid 200;
  9606.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); dispid 201;
  9607.     procedure AutoFit; dispid 202;
  9608.     procedure DistributeWidth; dispid 203;
  9609.     property NestingLevel: Integer readonly dispid 104;
  9610.     property PreferredWidth: Single dispid 105;
  9611.     property PreferredWidthType: WdPreferredWidthType dispid 106;
  9612.   end;
  9613.  
  9614. // *********************************************************************//
  9615. // Interface: Cells
  9616. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9617. // GUID:      {0002094A-0000-0000-C000-000000000046}
  9618. // *********************************************************************//
  9619.   Cells = interface(IDispatch)
  9620.     ['{0002094A-0000-0000-C000-000000000046}']
  9621.     function Get__NewEnum: IUnknown; safecall;
  9622.     function Get_Count: Integer; safecall;
  9623.     function Get_Application_: Application_; safecall;
  9624.     function Get_Creator: Integer; safecall;
  9625.     function Get_Parent: IDispatch; safecall;
  9626.     function Get_Width: Single; safecall;
  9627.     procedure Set_Width(prop: Single); safecall;
  9628.     function Get_Height: Single; safecall;
  9629.     procedure Set_Height(prop: Single); safecall;
  9630.     function Get_HeightRule: WdRowHeightRule; safecall;
  9631.     procedure Set_HeightRule(prop: WdRowHeightRule); safecall;
  9632.     function Get_VerticalAlignment: WdCellVerticalAlignment; safecall;
  9633.     procedure Set_VerticalAlignment(prop: WdCellVerticalAlignment); safecall;
  9634.     function Get_Borders: Borders; safecall;
  9635.     procedure Set_Borders(const prop: Borders); safecall;
  9636.     function Get_Shading: Shading; safecall;
  9637.     function Item(Index: Integer): Cell; safecall;
  9638.     function Add(var BeforeCell: OleVariant): Cell; safecall;
  9639.     procedure Delete(var ShiftCells: OleVariant); safecall;
  9640.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); safecall;
  9641.     procedure SetHeight(var RowHeight: OleVariant; HeightRule: WdRowHeightRule); safecall;
  9642.     procedure Merge; safecall;
  9643.     procedure Split(var NumRows: OleVariant; var NumColumns: OleVariant; 
  9644.                     var MergeBeforeSplit: OleVariant); safecall;
  9645.     procedure DistributeHeight; safecall;
  9646.     procedure DistributeWidth; safecall;
  9647.     procedure AutoFit; safecall;
  9648.     function Get_NestingLevel: Integer; safecall;
  9649.     function Get_PreferredWidth: Single; safecall;
  9650.     procedure Set_PreferredWidth(prop: Single); safecall;
  9651.     function Get_PreferredWidthType: WdPreferredWidthType; safecall;
  9652.     procedure Set_PreferredWidthType(prop: WdPreferredWidthType); safecall;
  9653.     property _NewEnum: IUnknown read Get__NewEnum;
  9654.     property Count: Integer read Get_Count;
  9655.     property Application_: Application_ read Get_Application_;
  9656.     property Creator: Integer read Get_Creator;
  9657.     property Parent: IDispatch read Get_Parent;
  9658.     property Width: Single read Get_Width write Set_Width;
  9659.     property Height: Single read Get_Height write Set_Height;
  9660.     property HeightRule: WdRowHeightRule read Get_HeightRule write Set_HeightRule;
  9661.     property VerticalAlignment: WdCellVerticalAlignment read Get_VerticalAlignment write Set_VerticalAlignment;
  9662.     property Borders: Borders read Get_Borders write Set_Borders;
  9663.     property Shading: Shading read Get_Shading;
  9664.     property NestingLevel: Integer read Get_NestingLevel;
  9665.     property PreferredWidth: Single read Get_PreferredWidth write Set_PreferredWidth;
  9666.     property PreferredWidthType: WdPreferredWidthType read Get_PreferredWidthType write Set_PreferredWidthType;
  9667.   end;
  9668.  
  9669. // *********************************************************************//
  9670. // DispIntf:  CellsDisp
  9671. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9672. // GUID:      {0002094A-0000-0000-C000-000000000046}
  9673. // *********************************************************************//
  9674.   CellsDisp = dispinterface
  9675.     ['{0002094A-0000-0000-C000-000000000046}']
  9676.     property _NewEnum: IUnknown readonly dispid -4;
  9677.     property Count: Integer readonly dispid 2;
  9678.     property Application_: Application_ readonly dispid 1000;
  9679.     property Creator: Integer readonly dispid 1001;
  9680.     property Parent: IDispatch readonly dispid 1002;
  9681.     property Width: Single dispid 6;
  9682.     property Height: Single dispid 7;
  9683.     property HeightRule: WdRowHeightRule dispid 8;
  9684.     property VerticalAlignment: WdCellVerticalAlignment dispid 1104;
  9685.     property Borders: Borders dispid 1100;
  9686.     property Shading: Shading readonly dispid 101;
  9687.     function Item(Index: Integer): Cell; dispid 0;
  9688.     function Add(var BeforeCell: OleVariant): Cell; dispid 4;
  9689.     procedure Delete(var ShiftCells: OleVariant); dispid 200;
  9690.     procedure SetWidth(ColumnWidth: Single; RulerStyle: WdRulerStyle); dispid 202;
  9691.     procedure SetHeight(var RowHeight: OleVariant; HeightRule: WdRowHeightRule); dispid 203;
  9692.     procedure Merge; dispid 204;
  9693.     procedure Split(var NumRows: OleVariant; var NumColumns: OleVariant; 
  9694.                     var MergeBeforeSplit: OleVariant); dispid 205;
  9695.     procedure DistributeHeight; dispid 206;
  9696.     procedure DistributeWidth; dispid 207;
  9697.     procedure AutoFit; dispid 208;
  9698.     property NestingLevel: Integer readonly dispid 102;
  9699.     property PreferredWidth: Single dispid 103;
  9700.     property PreferredWidthType: WdPreferredWidthType dispid 104;
  9701.   end;
  9702.  
  9703. // *********************************************************************//
  9704. // Interface: AutoCorrect
  9705. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9706. // GUID:      {00020949-0000-0000-C000-000000000046}
  9707. // *********************************************************************//
  9708.   AutoCorrect = interface(IDispatch)
  9709.     ['{00020949-0000-0000-C000-000000000046}']
  9710.     function Get_Application_: Application_; safecall;
  9711.     function Get_Creator: Integer; safecall;
  9712.     function Get_Parent: IDispatch; safecall;
  9713.     function Get_CorrectDays: WordBool; safecall;
  9714.     procedure Set_CorrectDays(prop: WordBool); safecall;
  9715.     function Get_CorrectInitialCaps: WordBool; safecall;
  9716.     procedure Set_CorrectInitialCaps(prop: WordBool); safecall;
  9717.     function Get_CorrectSentenceCaps: WordBool; safecall;
  9718.     procedure Set_CorrectSentenceCaps(prop: WordBool); safecall;
  9719.     function Get_ReplaceText: WordBool; safecall;
  9720.     procedure Set_ReplaceText(prop: WordBool); safecall;
  9721.     function Get_Entries: AutoCorrectEntries; safecall;
  9722.     function Get_FirstLetterExceptions: FirstLetterExceptions; safecall;
  9723.     function Get_FirstLetterAutoAdd: WordBool; safecall;
  9724.     procedure Set_FirstLetterAutoAdd(prop: WordBool); safecall;
  9725.     function Get_TwoInitialCapsExceptions: TwoInitialCapsExceptions; safecall;
  9726.     function Get_TwoInitialCapsAutoAdd: WordBool; safecall;
  9727.     procedure Set_TwoInitialCapsAutoAdd(prop: WordBool); safecall;
  9728.     function Get_CorrectCapsLock: WordBool; safecall;
  9729.     procedure Set_CorrectCapsLock(prop: WordBool); safecall;
  9730.     function Get_CorrectHangulAndAlphabet: WordBool; safecall;
  9731.     procedure Set_CorrectHangulAndAlphabet(prop: WordBool); safecall;
  9732.     function Get_HangulAndAlphabetExceptions: HangulAndAlphabetExceptions; safecall;
  9733.     function Get_HangulAndAlphabetAutoAdd: WordBool; safecall;
  9734.     procedure Set_HangulAndAlphabetAutoAdd(prop: WordBool); safecall;
  9735.     function Get_ReplaceTextFromSpellingChecker: WordBool; safecall;
  9736.     procedure Set_ReplaceTextFromSpellingChecker(prop: WordBool); safecall;
  9737.     function Get_OtherCorrectionsAutoAdd: WordBool; safecall;
  9738.     procedure Set_OtherCorrectionsAutoAdd(prop: WordBool); safecall;
  9739.     function Get_OtherCorrectionsExceptions: OtherCorrectionsExceptions; safecall;
  9740.     function Get_CorrectKeyboardSetting: WordBool; safecall;
  9741.     procedure Set_CorrectKeyboardSetting(prop: WordBool); safecall;
  9742.     property Application_: Application_ read Get_Application_;
  9743.     property Creator: Integer read Get_Creator;
  9744.     property Parent: IDispatch read Get_Parent;
  9745.     property CorrectDays: WordBool read Get_CorrectDays write Set_CorrectDays;
  9746.     property CorrectInitialCaps: WordBool read Get_CorrectInitialCaps write Set_CorrectInitialCaps;
  9747.     property CorrectSentenceCaps: WordBool read Get_CorrectSentenceCaps write Set_CorrectSentenceCaps;
  9748.     property ReplaceText: WordBool read Get_ReplaceText write Set_ReplaceText;
  9749.     property Entries: AutoCorrectEntries read Get_Entries;
  9750.     property FirstLetterExceptions: FirstLetterExceptions read Get_FirstLetterExceptions;
  9751.     property FirstLetterAutoAdd: WordBool read Get_FirstLetterAutoAdd write Set_FirstLetterAutoAdd;
  9752.     property TwoInitialCapsExceptions: TwoInitialCapsExceptions read Get_TwoInitialCapsExceptions;
  9753.     property TwoInitialCapsAutoAdd: WordBool read Get_TwoInitialCapsAutoAdd write Set_TwoInitialCapsAutoAdd;
  9754.     property CorrectCapsLock: WordBool read Get_CorrectCapsLock write Set_CorrectCapsLock;
  9755.     property CorrectHangulAndAlphabet: WordBool read Get_CorrectHangulAndAlphabet write Set_CorrectHangulAndAlphabet;
  9756.     property HangulAndAlphabetExceptions: HangulAndAlphabetExceptions read Get_HangulAndAlphabetExceptions;
  9757.     property HangulAndAlphabetAutoAdd: WordBool read Get_HangulAndAlphabetAutoAdd write Set_HangulAndAlphabetAutoAdd;
  9758.     property ReplaceTextFromSpellingChecker: WordBool read Get_ReplaceTextFromSpellingChecker write Set_ReplaceTextFromSpellingChecker;
  9759.     property OtherCorrectionsAutoAdd: WordBool read Get_OtherCorrectionsAutoAdd write Set_OtherCorrectionsAutoAdd;
  9760.     property OtherCorrectionsExceptions: OtherCorrectionsExceptions read Get_OtherCorrectionsExceptions;
  9761.     property CorrectKeyboardSetting: WordBool read Get_CorrectKeyboardSetting write Set_CorrectKeyboardSetting;
  9762.   end;
  9763.  
  9764. // *********************************************************************//
  9765. // DispIntf:  AutoCorrectDisp
  9766. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9767. // GUID:      {00020949-0000-0000-C000-000000000046}
  9768. // *********************************************************************//
  9769.   AutoCorrectDisp = dispinterface
  9770.     ['{00020949-0000-0000-C000-000000000046}']
  9771.     property Application_: Application_ readonly dispid 1000;
  9772.     property Creator: Integer readonly dispid 1001;
  9773.     property Parent: IDispatch readonly dispid 1002;
  9774.     property CorrectDays: WordBool dispid 1;
  9775.     property CorrectInitialCaps: WordBool dispid 2;
  9776.     property CorrectSentenceCaps: WordBool dispid 3;
  9777.     property ReplaceText: WordBool dispid 4;
  9778.     property Entries: AutoCorrectEntries readonly dispid 6;
  9779.     property FirstLetterExceptions: FirstLetterExceptions readonly dispid 7;
  9780.     property FirstLetterAutoAdd: WordBool dispid 8;
  9781.     property TwoInitialCapsExceptions: TwoInitialCapsExceptions readonly dispid 9;
  9782.     property TwoInitialCapsAutoAdd: WordBool dispid 10;
  9783.     property CorrectCapsLock: WordBool dispid 11;
  9784.     property CorrectHangulAndAlphabet: WordBool dispid 12;
  9785.     property HangulAndAlphabetExceptions: HangulAndAlphabetExceptions readonly dispid 13;
  9786.     property HangulAndAlphabetAutoAdd: WordBool dispid 14;
  9787.     property ReplaceTextFromSpellingChecker: WordBool dispid 15;
  9788.     property OtherCorrectionsAutoAdd: WordBool dispid 16;
  9789.     property OtherCorrectionsExceptions: OtherCorrectionsExceptions readonly dispid 17;
  9790.     property CorrectKeyboardSetting: WordBool dispid 18;
  9791.   end;
  9792.  
  9793. // *********************************************************************//
  9794. // Interface: AutoCorrectEntries
  9795. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9796. // GUID:      {00020948-0000-0000-C000-000000000046}
  9797. // *********************************************************************//
  9798.   AutoCorrectEntries = interface(IDispatch)
  9799.     ['{00020948-0000-0000-C000-000000000046}']
  9800.     function Get_Application_: Application_; safecall;
  9801.     function Get_Creator: Integer; safecall;
  9802.     function Get_Parent: IDispatch; safecall;
  9803.     function Get__NewEnum: IUnknown; safecall;
  9804.     function Get_Count: Integer; safecall;
  9805.     function Item(var Index: OleVariant): AutoCorrectEntry; safecall;
  9806.     function Add(const Name: WideString; const Value: WideString): AutoCorrectEntry; safecall;
  9807.     function AddRichText(const Name: WideString; const Range: Range): AutoCorrectEntry; safecall;
  9808.     property Application_: Application_ read Get_Application_;
  9809.     property Creator: Integer read Get_Creator;
  9810.     property Parent: IDispatch read Get_Parent;
  9811.     property _NewEnum: IUnknown read Get__NewEnum;
  9812.     property Count: Integer read Get_Count;
  9813.   end;
  9814.  
  9815. // *********************************************************************//
  9816. // DispIntf:  AutoCorrectEntriesDisp
  9817. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9818. // GUID:      {00020948-0000-0000-C000-000000000046}
  9819. // *********************************************************************//
  9820.   AutoCorrectEntriesDisp = dispinterface
  9821.     ['{00020948-0000-0000-C000-000000000046}']
  9822.     property Application_: Application_ readonly dispid 1000;
  9823.     property Creator: Integer readonly dispid 1001;
  9824.     property Parent: IDispatch readonly dispid 1002;
  9825.     property _NewEnum: IUnknown readonly dispid -4;
  9826.     property Count: Integer readonly dispid 1;
  9827.     function Item(var Index: OleVariant): AutoCorrectEntry; dispid 0;
  9828.     function Add(const Name: WideString; const Value: WideString): AutoCorrectEntry; dispid 101;
  9829.     function AddRichText(const Name: WideString; const Range: Range): AutoCorrectEntry; dispid 102;
  9830.   end;
  9831.  
  9832. // *********************************************************************//
  9833. // Interface: AutoCorrectEntry
  9834. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9835. // GUID:      {00020947-0000-0000-C000-000000000046}
  9836. // *********************************************************************//
  9837.   AutoCorrectEntry = interface(IDispatch)
  9838.     ['{00020947-0000-0000-C000-000000000046}']
  9839.     function Get_Application_: Application_; safecall;
  9840.     function Get_Creator: Integer; safecall;
  9841.     function Get_Parent: IDispatch; safecall;
  9842.     function Get_Index: Integer; safecall;
  9843.     function Get_Name: WideString; safecall;
  9844.     procedure Set_Name(const prop: WideString); safecall;
  9845.     function Get_Value: WideString; safecall;
  9846.     procedure Set_Value(const prop: WideString); safecall;
  9847.     function Get_RichText: WordBool; safecall;
  9848.     procedure Delete; safecall;
  9849.     procedure Apply(const Range: Range); safecall;
  9850.     property Application_: Application_ read Get_Application_;
  9851.     property Creator: Integer read Get_Creator;
  9852.     property Parent: IDispatch read Get_Parent;
  9853.     property Index: Integer read Get_Index;
  9854.     property Name: WideString read Get_Name write Set_Name;
  9855.     property Value: WideString read Get_Value write Set_Value;
  9856.     property RichText: WordBool read Get_RichText;
  9857.   end;
  9858.  
  9859. // *********************************************************************//
  9860. // DispIntf:  AutoCorrectEntryDisp
  9861. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9862. // GUID:      {00020947-0000-0000-C000-000000000046}
  9863. // *********************************************************************//
  9864.   AutoCorrectEntryDisp = dispinterface
  9865.     ['{00020947-0000-0000-C000-000000000046}']
  9866.     property Application_: Application_ readonly dispid 1000;
  9867.     property Creator: Integer readonly dispid 1001;
  9868.     property Parent: IDispatch readonly dispid 1002;
  9869.     property Index: Integer readonly dispid 1;
  9870.     property Name: WideString dispid 2;
  9871.     property Value: WideString dispid 3;
  9872.     property RichText: WordBool readonly dispid 4;
  9873.     procedure Delete; dispid 101;
  9874.     procedure Apply(const Range: Range); dispid 102;
  9875.   end;
  9876.  
  9877. // *********************************************************************//
  9878. // Interface: FirstLetterExceptions
  9879. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9880. // GUID:      {00020946-0000-0000-C000-000000000046}
  9881. // *********************************************************************//
  9882.   FirstLetterExceptions = interface(IDispatch)
  9883.     ['{00020946-0000-0000-C000-000000000046}']
  9884.     function Get_Application_: Application_; safecall;
  9885.     function Get_Creator: Integer; safecall;
  9886.     function Get_Parent: IDispatch; safecall;
  9887.     function Get__NewEnum: IUnknown; safecall;
  9888.     function Get_Count: Integer; safecall;
  9889.     function Item(var Index: OleVariant): FirstLetterException; safecall;
  9890.     function Add(const Name: WideString): FirstLetterException; safecall;
  9891.     property Application_: Application_ read Get_Application_;
  9892.     property Creator: Integer read Get_Creator;
  9893.     property Parent: IDispatch read Get_Parent;
  9894.     property _NewEnum: IUnknown read Get__NewEnum;
  9895.     property Count: Integer read Get_Count;
  9896.   end;
  9897.  
  9898. // *********************************************************************//
  9899. // DispIntf:  FirstLetterExceptionsDisp
  9900. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9901. // GUID:      {00020946-0000-0000-C000-000000000046}
  9902. // *********************************************************************//
  9903.   FirstLetterExceptionsDisp = dispinterface
  9904.     ['{00020946-0000-0000-C000-000000000046}']
  9905.     property Application_: Application_ readonly dispid 1000;
  9906.     property Creator: Integer readonly dispid 1001;
  9907.     property Parent: IDispatch readonly dispid 1002;
  9908.     property _NewEnum: IUnknown readonly dispid -4;
  9909.     property Count: Integer readonly dispid 1;
  9910.     function Item(var Index: OleVariant): FirstLetterException; dispid 0;
  9911.     function Add(const Name: WideString): FirstLetterException; dispid 101;
  9912.   end;
  9913.  
  9914. // *********************************************************************//
  9915. // Interface: FirstLetterException
  9916. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9917. // GUID:      {00020945-0000-0000-C000-000000000046}
  9918. // *********************************************************************//
  9919.   FirstLetterException = interface(IDispatch)
  9920.     ['{00020945-0000-0000-C000-000000000046}']
  9921.     function Get_Application_: Application_; safecall;
  9922.     function Get_Creator: Integer; safecall;
  9923.     function Get_Parent: IDispatch; safecall;
  9924.     function Get_Index: Integer; safecall;
  9925.     function Get_Name: WideString; safecall;
  9926.     procedure Delete; safecall;
  9927.     property Application_: Application_ read Get_Application_;
  9928.     property Creator: Integer read Get_Creator;
  9929.     property Parent: IDispatch read Get_Parent;
  9930.     property Index: Integer read Get_Index;
  9931.     property Name: WideString read Get_Name;
  9932.   end;
  9933.  
  9934. // *********************************************************************//
  9935. // DispIntf:  FirstLetterExceptionDisp
  9936. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9937. // GUID:      {00020945-0000-0000-C000-000000000046}
  9938. // *********************************************************************//
  9939.   FirstLetterExceptionDisp = dispinterface
  9940.     ['{00020945-0000-0000-C000-000000000046}']
  9941.     property Application_: Application_ readonly dispid 1000;
  9942.     property Creator: Integer readonly dispid 1001;
  9943.     property Parent: IDispatch readonly dispid 1002;
  9944.     property Index: Integer readonly dispid 1;
  9945.     property Name: WideString readonly dispid 2;
  9946.     procedure Delete; dispid 101;
  9947.   end;
  9948.  
  9949. // *********************************************************************//
  9950. // Interface: TwoInitialCapsExceptions
  9951. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9952. // GUID:      {00020944-0000-0000-C000-000000000046}
  9953. // *********************************************************************//
  9954.   TwoInitialCapsExceptions = interface(IDispatch)
  9955.     ['{00020944-0000-0000-C000-000000000046}']
  9956.     function Get_Application_: Application_; safecall;
  9957.     function Get_Creator: Integer; safecall;
  9958.     function Get_Parent: IDispatch; safecall;
  9959.     function Get__NewEnum: IUnknown; safecall;
  9960.     function Get_Count: Integer; safecall;
  9961.     function Item(var Index: OleVariant): TwoInitialCapsException; safecall;
  9962.     function Add(const Name: WideString): TwoInitialCapsException; safecall;
  9963.     property Application_: Application_ read Get_Application_;
  9964.     property Creator: Integer read Get_Creator;
  9965.     property Parent: IDispatch read Get_Parent;
  9966.     property _NewEnum: IUnknown read Get__NewEnum;
  9967.     property Count: Integer read Get_Count;
  9968.   end;
  9969.  
  9970. // *********************************************************************//
  9971. // DispIntf:  TwoInitialCapsExceptionsDisp
  9972. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9973. // GUID:      {00020944-0000-0000-C000-000000000046}
  9974. // *********************************************************************//
  9975.   TwoInitialCapsExceptionsDisp = dispinterface
  9976.     ['{00020944-0000-0000-C000-000000000046}']
  9977.     property Application_: Application_ readonly dispid 1000;
  9978.     property Creator: Integer readonly dispid 1001;
  9979.     property Parent: IDispatch readonly dispid 1002;
  9980.     property _NewEnum: IUnknown readonly dispid -4;
  9981.     property Count: Integer readonly dispid 1;
  9982.     function Item(var Index: OleVariant): TwoInitialCapsException; dispid 0;
  9983.     function Add(const Name: WideString): TwoInitialCapsException; dispid 101;
  9984.   end;
  9985.  
  9986. // *********************************************************************//
  9987. // Interface: TwoInitialCapsException
  9988. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  9989. // GUID:      {00020943-0000-0000-C000-000000000046}
  9990. // *********************************************************************//
  9991.   TwoInitialCapsException = interface(IDispatch)
  9992.     ['{00020943-0000-0000-C000-000000000046}']
  9993.     function Get_Application_: Application_; safecall;
  9994.     function Get_Creator: Integer; safecall;
  9995.     function Get_Parent: IDispatch; safecall;
  9996.     function Get_Index: Integer; safecall;
  9997.     function Get_Name: WideString; safecall;
  9998.     procedure Delete; safecall;
  9999.     property Application_: Application_ read Get_Application_;
  10000.     property Creator: Integer read Get_Creator;
  10001.     property Parent: IDispatch read Get_Parent;
  10002.     property Index: Integer read Get_Index;
  10003.     property Name: WideString read Get_Name;
  10004.   end;
  10005.  
  10006. // *********************************************************************//
  10007. // DispIntf:  TwoInitialCapsExceptionDisp
  10008. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10009. // GUID:      {00020943-0000-0000-C000-000000000046}
  10010. // *********************************************************************//
  10011.   TwoInitialCapsExceptionDisp = dispinterface
  10012.     ['{00020943-0000-0000-C000-000000000046}']
  10013.     property Application_: Application_ readonly dispid 1000;
  10014.     property Creator: Integer readonly dispid 1001;
  10015.     property Parent: IDispatch readonly dispid 1002;
  10016.     property Index: Integer readonly dispid 1;
  10017.     property Name: WideString readonly dispid 2;
  10018.     procedure Delete; dispid 101;
  10019.   end;
  10020.  
  10021. // *********************************************************************//
  10022. // Interface: Footnotes
  10023. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10024. // GUID:      {00020942-0000-0000-C000-000000000046}
  10025. // *********************************************************************//
  10026.   Footnotes = interface(IDispatch)
  10027.     ['{00020942-0000-0000-C000-000000000046}']
  10028.     function Get__NewEnum: IUnknown; safecall;
  10029.     function Get_Count: Integer; safecall;
  10030.     function Get_Application_: Application_; safecall;
  10031.     function Get_Creator: Integer; safecall;
  10032.     function Get_Parent: IDispatch; safecall;
  10033.     function Get_Location: WdFootnoteLocation; safecall;
  10034.     procedure Set_Location(prop: WdFootnoteLocation); safecall;
  10035.     function Get_NumberStyle: WdNoteNumberStyle; safecall;
  10036.     procedure Set_NumberStyle(prop: WdNoteNumberStyle); safecall;
  10037.     function Get_StartingNumber: Integer; safecall;
  10038.     procedure Set_StartingNumber(prop: Integer); safecall;
  10039.     function Get_NumberingRule: WdNumberingRule; safecall;
  10040.     procedure Set_NumberingRule(prop: WdNumberingRule); safecall;
  10041.     function Get_Separator: Range; safecall;
  10042.     function Get_ContinuationSeparator: Range; safecall;
  10043.     function Get_ContinuationNotice: Range; safecall;
  10044.     function Item(Index: Integer): Footnote; safecall;
  10045.     function Add(const Range: Range; var Reference: OleVariant; var Text: OleVariant): Footnote; safecall;
  10046.     procedure Convert; safecall;
  10047.     procedure SwapWithEndnotes; safecall;
  10048.     procedure ResetSeparator; safecall;
  10049.     procedure ResetContinuationSeparator; safecall;
  10050.     procedure ResetContinuationNotice; safecall;
  10051.     property _NewEnum: IUnknown read Get__NewEnum;
  10052.     property Count: Integer read Get_Count;
  10053.     property Application_: Application_ read Get_Application_;
  10054.     property Creator: Integer read Get_Creator;
  10055.     property Parent: IDispatch read Get_Parent;
  10056.     property Location: WdFootnoteLocation read Get_Location write Set_Location;
  10057.     property NumberStyle: WdNoteNumberStyle read Get_NumberStyle write Set_NumberStyle;
  10058.     property StartingNumber: Integer read Get_StartingNumber write Set_StartingNumber;
  10059.     property NumberingRule: WdNumberingRule read Get_NumberingRule write Set_NumberingRule;
  10060.     property Separator: Range read Get_Separator;
  10061.     property ContinuationSeparator: Range read Get_ContinuationSeparator;
  10062.     property ContinuationNotice: Range read Get_ContinuationNotice;
  10063.   end;
  10064.  
  10065. // *********************************************************************//
  10066. // DispIntf:  FootnotesDisp
  10067. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10068. // GUID:      {00020942-0000-0000-C000-000000000046}
  10069. // *********************************************************************//
  10070.   FootnotesDisp = dispinterface
  10071.     ['{00020942-0000-0000-C000-000000000046}']
  10072.     property _NewEnum: IUnknown readonly dispid -4;
  10073.     property Count: Integer readonly dispid 2;
  10074.     property Application_: Application_ readonly dispid 1000;
  10075.     property Creator: Integer readonly dispid 1001;
  10076.     property Parent: IDispatch readonly dispid 1002;
  10077.     property Location: WdFootnoteLocation dispid 100;
  10078.     property NumberStyle: WdNoteNumberStyle dispid 101;
  10079.     property StartingNumber: Integer dispid 102;
  10080.     property NumberingRule: WdNumberingRule dispid 103;
  10081.     property Separator: Range readonly dispid 104;
  10082.     property ContinuationSeparator: Range readonly dispid 105;
  10083.     property ContinuationNotice: Range readonly dispid 106;
  10084.     function Item(Index: Integer): Footnote; dispid 0;
  10085.     function Add(const Range: Range; var Reference: OleVariant; var Text: OleVariant): Footnote; dispid 4;
  10086.     procedure Convert; dispid 5;
  10087.     procedure SwapWithEndnotes; dispid 6;
  10088.     procedure ResetSeparator; dispid 7;
  10089.     procedure ResetContinuationSeparator; dispid 8;
  10090.     procedure ResetContinuationNotice; dispid 9;
  10091.   end;
  10092.  
  10093. // *********************************************************************//
  10094. // Interface: Endnotes
  10095. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10096. // GUID:      {00020941-0000-0000-C000-000000000046}
  10097. // *********************************************************************//
  10098.   Endnotes = interface(IDispatch)
  10099.     ['{00020941-0000-0000-C000-000000000046}']
  10100.     function Get__NewEnum: IUnknown; safecall;
  10101.     function Get_Count: Integer; safecall;
  10102.     function Get_Application_: Application_; safecall;
  10103.     function Get_Creator: Integer; safecall;
  10104.     function Get_Parent: IDispatch; safecall;
  10105.     function Get_Location: WdEndnoteLocation; safecall;
  10106.     procedure Set_Location(prop: WdEndnoteLocation); safecall;
  10107.     function Get_NumberStyle: WdNoteNumberStyle; safecall;
  10108.     procedure Set_NumberStyle(prop: WdNoteNumberStyle); safecall;
  10109.     function Get_StartingNumber: Integer; safecall;
  10110.     procedure Set_StartingNumber(prop: Integer); safecall;
  10111.     function Get_NumberingRule: WdNumberingRule; safecall;
  10112.     procedure Set_NumberingRule(prop: WdNumberingRule); safecall;
  10113.     function Get_Separator: Range; safecall;
  10114.     function Get_ContinuationSeparator: Range; safecall;
  10115.     function Get_ContinuationNotice: Range; safecall;
  10116.     function Item(Index: Integer): Endnote; safecall;
  10117.     function Add(const Range: Range; var Reference: OleVariant; var Text: OleVariant): Endnote; safecall;
  10118.     procedure Convert; safecall;
  10119.     procedure SwapWithFootnotes; safecall;
  10120.     procedure ResetSeparator; safecall;
  10121.     procedure ResetContinuationSeparator; safecall;
  10122.     procedure ResetContinuationNotice; safecall;
  10123.     property _NewEnum: IUnknown read Get__NewEnum;
  10124.     property Count: Integer read Get_Count;
  10125.     property Application_: Application_ read Get_Application_;
  10126.     property Creator: Integer read Get_Creator;
  10127.     property Parent: IDispatch read Get_Parent;
  10128.     property Location: WdEndnoteLocation read Get_Location write Set_Location;
  10129.     property NumberStyle: WdNoteNumberStyle read Get_NumberStyle write Set_NumberStyle;
  10130.     property StartingNumber: Integer read Get_StartingNumber write Set_StartingNumber;
  10131.     property NumberingRule: WdNumberingRule read Get_NumberingRule write Set_NumberingRule;
  10132.     property Separator: Range read Get_Separator;
  10133.     property ContinuationSeparator: Range read Get_ContinuationSeparator;
  10134.     property ContinuationNotice: Range read Get_ContinuationNotice;
  10135.   end;
  10136.  
  10137. // *********************************************************************//
  10138. // DispIntf:  EndnotesDisp
  10139. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10140. // GUID:      {00020941-0000-0000-C000-000000000046}
  10141. // *********************************************************************//
  10142.   EndnotesDisp = dispinterface
  10143.     ['{00020941-0000-0000-C000-000000000046}']
  10144.     property _NewEnum: IUnknown readonly dispid -4;
  10145.     property Count: Integer readonly dispid 2;
  10146.     property Application_: Application_ readonly dispid 1000;
  10147.     property Creator: Integer readonly dispid 1001;
  10148.     property Parent: IDispatch readonly dispid 1002;
  10149.     property Location: WdEndnoteLocation dispid 100;
  10150.     property NumberStyle: WdNoteNumberStyle dispid 101;
  10151.     property StartingNumber: Integer dispid 102;
  10152.     property NumberingRule: WdNumberingRule dispid 103;
  10153.     property Separator: Range readonly dispid 104;
  10154.     property ContinuationSeparator: Range readonly dispid 105;
  10155.     property ContinuationNotice: Range readonly dispid 106;
  10156.     function Item(Index: Integer): Endnote; dispid 0;
  10157.     function Add(const Range: Range; var Reference: OleVariant; var Text: OleVariant): Endnote; dispid 4;
  10158.     procedure Convert; dispid 5;
  10159.     procedure SwapWithFootnotes; dispid 6;
  10160.     procedure ResetSeparator; dispid 7;
  10161.     procedure ResetContinuationSeparator; dispid 8;
  10162.     procedure ResetContinuationNotice; dispid 9;
  10163.   end;
  10164.  
  10165. // *********************************************************************//
  10166. // Interface: Comments
  10167. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10168. // GUID:      {00020940-0000-0000-C000-000000000046}
  10169. // *********************************************************************//
  10170.   Comments = interface(IDispatch)
  10171.     ['{00020940-0000-0000-C000-000000000046}']
  10172.     function Get__NewEnum: IUnknown; safecall;
  10173.     function Get_Count: Integer; safecall;
  10174.     function Get_Application_: Application_; safecall;
  10175.     function Get_Creator: Integer; safecall;
  10176.     function Get_Parent: IDispatch; safecall;
  10177.     function Get_ShowBy: WideString; safecall;
  10178.     procedure Set_ShowBy(const prop: WideString); safecall;
  10179.     function Item(Index: Integer): Comment; safecall;
  10180.     function Add(const Range: Range; var Text: OleVariant): Comment; safecall;
  10181.     property _NewEnum: IUnknown read Get__NewEnum;
  10182.     property Count: Integer read Get_Count;
  10183.     property Application_: Application_ read Get_Application_;
  10184.     property Creator: Integer read Get_Creator;
  10185.     property Parent: IDispatch read Get_Parent;
  10186.     property ShowBy: WideString read Get_ShowBy write Set_ShowBy;
  10187.   end;
  10188.  
  10189. // *********************************************************************//
  10190. // DispIntf:  CommentsDisp
  10191. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10192. // GUID:      {00020940-0000-0000-C000-000000000046}
  10193. // *********************************************************************//
  10194.   CommentsDisp = dispinterface
  10195.     ['{00020940-0000-0000-C000-000000000046}']
  10196.     property _NewEnum: IUnknown readonly dispid -4;
  10197.     property Count: Integer readonly dispid 2;
  10198.     property Application_: Application_ readonly dispid 1000;
  10199.     property Creator: Integer readonly dispid 1001;
  10200.     property Parent: IDispatch readonly dispid 1002;
  10201.     property ShowBy: WideString dispid 1003;
  10202.     function Item(Index: Integer): Comment; dispid 0;
  10203.     function Add(const Range: Range; var Text: OleVariant): Comment; dispid 4;
  10204.   end;
  10205.  
  10206. // *********************************************************************//
  10207. // Interface: Footnote
  10208. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10209. // GUID:      {0002093F-0000-0000-C000-000000000046}
  10210. // *********************************************************************//
  10211.   Footnote = interface(IDispatch)
  10212.     ['{0002093F-0000-0000-C000-000000000046}']
  10213.     function Get_Application_: Application_; safecall;
  10214.     function Get_Creator: Integer; safecall;
  10215.     function Get_Parent: IDispatch; safecall;
  10216.     function Get_Range: Range; safecall;
  10217.     function Get_Reference: Range; safecall;
  10218.     function Get_Index: Integer; safecall;
  10219.     procedure Delete; safecall;
  10220.     property Application_: Application_ read Get_Application_;
  10221.     property Creator: Integer read Get_Creator;
  10222.     property Parent: IDispatch read Get_Parent;
  10223.     property Range: Range read Get_Range;
  10224.     property Reference: Range read Get_Reference;
  10225.     property Index: Integer read Get_Index;
  10226.   end;
  10227.  
  10228. // *********************************************************************//
  10229. // DispIntf:  FootnoteDisp
  10230. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10231. // GUID:      {0002093F-0000-0000-C000-000000000046}
  10232. // *********************************************************************//
  10233.   FootnoteDisp = dispinterface
  10234.     ['{0002093F-0000-0000-C000-000000000046}']
  10235.     property Application_: Application_ readonly dispid 1000;
  10236.     property Creator: Integer readonly dispid 1001;
  10237.     property Parent: IDispatch readonly dispid 1002;
  10238.     property Range: Range readonly dispid 4;
  10239.     property Reference: Range readonly dispid 5;
  10240.     property Index: Integer readonly dispid 6;
  10241.     procedure Delete; dispid 10;
  10242.   end;
  10243.  
  10244. // *********************************************************************//
  10245. // Interface: Endnote
  10246. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10247. // GUID:      {0002093E-0000-0000-C000-000000000046}
  10248. // *********************************************************************//
  10249.   Endnote = interface(IDispatch)
  10250.     ['{0002093E-0000-0000-C000-000000000046}']
  10251.     function Get_Application_: Application_; safecall;
  10252.     function Get_Creator: Integer; safecall;
  10253.     function Get_Parent: IDispatch; safecall;
  10254.     function Get_Range: Range; safecall;
  10255.     function Get_Reference: Range; safecall;
  10256.     function Get_Index: Integer; safecall;
  10257.     procedure Delete; safecall;
  10258.     property Application_: Application_ read Get_Application_;
  10259.     property Creator: Integer read Get_Creator;
  10260.     property Parent: IDispatch read Get_Parent;
  10261.     property Range: Range read Get_Range;
  10262.     property Reference: Range read Get_Reference;
  10263.     property Index: Integer read Get_Index;
  10264.   end;
  10265.  
  10266. // *********************************************************************//
  10267. // DispIntf:  EndnoteDisp
  10268. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10269. // GUID:      {0002093E-0000-0000-C000-000000000046}
  10270. // *********************************************************************//
  10271.   EndnoteDisp = dispinterface
  10272.     ['{0002093E-0000-0000-C000-000000000046}']
  10273.     property Application_: Application_ readonly dispid 1000;
  10274.     property Creator: Integer readonly dispid 1001;
  10275.     property Parent: IDispatch readonly dispid 1002;
  10276.     property Range: Range readonly dispid 4;
  10277.     property Reference: Range readonly dispid 5;
  10278.     property Index: Integer readonly dispid 6;
  10279.     procedure Delete; dispid 10;
  10280.   end;
  10281.  
  10282. // *********************************************************************//
  10283. // Interface: Comment
  10284. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10285. // GUID:      {0002093D-0000-0000-C000-000000000046}
  10286. // *********************************************************************//
  10287.   Comment = interface(IDispatch)
  10288.     ['{0002093D-0000-0000-C000-000000000046}']
  10289.     function Get_Application_: Application_; safecall;
  10290.     function Get_Creator: Integer; safecall;
  10291.     function Get_Parent: IDispatch; safecall;
  10292.     function Get_Range: Range; safecall;
  10293.     function Get_Reference: Range; safecall;
  10294.     function Get_Scope: Range; safecall;
  10295.     function Get_Index: Integer; safecall;
  10296.     function Get_Author: WideString; safecall;
  10297.     procedure Set_Author(const prop: WideString); safecall;
  10298.     function Get_Initial: WideString; safecall;
  10299.     procedure Set_Initial(const prop: WideString); safecall;
  10300.     function Get_ShowTip: WordBool; safecall;
  10301.     procedure Set_ShowTip(prop: WordBool); safecall;
  10302.     procedure Delete; safecall;
  10303.     property Application_: Application_ read Get_Application_;
  10304.     property Creator: Integer read Get_Creator;
  10305.     property Parent: IDispatch read Get_Parent;
  10306.     property Range: Range read Get_Range;
  10307.     property Reference: Range read Get_Reference;
  10308.     property Scope: Range read Get_Scope;
  10309.     property Index: Integer read Get_Index;
  10310.     property Author: WideString read Get_Author write Set_Author;
  10311.     property Initial: WideString read Get_Initial write Set_Initial;
  10312.     property ShowTip: WordBool read Get_ShowTip write Set_ShowTip;
  10313.   end;
  10314.  
  10315. // *********************************************************************//
  10316. // DispIntf:  CommentDisp
  10317. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10318. // GUID:      {0002093D-0000-0000-C000-000000000046}
  10319. // *********************************************************************//
  10320.   CommentDisp = dispinterface
  10321.     ['{0002093D-0000-0000-C000-000000000046}']
  10322.     property Application_: Application_ readonly dispid 1000;
  10323.     property Creator: Integer readonly dispid 1001;
  10324.     property Parent: IDispatch readonly dispid 1002;
  10325.     property Range: Range readonly dispid 1003;
  10326.     property Reference: Range readonly dispid 1004;
  10327.     property Scope: Range readonly dispid 1005;
  10328.     property Index: Integer readonly dispid 1006;
  10329.     property Author: WideString dispid 1007;
  10330.     property Initial: WideString dispid 1008;
  10331.     property ShowTip: WordBool dispid 1009;
  10332.     procedure Delete; dispid 10;
  10333.   end;
  10334.  
  10335. // *********************************************************************//
  10336. // Interface: Borders
  10337. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10338. // GUID:      {0002093C-0000-0000-C000-000000000046}
  10339. // *********************************************************************//
  10340.   Borders = interface(IDispatch)
  10341.     ['{0002093C-0000-0000-C000-000000000046}']
  10342.     function Get_Application_: Application_; safecall;
  10343.     function Get_Creator: Integer; safecall;
  10344.     function Get_Parent: IDispatch; safecall;
  10345.     function Get__NewEnum: IUnknown; safecall;
  10346.     function Get_Count: Integer; safecall;
  10347.     function Get_Enable: Integer; safecall;
  10348.     procedure Set_Enable(prop: Integer); safecall;
  10349.     function Get_DistanceFromTop: Integer; safecall;
  10350.     procedure Set_DistanceFromTop(prop: Integer); safecall;
  10351.     function Get_Shadow: WordBool; safecall;
  10352.     procedure Set_Shadow(prop: WordBool); safecall;
  10353.     function Get_InsideLineStyle: WdLineStyle; safecall;
  10354.     procedure Set_InsideLineStyle(prop: WdLineStyle); safecall;
  10355.     function Get_OutsideLineStyle: WdLineStyle; safecall;
  10356.     procedure Set_OutsideLineStyle(prop: WdLineStyle); safecall;
  10357.     function Get_InsideLineWidth: WdLineWidth; safecall;
  10358.     procedure Set_InsideLineWidth(prop: WdLineWidth); safecall;
  10359.     function Get_OutsideLineWidth: WdLineWidth; safecall;
  10360.     procedure Set_OutsideLineWidth(prop: WdLineWidth); safecall;
  10361.     function Get_InsideColorIndex: WdColorIndex; safecall;
  10362.     procedure Set_InsideColorIndex(prop: WdColorIndex); safecall;
  10363.     function Get_OutsideColorIndex: WdColorIndex; safecall;
  10364.     procedure Set_OutsideColorIndex(prop: WdColorIndex); safecall;
  10365.     function Get_DistanceFromLeft: Integer; safecall;
  10366.     procedure Set_DistanceFromLeft(prop: Integer); safecall;
  10367.     function Get_DistanceFromBottom: Integer; safecall;
  10368.     procedure Set_DistanceFromBottom(prop: Integer); safecall;
  10369.     function Get_DistanceFromRight: Integer; safecall;
  10370.     procedure Set_DistanceFromRight(prop: Integer); safecall;
  10371.     function Get_AlwaysInFront: WordBool; safecall;
  10372.     procedure Set_AlwaysInFront(prop: WordBool); safecall;
  10373.     function Get_SurroundHeader: WordBool; safecall;
  10374.     procedure Set_SurroundHeader(prop: WordBool); safecall;
  10375.     function Get_SurroundFooter: WordBool; safecall;
  10376.     procedure Set_SurroundFooter(prop: WordBool); safecall;
  10377.     function Get_JoinBorders: WordBool; safecall;
  10378.     procedure Set_JoinBorders(prop: WordBool); safecall;
  10379.     function Get_HasHorizontal: WordBool; safecall;
  10380.     function Get_HasVertical: WordBool; safecall;
  10381.     function Get_DistanceFrom: WdBorderDistanceFrom; safecall;
  10382.     procedure Set_DistanceFrom(prop: WdBorderDistanceFrom); safecall;
  10383.     function Get_EnableFirstPageInSection: WordBool; safecall;
  10384.     procedure Set_EnableFirstPageInSection(prop: WordBool); safecall;
  10385.     function Get_EnableOtherPagesInSection: WordBool; safecall;
  10386.     procedure Set_EnableOtherPagesInSection(prop: WordBool); safecall;
  10387.     function Item(Index: WdBorderType): Border; safecall;
  10388.     procedure ApplyPageBordersToAllSections; safecall;
  10389.     function Get_InsideColor: WdColor; safecall;
  10390.     procedure Set_InsideColor(prop: WdColor); safecall;
  10391.     function Get_OutsideColor: WdColor; safecall;
  10392.     procedure Set_OutsideColor(prop: WdColor); safecall;
  10393.     property Application_: Application_ read Get_Application_;
  10394.     property Creator: Integer read Get_Creator;
  10395.     property Parent: IDispatch read Get_Parent;
  10396.     property _NewEnum: IUnknown read Get__NewEnum;
  10397.     property Count: Integer read Get_Count;
  10398.     property Enable: Integer read Get_Enable write Set_Enable;
  10399.     property DistanceFromTop: Integer read Get_DistanceFromTop write Set_DistanceFromTop;
  10400.     property Shadow: WordBool read Get_Shadow write Set_Shadow;
  10401.     property InsideLineStyle: WdLineStyle read Get_InsideLineStyle write Set_InsideLineStyle;
  10402.     property OutsideLineStyle: WdLineStyle read Get_OutsideLineStyle write Set_OutsideLineStyle;
  10403.     property InsideLineWidth: WdLineWidth read Get_InsideLineWidth write Set_InsideLineWidth;
  10404.     property OutsideLineWidth: WdLineWidth read Get_OutsideLineWidth write Set_OutsideLineWidth;
  10405.     property InsideColorIndex: WdColorIndex read Get_InsideColorIndex write Set_InsideColorIndex;
  10406.     property OutsideColorIndex: WdColorIndex read Get_OutsideColorIndex write Set_OutsideColorIndex;
  10407.     property DistanceFromLeft: Integer read Get_DistanceFromLeft write Set_DistanceFromLeft;
  10408.     property DistanceFromBottom: Integer read Get_DistanceFromBottom write Set_DistanceFromBottom;
  10409.     property DistanceFromRight: Integer read Get_DistanceFromRight write Set_DistanceFromRight;
  10410.     property AlwaysInFront: WordBool read Get_AlwaysInFront write Set_AlwaysInFront;
  10411.     property SurroundHeader: WordBool read Get_SurroundHeader write Set_SurroundHeader;
  10412.     property SurroundFooter: WordBool read Get_SurroundFooter write Set_SurroundFooter;
  10413.     property JoinBorders: WordBool read Get_JoinBorders write Set_JoinBorders;
  10414.     property HasHorizontal: WordBool read Get_HasHorizontal;
  10415.     property HasVertical: WordBool read Get_HasVertical;
  10416.     property DistanceFrom: WdBorderDistanceFrom read Get_DistanceFrom write Set_DistanceFrom;
  10417.     property EnableFirstPageInSection: WordBool read Get_EnableFirstPageInSection write Set_EnableFirstPageInSection;
  10418.     property EnableOtherPagesInSection: WordBool read Get_EnableOtherPagesInSection write Set_EnableOtherPagesInSection;
  10419.     property InsideColor: WdColor read Get_InsideColor write Set_InsideColor;
  10420.     property OutsideColor: WdColor read Get_OutsideColor write Set_OutsideColor;
  10421.   end;
  10422.  
  10423. // *********************************************************************//
  10424. // DispIntf:  BordersDisp
  10425. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10426. // GUID:      {0002093C-0000-0000-C000-000000000046}
  10427. // *********************************************************************//
  10428.   BordersDisp = dispinterface
  10429.     ['{0002093C-0000-0000-C000-000000000046}']
  10430.     property Application_: Application_ readonly dispid 1000;
  10431.     property Creator: Integer readonly dispid 1001;
  10432.     property Parent: IDispatch readonly dispid 1002;
  10433.     property _NewEnum: IUnknown readonly dispid -4;
  10434.     property Count: Integer readonly dispid 1;
  10435.     property Enable: Integer dispid 2;
  10436.     property DistanceFromTop: Integer dispid 4;
  10437.     property Shadow: WordBool dispid 5;
  10438.     property InsideLineStyle: WdLineStyle dispid 6;
  10439.     property OutsideLineStyle: WdLineStyle dispid 7;
  10440.     property InsideLineWidth: WdLineWidth dispid 8;
  10441.     property OutsideLineWidth: WdLineWidth dispid 9;
  10442.     property InsideColorIndex: WdColorIndex dispid 10;
  10443.     property OutsideColorIndex: WdColorIndex dispid 11;
  10444.     property DistanceFromLeft: Integer dispid 20;
  10445.     property DistanceFromBottom: Integer dispid 21;
  10446.     property DistanceFromRight: Integer dispid 22;
  10447.     property AlwaysInFront: WordBool dispid 23;
  10448.     property SurroundHeader: WordBool dispid 24;
  10449.     property SurroundFooter: WordBool dispid 25;
  10450.     property JoinBorders: WordBool dispid 26;
  10451.     property HasHorizontal: WordBool readonly dispid 27;
  10452.     property HasVertical: WordBool readonly dispid 28;
  10453.     property DistanceFrom: WdBorderDistanceFrom dispid 29;
  10454.     property EnableFirstPageInSection: WordBool dispid 30;
  10455.     property EnableOtherPagesInSection: WordBool dispid 31;
  10456.     function Item(Index: WdBorderType): Border; dispid 0;
  10457.     procedure ApplyPageBordersToAllSections; dispid 2000;
  10458.     property InsideColor: WdColor dispid 32;
  10459.     property OutsideColor: WdColor dispid 33;
  10460.   end;
  10461.  
  10462. // *********************************************************************//
  10463. // Interface: Border
  10464. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10465. // GUID:      {0002093B-0000-0000-C000-000000000046}
  10466. // *********************************************************************//
  10467.   Border = interface(IDispatch)
  10468.     ['{0002093B-0000-0000-C000-000000000046}']
  10469.     function Get_Application_: Application_; safecall;
  10470.     function Get_Creator: Integer; safecall;
  10471.     function Get_Parent: IDispatch; safecall;
  10472.     function Get_Visible: WordBool; safecall;
  10473.     procedure Set_Visible(prop: WordBool); safecall;
  10474.     function Get_ColorIndex: WdColorIndex; safecall;
  10475.     procedure Set_ColorIndex(prop: WdColorIndex); safecall;
  10476.     function Get_Inside: WordBool; safecall;
  10477.     function Get_LineStyle: WdLineStyle; safecall;
  10478.     procedure Set_LineStyle(prop: WdLineStyle); safecall;
  10479.     function Get_LineWidth: WdLineWidth; safecall;
  10480.     procedure Set_LineWidth(prop: WdLineWidth); safecall;
  10481.     function Get_ArtStyle: WdPageBorderArt; safecall;
  10482.     procedure Set_ArtStyle(prop: WdPageBorderArt); safecall;
  10483.     function Get_ArtWidth: Integer; safecall;
  10484.     procedure Set_ArtWidth(prop: Integer); safecall;
  10485.     function Get_Color: WdColor; safecall;
  10486.     procedure Set_Color(prop: WdColor); safecall;
  10487.     property Application_: Application_ read Get_Application_;
  10488.     property Creator: Integer read Get_Creator;
  10489.     property Parent: IDispatch read Get_Parent;
  10490.     property Visible: WordBool read Get_Visible write Set_Visible;
  10491.     property ColorIndex: WdColorIndex read Get_ColorIndex write Set_ColorIndex;
  10492.     property Inside: WordBool read Get_Inside;
  10493.     property LineStyle: WdLineStyle read Get_LineStyle write Set_LineStyle;
  10494.     property LineWidth: WdLineWidth read Get_LineWidth write Set_LineWidth;
  10495.     property ArtStyle: WdPageBorderArt read Get_ArtStyle write Set_ArtStyle;
  10496.     property ArtWidth: Integer read Get_ArtWidth write Set_ArtWidth;
  10497.     property Color: WdColor read Get_Color write Set_Color;
  10498.   end;
  10499.  
  10500. // *********************************************************************//
  10501. // DispIntf:  BorderDisp
  10502. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10503. // GUID:      {0002093B-0000-0000-C000-000000000046}
  10504. // *********************************************************************//
  10505.   BorderDisp = dispinterface
  10506.     ['{0002093B-0000-0000-C000-000000000046}']
  10507.     property Application_: Application_ readonly dispid 1000;
  10508.     property Creator: Integer readonly dispid 1001;
  10509.     property Parent: IDispatch readonly dispid 1002;
  10510.     property Visible: WordBool dispid 0;
  10511.     property ColorIndex: WdColorIndex dispid 1;
  10512.     property Inside: WordBool readonly dispid 2;
  10513.     property LineStyle: WdLineStyle dispid 3;
  10514.     property LineWidth: WdLineWidth dispid 4;
  10515.     property ArtStyle: WdPageBorderArt dispid 5;
  10516.     property ArtWidth: Integer dispid 6;
  10517.     property Color: WdColor dispid 7;
  10518.   end;
  10519.  
  10520. // *********************************************************************//
  10521. // Interface: Shading
  10522. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10523. // GUID:      {0002093A-0000-0000-C000-000000000046}
  10524. // *********************************************************************//
  10525.   Shading = interface(IDispatch)
  10526.     ['{0002093A-0000-0000-C000-000000000046}']
  10527.     function Get_Application_: Application_; safecall;
  10528.     function Get_Creator: Integer; safecall;
  10529.     function Get_Parent: IDispatch; safecall;
  10530.     function Get_ForegroundPatternColorIndex: WdColorIndex; safecall;
  10531.     procedure Set_ForegroundPatternColorIndex(prop: WdColorIndex); safecall;
  10532.     function Get_BackgroundPatternColorIndex: WdColorIndex; safecall;
  10533.     procedure Set_BackgroundPatternColorIndex(prop: WdColorIndex); safecall;
  10534.     function Get_Texture: WdTextureIndex; safecall;
  10535.     procedure Set_Texture(prop: WdTextureIndex); safecall;
  10536.     function Get_ForegroundPatternColor: WdColor; safecall;
  10537.     procedure Set_ForegroundPatternColor(prop: WdColor); safecall;
  10538.     function Get_BackgroundPatternColor: WdColor; safecall;
  10539.     procedure Set_BackgroundPatternColor(prop: WdColor); safecall;
  10540.     property Application_: Application_ read Get_Application_;
  10541.     property Creator: Integer read Get_Creator;
  10542.     property Parent: IDispatch read Get_Parent;
  10543.     property ForegroundPatternColorIndex: WdColorIndex read Get_ForegroundPatternColorIndex write Set_ForegroundPatternColorIndex;
  10544.     property BackgroundPatternColorIndex: WdColorIndex read Get_BackgroundPatternColorIndex write Set_BackgroundPatternColorIndex;
  10545.     property Texture: WdTextureIndex read Get_Texture write Set_Texture;
  10546.     property ForegroundPatternColor: WdColor read Get_ForegroundPatternColor write Set_ForegroundPatternColor;
  10547.     property BackgroundPatternColor: WdColor read Get_BackgroundPatternColor write Set_BackgroundPatternColor;
  10548.   end;
  10549.  
  10550. // *********************************************************************//
  10551. // DispIntf:  ShadingDisp
  10552. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10553. // GUID:      {0002093A-0000-0000-C000-000000000046}
  10554. // *********************************************************************//
  10555.   ShadingDisp = dispinterface
  10556.     ['{0002093A-0000-0000-C000-000000000046}']
  10557.     property Application_: Application_ readonly dispid 1000;
  10558.     property Creator: Integer readonly dispid 1001;
  10559.     property Parent: IDispatch readonly dispid 1002;
  10560.     property ForegroundPatternColorIndex: WdColorIndex dispid 1;
  10561.     property BackgroundPatternColorIndex: WdColorIndex dispid 2;
  10562.     property Texture: WdTextureIndex dispid 3;
  10563.     property ForegroundPatternColor: WdColor dispid 4;
  10564.     property BackgroundPatternColor: WdColor dispid 5;
  10565.   end;
  10566.  
  10567. // *********************************************************************//
  10568. // Interface: TextRetrievalMode
  10569. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10570. // GUID:      {00020939-0000-0000-C000-000000000046}
  10571. // *********************************************************************//
  10572.   TextRetrievalMode = interface(IDispatch)
  10573.     ['{00020939-0000-0000-C000-000000000046}']
  10574.     function Get_Application_: Application_; safecall;
  10575.     function Get_Creator: Integer; safecall;
  10576.     function Get_Parent: IDispatch; safecall;
  10577.     function Get_ViewType: WdViewType; safecall;
  10578.     procedure Set_ViewType(prop: WdViewType); safecall;
  10579.     function Get_Duplicate: TextRetrievalMode; safecall;
  10580.     function Get_IncludeHiddenText: WordBool; safecall;
  10581.     procedure Set_IncludeHiddenText(prop: WordBool); safecall;
  10582.     function Get_IncludeFieldCodes: WordBool; safecall;
  10583.     procedure Set_IncludeFieldCodes(prop: WordBool); safecall;
  10584.     property Application_: Application_ read Get_Application_;
  10585.     property Creator: Integer read Get_Creator;
  10586.     property Parent: IDispatch read Get_Parent;
  10587.     property ViewType: WdViewType read Get_ViewType write Set_ViewType;
  10588.     property Duplicate: TextRetrievalMode read Get_Duplicate;
  10589.     property IncludeHiddenText: WordBool read Get_IncludeHiddenText write Set_IncludeHiddenText;
  10590.     property IncludeFieldCodes: WordBool read Get_IncludeFieldCodes write Set_IncludeFieldCodes;
  10591.   end;
  10592.  
  10593. // *********************************************************************//
  10594. // DispIntf:  TextRetrievalModeDisp
  10595. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10596. // GUID:      {00020939-0000-0000-C000-000000000046}
  10597. // *********************************************************************//
  10598.   TextRetrievalModeDisp = dispinterface
  10599.     ['{00020939-0000-0000-C000-000000000046}']
  10600.     property Application_: Application_ readonly dispid 1000;
  10601.     property Creator: Integer readonly dispid 1001;
  10602.     property Parent: IDispatch readonly dispid 1002;
  10603.     property ViewType: WdViewType dispid 0;
  10604.     property Duplicate: TextRetrievalMode readonly dispid 1;
  10605.     property IncludeHiddenText: WordBool dispid 2;
  10606.     property IncludeFieldCodes: WordBool dispid 3;
  10607.   end;
  10608.  
  10609. // *********************************************************************//
  10610. // Interface: AutoTextEntries
  10611. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10612. // GUID:      {00020937-0000-0000-C000-000000000046}
  10613. // *********************************************************************//
  10614.   AutoTextEntries = interface(IDispatch)
  10615.     ['{00020937-0000-0000-C000-000000000046}']
  10616.     function Get_Application_: Application_; safecall;
  10617.     function Get_Creator: Integer; safecall;
  10618.     function Get_Parent: IDispatch; safecall;
  10619.     function Get__NewEnum: IUnknown; safecall;
  10620.     function Get_Count: Integer; safecall;
  10621.     function Item(var Index: OleVariant): AutoTextEntry; safecall;
  10622.     function Add(const Name: WideString; const Range: Range): AutoTextEntry; safecall;
  10623.     function AppendToSpike(const Range: Range): AutoTextEntry; safecall;
  10624.     property Application_: Application_ read Get_Application_;
  10625.     property Creator: Integer read Get_Creator;
  10626.     property Parent: IDispatch read Get_Parent;
  10627.     property _NewEnum: IUnknown read Get__NewEnum;
  10628.     property Count: Integer read Get_Count;
  10629.   end;
  10630.  
  10631. // *********************************************************************//
  10632. // DispIntf:  AutoTextEntriesDisp
  10633. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10634. // GUID:      {00020937-0000-0000-C000-000000000046}
  10635. // *********************************************************************//
  10636.   AutoTextEntriesDisp = dispinterface
  10637.     ['{00020937-0000-0000-C000-000000000046}']
  10638.     property Application_: Application_ readonly dispid 1000;
  10639.     property Creator: Integer readonly dispid 1001;
  10640.     property Parent: IDispatch readonly dispid 1002;
  10641.     property _NewEnum: IUnknown readonly dispid -4;
  10642.     property Count: Integer readonly dispid 1;
  10643.     function Item(var Index: OleVariant): AutoTextEntry; dispid 0;
  10644.     function Add(const Name: WideString; const Range: Range): AutoTextEntry; dispid 101;
  10645.     function AppendToSpike(const Range: Range): AutoTextEntry; dispid 102;
  10646.   end;
  10647.  
  10648. // *********************************************************************//
  10649. // Interface: AutoTextEntry
  10650. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10651. // GUID:      {00020936-0000-0000-C000-000000000046}
  10652. // *********************************************************************//
  10653.   AutoTextEntry = interface(IDispatch)
  10654.     ['{00020936-0000-0000-C000-000000000046}']
  10655.     function Get_Application_: Application_; safecall;
  10656.     function Get_Creator: Integer; safecall;
  10657.     function Get_Parent: IDispatch; safecall;
  10658.     function Get_Index: Integer; safecall;
  10659.     function Get_Name: WideString; safecall;
  10660.     procedure Set_Name(const prop: WideString); safecall;
  10661.     function Get_StyleName: WideString; safecall;
  10662.     function Get_Value: WideString; safecall;
  10663.     procedure Set_Value(const prop: WideString); safecall;
  10664.     procedure Delete; safecall;
  10665.     function Insert(const Where: Range; var RichText: OleVariant): Range; safecall;
  10666.     property Application_: Application_ read Get_Application_;
  10667.     property Creator: Integer read Get_Creator;
  10668.     property Parent: IDispatch read Get_Parent;
  10669.     property Index: Integer read Get_Index;
  10670.     property Name: WideString read Get_Name write Set_Name;
  10671.     property StyleName: WideString read Get_StyleName;
  10672.     property Value: WideString read Get_Value write Set_Value;
  10673.   end;
  10674.  
  10675. // *********************************************************************//
  10676. // DispIntf:  AutoTextEntryDisp
  10677. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10678. // GUID:      {00020936-0000-0000-C000-000000000046}
  10679. // *********************************************************************//
  10680.   AutoTextEntryDisp = dispinterface
  10681.     ['{00020936-0000-0000-C000-000000000046}']
  10682.     property Application_: Application_ readonly dispid 1000;
  10683.     property Creator: Integer readonly dispid 1001;
  10684.     property Parent: IDispatch readonly dispid 1002;
  10685.     property Index: Integer readonly dispid 1;
  10686.     property Name: WideString dispid 2;
  10687.     property StyleName: WideString readonly dispid 3;
  10688.     property Value: WideString dispid 0;
  10689.     procedure Delete; dispid 101;
  10690.     function Insert(const Where: Range; var RichText: OleVariant): Range; dispid 102;
  10691.   end;
  10692.  
  10693. // *********************************************************************//
  10694. // Interface: System_
  10695. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10696. // GUID:      {00020935-0000-0000-C000-000000000046}
  10697. // *********************************************************************//
  10698.   System_ = interface(IDispatch)
  10699.     ['{00020935-0000-0000-C000-000000000046}']
  10700.     function Get_Application_: Application_; safecall;
  10701.     function Get_Creator: Integer; safecall;
  10702.     function Get_Parent: IDispatch; safecall;
  10703.     function Get_OperatingSystem: WideString; safecall;
  10704.     function Get_ProcessorType: WideString; safecall;
  10705.     function Get_Version: WideString; safecall;
  10706.     function Get_FreeDiskSpace: Integer; safecall;
  10707.     function Get_Country: WdCountry; safecall;
  10708.     function Get_LanguageDesignation: WideString; safecall;
  10709.     function Get_HorizontalResolution: Integer; safecall;
  10710.     function Get_VerticalResolution: Integer; safecall;
  10711.     function Get_ProfileString(const Section: WideString; const Key: WideString): WideString; safecall;
  10712.     procedure Set_ProfileString(const Section: WideString; const Key: WideString; 
  10713.                                 const prop: WideString); safecall;
  10714.     function Get_PrivateProfileString(const FileName: WideString; const Section: WideString; 
  10715.                                       const Key: WideString): WideString; safecall;
  10716.     procedure Set_PrivateProfileString(const FileName: WideString; const Section: WideString; 
  10717.                                        const Key: WideString; const prop: WideString); safecall;
  10718.     function Get_MathCoprocessorInstalled: WordBool; safecall;
  10719.     function Get_ComputerType: WideString; safecall;
  10720.     function Get_MacintoshName: WideString; safecall;
  10721.     function Get_QuickDrawInstalled: WordBool; safecall;
  10722.     function Get_Cursor: WdCursorType; safecall;
  10723.     procedure Set_Cursor(prop: WdCursorType); safecall;
  10724.     procedure MSInfo; safecall;
  10725.     procedure Connect(const Path: WideString; var Drive: OleVariant; var Password: OleVariant); safecall;
  10726.     property Application_: Application_ read Get_Application_;
  10727.     property Creator: Integer read Get_Creator;
  10728.     property Parent: IDispatch read Get_Parent;
  10729.     property OperatingSystem: WideString read Get_OperatingSystem;
  10730.     property ProcessorType: WideString read Get_ProcessorType;
  10731.     property Version: WideString read Get_Version;
  10732.     property FreeDiskSpace: Integer read Get_FreeDiskSpace;
  10733.     property Country: WdCountry read Get_Country;
  10734.     property LanguageDesignation: WideString read Get_LanguageDesignation;
  10735.     property HorizontalResolution: Integer read Get_HorizontalResolution;
  10736.     property VerticalResolution: Integer read Get_VerticalResolution;
  10737.     property ProfileString[const Section: WideString; const Key: WideString]: WideString read Get_ProfileString write Set_ProfileString;
  10738.     property PrivateProfileString[const FileName: WideString; const Section: WideString; 
  10739.                                   const Key: WideString]: WideString read Get_PrivateProfileString write Set_PrivateProfileString;
  10740.     property MathCoprocessorInstalled: WordBool read Get_MathCoprocessorInstalled;
  10741.     property ComputerType: WideString read Get_ComputerType;
  10742.     property MacintoshName: WideString read Get_MacintoshName;
  10743.     property QuickDrawInstalled: WordBool read Get_QuickDrawInstalled;
  10744.     property Cursor: WdCursorType read Get_Cursor write Set_Cursor;
  10745.   end;
  10746.  
  10747. // *********************************************************************//
  10748. // DispIntf:  System_Disp
  10749. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10750. // GUID:      {00020935-0000-0000-C000-000000000046}
  10751. // *********************************************************************//
  10752.   System_Disp = dispinterface
  10753.     ['{00020935-0000-0000-C000-000000000046}']
  10754.     property Application_: Application_ readonly dispid 1000;
  10755.     property Creator: Integer readonly dispid 1001;
  10756.     property Parent: IDispatch readonly dispid 1002;
  10757.     property OperatingSystem: WideString readonly dispid 1;
  10758.     property ProcessorType: WideString readonly dispid 2;
  10759.     property Version: WideString readonly dispid 3;
  10760.     property FreeDiskSpace: Integer readonly dispid 4;
  10761.     property Country: WdCountry readonly dispid 5;
  10762.     property LanguageDesignation: WideString readonly dispid 6;
  10763.     property HorizontalResolution: Integer readonly dispid 7;
  10764.     property VerticalResolution: Integer readonly dispid 8;
  10765.     property ProfileString[const Section: WideString; const Key: WideString]: WideString dispid 9;
  10766.     property PrivateProfileString[const FileName: WideString; const Section: WideString; 
  10767.                                   const Key: WideString]: WideString dispid 10;
  10768.     property MathCoprocessorInstalled: WordBool readonly dispid 11;
  10769.     property ComputerType: WideString readonly dispid 12;
  10770.     property MacintoshName: WideString readonly dispid 14;
  10771.     property QuickDrawInstalled: WordBool readonly dispid 15;
  10772.     property Cursor: WdCursorType dispid 16;
  10773.     procedure MSInfo; dispid 101;
  10774.     procedure Connect(const Path: WideString; var Drive: OleVariant; var Password: OleVariant); dispid 102;
  10775.   end;
  10776.  
  10777. // *********************************************************************//
  10778. // Interface: OLEFormat
  10779. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10780. // GUID:      {00020933-0000-0000-C000-000000000046}
  10781. // *********************************************************************//
  10782.   OLEFormat = interface(IDispatch)
  10783.     ['{00020933-0000-0000-C000-000000000046}']
  10784.     function Get_Application_: Application_; safecall;
  10785.     function Get_Creator: Integer; safecall;
  10786.     function Get_Parent: IDispatch; safecall;
  10787.     function Get_ClassType: WideString; safecall;
  10788.     procedure Set_ClassType(const prop: WideString); safecall;
  10789.     function Get_DisplayAsIcon: WordBool; safecall;
  10790.     procedure Set_DisplayAsIcon(prop: WordBool); safecall;
  10791.     function Get_IconName: WideString; safecall;
  10792.     procedure Set_IconName(const prop: WideString); safecall;
  10793.     function Get_IconPath: WideString; safecall;
  10794.     function Get_IconIndex: Integer; safecall;
  10795.     procedure Set_IconIndex(prop: Integer); safecall;
  10796.     function Get_IconLabel: WideString; safecall;
  10797.     procedure Set_IconLabel(const prop: WideString); safecall;
  10798.     function Get_Label_: WideString; safecall;
  10799.     function Get_Object_: IDispatch; safecall;
  10800.     function Get_ProgID: WideString; safecall;
  10801.     procedure Activate; safecall;
  10802.     procedure Edit; safecall;
  10803.     procedure Open; safecall;
  10804.     procedure DoVerb(var VerbIndex: OleVariant); safecall;
  10805.     procedure ConvertTo(var ClassType: OleVariant; var DisplayAsIcon: OleVariant; 
  10806.                         var IconFileName: OleVariant; var IconIndex: OleVariant; 
  10807.                         var IconLabel: OleVariant); safecall;
  10808.     procedure ActivateAs(const ClassType: WideString); safecall;
  10809.     property Application_: Application_ read Get_Application_;
  10810.     property Creator: Integer read Get_Creator;
  10811.     property Parent: IDispatch read Get_Parent;
  10812.     property ClassType: WideString read Get_ClassType write Set_ClassType;
  10813.     property DisplayAsIcon: WordBool read Get_DisplayAsIcon write Set_DisplayAsIcon;
  10814.     property IconName: WideString read Get_IconName write Set_IconName;
  10815.     property IconPath: WideString read Get_IconPath;
  10816.     property IconIndex: Integer read Get_IconIndex write Set_IconIndex;
  10817.     property IconLabel: WideString read Get_IconLabel write Set_IconLabel;
  10818.     property Label_: WideString read Get_Label_;
  10819.     property Object_: IDispatch read Get_Object_;
  10820.     property ProgID: WideString read Get_ProgID;
  10821.   end;
  10822.  
  10823. // *********************************************************************//
  10824. // DispIntf:  OLEFormatDisp
  10825. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10826. // GUID:      {00020933-0000-0000-C000-000000000046}
  10827. // *********************************************************************//
  10828.   OLEFormatDisp = dispinterface
  10829.     ['{00020933-0000-0000-C000-000000000046}']
  10830.     property Application_: Application_ readonly dispid 1000;
  10831.     property Creator: Integer readonly dispid 1001;
  10832.     property Parent: IDispatch readonly dispid 1002;
  10833.     property ClassType: WideString dispid 2;
  10834.     property DisplayAsIcon: WordBool dispid 3;
  10835.     property IconName: WideString dispid 7;
  10836.     property IconPath: WideString readonly dispid 8;
  10837.     property IconIndex: Integer dispid 9;
  10838.     property IconLabel: WideString dispid 10;
  10839.     property Label_: WideString readonly dispid 12;
  10840.     property Object_: IDispatch readonly dispid 14;
  10841.     property ProgID: WideString readonly dispid 22;
  10842.     procedure Activate; dispid 104;
  10843.     procedure Edit; dispid 106;
  10844.     procedure Open; dispid 107;
  10845.     procedure DoVerb(var VerbIndex: OleVariant); dispid 109;
  10846.     procedure ConvertTo(var ClassType: OleVariant; var DisplayAsIcon: OleVariant; 
  10847.                         var IconFileName: OleVariant; var IconIndex: OleVariant; 
  10848.                         var IconLabel: OleVariant); dispid 110;
  10849.     procedure ActivateAs(const ClassType: WideString); dispid 111;
  10850.   end;
  10851.  
  10852. // *********************************************************************//
  10853. // Interface: LinkFormat
  10854. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10855. // GUID:      {00020931-0000-0000-C000-000000000046}
  10856. // *********************************************************************//
  10857.   LinkFormat = interface(IDispatch)
  10858.     ['{00020931-0000-0000-C000-000000000046}']
  10859.     function Get_Application_: Application_; safecall;
  10860.     function Get_Creator: Integer; safecall;
  10861.     function Get_Parent: IDispatch; safecall;
  10862.     function Get_AutoUpdate: WordBool; safecall;
  10863.     procedure Set_AutoUpdate(prop: WordBool); safecall;
  10864.     function Get_SourceName: WideString; safecall;
  10865.     function Get_SourcePath: WideString; safecall;
  10866.     function Get_Locked: WordBool; safecall;
  10867.     procedure Set_Locked(prop: WordBool); safecall;
  10868.     function Get_Type_: WdLinkType; safecall;
  10869.     function Get_SourceFullName: WideString; safecall;
  10870.     procedure Set_SourceFullName(const prop: WideString); safecall;
  10871.     function Get_SavePictureWithDocument: WordBool; safecall;
  10872.     procedure Set_SavePictureWithDocument(prop: WordBool); safecall;
  10873.     procedure BreakLink; safecall;
  10874.     procedure Update; safecall;
  10875.     property Application_: Application_ read Get_Application_;
  10876.     property Creator: Integer read Get_Creator;
  10877.     property Parent: IDispatch read Get_Parent;
  10878.     property AutoUpdate: WordBool read Get_AutoUpdate write Set_AutoUpdate;
  10879.     property SourceName: WideString read Get_SourceName;
  10880.     property SourcePath: WideString read Get_SourcePath;
  10881.     property Locked: WordBool read Get_Locked write Set_Locked;
  10882.     property Type_: WdLinkType read Get_Type_;
  10883.     property SourceFullName: WideString read Get_SourceFullName write Set_SourceFullName;
  10884.     property SavePictureWithDocument: WordBool read Get_SavePictureWithDocument write Set_SavePictureWithDocument;
  10885.   end;
  10886.  
  10887. // *********************************************************************//
  10888. // DispIntf:  LinkFormatDisp
  10889. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10890. // GUID:      {00020931-0000-0000-C000-000000000046}
  10891. // *********************************************************************//
  10892.   LinkFormatDisp = dispinterface
  10893.     ['{00020931-0000-0000-C000-000000000046}']
  10894.     property Application_: Application_ readonly dispid 1000;
  10895.     property Creator: Integer readonly dispid 1001;
  10896.     property Parent: IDispatch readonly dispid 1002;
  10897.     property AutoUpdate: WordBool dispid 1;
  10898.     property SourceName: WideString readonly dispid 4;
  10899.     property SourcePath: WideString readonly dispid 5;
  10900.     property Locked: WordBool dispid 13;
  10901.     property Type_: WdLinkType readonly dispid 16;
  10902.     property SourceFullName: WideString dispid 21;
  10903.     property SavePictureWithDocument: WordBool dispid 22;
  10904.     procedure BreakLink; dispid 104;
  10905.     procedure Update; dispid 105;
  10906.   end;
  10907.  
  10908. // *********************************************************************//
  10909. // Interface: _OLEControl
  10910. // Flags:     (4432) Hidden Dual OleAutomation Dispatchable
  10911. // GUID:      {000209A4-0000-0000-C000-000000000046}
  10912. // *********************************************************************//
  10913.   _OLEControl = interface(IDispatch)
  10914.     ['{000209A4-0000-0000-C000-000000000046}']
  10915.     function Get_Left: Single; safecall;
  10916.     procedure Set_Left(prop: Single); safecall;
  10917.     function Get_Top: Single; safecall;
  10918.     procedure Set_Top(prop: Single); safecall;
  10919.     function Get_Height: Single; safecall;
  10920.     procedure Set_Height(prop: Single); safecall;
  10921.     function Get_Width: Single; safecall;
  10922.     procedure Set_Width(prop: Single); safecall;
  10923.     function Get_Name: WideString; safecall;
  10924.     procedure Set_Name(const prop: WideString); safecall;
  10925.     function Get_Automation: IDispatch; safecall;
  10926.     procedure Select; safecall;
  10927.     procedure Copy; safecall;
  10928.     procedure Cut; safecall;
  10929.     procedure Delete; safecall;
  10930.     procedure Activate; safecall;
  10931.     function Get_AltHTML: WideString; safecall;
  10932.     procedure Set_AltHTML(const prop: WideString); safecall;
  10933.     property Left: Single read Get_Left write Set_Left;
  10934.     property Top: Single read Get_Top write Set_Top;
  10935.     property Height: Single read Get_Height write Set_Height;
  10936.     property Width: Single read Get_Width write Set_Width;
  10937.     property Name: WideString read Get_Name write Set_Name;
  10938.     property Automation: IDispatch read Get_Automation;
  10939.     property AltHTML: WideString read Get_AltHTML write Set_AltHTML;
  10940.   end;
  10941.  
  10942. // *********************************************************************//
  10943. // DispIntf:  _OLEControlDisp
  10944. // Flags:     (4432) Hidden Dual OleAutomation Dispatchable
  10945. // GUID:      {000209A4-0000-0000-C000-000000000046}
  10946. // *********************************************************************//
  10947.   _OLEControlDisp = dispinterface
  10948.     ['{000209A4-0000-0000-C000-000000000046}']
  10949.     property Left: Single dispid -2147417853;
  10950.     property Top: Single dispid -2147417852;
  10951.     property Height: Single dispid -2147417851;
  10952.     property Width: Single dispid -2147417850;
  10953.     property Name: WideString dispid -2147418112;
  10954.     property Automation: IDispatch readonly dispid -2147417849;
  10955.     procedure Select; dispid -2147417568;
  10956.     procedure Copy; dispid -2147417560;
  10957.     procedure Cut; dispid -2147417559;
  10958.     procedure Delete; dispid -2147417520;
  10959.     procedure Activate; dispid -2147417519;
  10960.     property AltHTML: WideString dispid -2147415101;
  10961.   end;
  10962.  
  10963. // *********************************************************************//
  10964. // Interface: Fields
  10965. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10966. // GUID:      {00020930-0000-0000-C000-000000000046}
  10967. // *********************************************************************//
  10968.   Fields = interface(IDispatch)
  10969.     ['{00020930-0000-0000-C000-000000000046}']
  10970.     function Get_Application_: Application_; safecall;
  10971.     function Get_Creator: Integer; safecall;
  10972.     function Get_Parent: IDispatch; safecall;
  10973.     function Get_Count: Integer; safecall;
  10974.     function Get_Locked: Integer; safecall;
  10975.     procedure Set_Locked(prop: Integer); safecall;
  10976.     function Get__NewEnum: IUnknown; safecall;
  10977.     function Item(Index: Integer): Field; safecall;
  10978.     procedure ToggleShowCodes; safecall;
  10979.     function Update: Integer; safecall;
  10980.     procedure Unlink; safecall;
  10981.     procedure UpdateSource; safecall;
  10982.     function Add(const Range: Range; var Type_: OleVariant; var Text: OleVariant; 
  10983.                  var PreserveFormatting: OleVariant): Field; safecall;
  10984.     property Application_: Application_ read Get_Application_;
  10985.     property Creator: Integer read Get_Creator;
  10986.     property Parent: IDispatch read Get_Parent;
  10987.     property Count: Integer read Get_Count;
  10988.     property Locked: Integer read Get_Locked write Set_Locked;
  10989.     property _NewEnum: IUnknown read Get__NewEnum;
  10990.   end;
  10991.  
  10992. // *********************************************************************//
  10993. // DispIntf:  FieldsDisp
  10994. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  10995. // GUID:      {00020930-0000-0000-C000-000000000046}
  10996. // *********************************************************************//
  10997.   FieldsDisp = dispinterface
  10998.     ['{00020930-0000-0000-C000-000000000046}']
  10999.     property Application_: Application_ readonly dispid 1000;
  11000.     property Creator: Integer readonly dispid 1001;
  11001.     property Parent: IDispatch readonly dispid 1002;
  11002.     property Count: Integer readonly dispid 1;
  11003.     property Locked: Integer dispid 2;
  11004.     property _NewEnum: IUnknown readonly dispid -4;
  11005.     function Item(Index: Integer): Field; dispid 0;
  11006.     procedure ToggleShowCodes; dispid 100;
  11007.     function Update: Integer; dispid 101;
  11008.     procedure Unlink; dispid 102;
  11009.     procedure UpdateSource; dispid 104;
  11010.     function Add(const Range: Range; var Type_: OleVariant; var Text: OleVariant; 
  11011.                  var PreserveFormatting: OleVariant): Field; dispid 105;
  11012.   end;
  11013.  
  11014. // *********************************************************************//
  11015. // Interface: Field
  11016. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11017. // GUID:      {0002092F-0000-0000-C000-000000000046}
  11018. // *********************************************************************//
  11019.   Field = interface(IDispatch)
  11020.     ['{0002092F-0000-0000-C000-000000000046}']
  11021.     function Get_Application_: Application_; safecall;
  11022.     function Get_Creator: Integer; safecall;
  11023.     function Get_Parent: IDispatch; safecall;
  11024.     function Get_Code: Range; safecall;
  11025.     procedure Set_Code(const prop: Range); safecall;
  11026.     function Get_Type_: WdFieldType; safecall;
  11027.     function Get_Locked: WordBool; safecall;
  11028.     procedure Set_Locked(prop: WordBool); safecall;
  11029.     function Get_Kind: WdFieldKind; safecall;
  11030.     function Get_Result_: Range; safecall;
  11031.     procedure Set_Result_(const prop: Range); safecall;
  11032.     function Get_Data: WideString; safecall;
  11033.     procedure Set_Data(const prop: WideString); safecall;
  11034.     function Get_Next: Field; safecall;
  11035.     function Get_Previous: Field; safecall;
  11036.     function Get_Index: Integer; safecall;
  11037.     function Get_ShowCodes: WordBool; safecall;
  11038.     procedure Set_ShowCodes(prop: WordBool); safecall;
  11039.     function Get_LinkFormat: LinkFormat; safecall;
  11040.     function Get_OLEFormat: OLEFormat; safecall;
  11041.     function Get_InlineShape: InlineShape; safecall;
  11042.     procedure Select; safecall;
  11043.     function Update: WordBool; safecall;
  11044.     procedure Unlink; safecall;
  11045.     procedure UpdateSource; safecall;
  11046.     procedure DoClick; safecall;
  11047.     procedure Copy; safecall;
  11048.     procedure Cut; safecall;
  11049.     procedure Delete; safecall;
  11050.     property Application_: Application_ read Get_Application_;
  11051.     property Creator: Integer read Get_Creator;
  11052.     property Parent: IDispatch read Get_Parent;
  11053.     property Code: Range read Get_Code write Set_Code;
  11054.     property Type_: WdFieldType read Get_Type_;
  11055.     property Locked: WordBool read Get_Locked write Set_Locked;
  11056.     property Kind: WdFieldKind read Get_Kind;
  11057.     property Result_: Range read Get_Result_ write Set_Result_;
  11058.     property Data: WideString read Get_Data write Set_Data;
  11059.     property Next: Field read Get_Next;
  11060.     property Previous: Field read Get_Previous;
  11061.     property Index: Integer read Get_Index;
  11062.     property ShowCodes: WordBool read Get_ShowCodes write Set_ShowCodes;
  11063.     property LinkFormat: LinkFormat read Get_LinkFormat;
  11064.     property OLEFormat: OLEFormat read Get_OLEFormat;
  11065.     property InlineShape: InlineShape read Get_InlineShape;
  11066.   end;
  11067.  
  11068. // *********************************************************************//
  11069. // DispIntf:  FieldDisp
  11070. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11071. // GUID:      {0002092F-0000-0000-C000-000000000046}
  11072. // *********************************************************************//
  11073.   FieldDisp = dispinterface
  11074.     ['{0002092F-0000-0000-C000-000000000046}']
  11075.     property Application_: Application_ readonly dispid 1000;
  11076.     property Creator: Integer readonly dispid 1001;
  11077.     property Parent: IDispatch readonly dispid 1002;
  11078.     property Code: Range dispid 0;
  11079.     property Type_: WdFieldType readonly dispid 1;
  11080.     property Locked: WordBool dispid 2;
  11081.     property Kind: WdFieldKind readonly dispid 3;
  11082.     property Result_: Range dispid 4;
  11083.     property Data: WideString dispid 5;
  11084.     property Next: Field readonly dispid 6;
  11085.     property Previous: Field readonly dispid 7;
  11086.     property Index: Integer readonly dispid 8;
  11087.     property ShowCodes: WordBool dispid 9;
  11088.     property LinkFormat: LinkFormat readonly dispid 10;
  11089.     property OLEFormat: OLEFormat readonly dispid 11;
  11090.     property InlineShape: InlineShape readonly dispid 12;
  11091.     procedure Select; dispid 65535;
  11092.     function Update: WordBool; dispid 101;
  11093.     procedure Unlink; dispid 102;
  11094.     procedure UpdateSource; dispid 103;
  11095.     procedure DoClick; dispid 104;
  11096.     procedure Copy; dispid 105;
  11097.     procedure Cut; dispid 106;
  11098.     procedure Delete; dispid 107;
  11099.   end;
  11100.  
  11101. // *********************************************************************//
  11102. // Interface: Browser
  11103. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11104. // GUID:      {0002092E-0000-0000-C000-000000000046}
  11105. // *********************************************************************//
  11106.   Browser = interface(IDispatch)
  11107.     ['{0002092E-0000-0000-C000-000000000046}']
  11108.     function Get_Application_: Application_; safecall;
  11109.     function Get_Creator: Integer; safecall;
  11110.     function Get_Parent: IDispatch; safecall;
  11111.     function Get_Target: WdBrowseTarget; safecall;
  11112.     procedure Set_Target(prop: WdBrowseTarget); safecall;
  11113.     procedure Next; safecall;
  11114.     procedure Previous; safecall;
  11115.     property Application_: Application_ read Get_Application_;
  11116.     property Creator: Integer read Get_Creator;
  11117.     property Parent: IDispatch read Get_Parent;
  11118.     property Target: WdBrowseTarget read Get_Target write Set_Target;
  11119.   end;
  11120.  
  11121. // *********************************************************************//
  11122. // DispIntf:  BrowserDisp
  11123. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11124. // GUID:      {0002092E-0000-0000-C000-000000000046}
  11125. // *********************************************************************//
  11126.   BrowserDisp = dispinterface
  11127.     ['{0002092E-0000-0000-C000-000000000046}']
  11128.     property Application_: Application_ readonly dispid 1000;
  11129.     property Creator: Integer readonly dispid 1001;
  11130.     property Parent: IDispatch readonly dispid 1002;
  11131.     property Target: WdBrowseTarget dispid 1;
  11132.     procedure Next; dispid 101;
  11133.     procedure Previous; dispid 102;
  11134.   end;
  11135.  
  11136. // *********************************************************************//
  11137. // Interface: Styles
  11138. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11139. // GUID:      {0002092D-0000-0000-C000-000000000046}
  11140. // *********************************************************************//
  11141.   Styles = interface(IDispatch)
  11142.     ['{0002092D-0000-0000-C000-000000000046}']
  11143.     function Get_Application_: Application_; safecall;
  11144.     function Get_Creator: Integer; safecall;
  11145.     function Get_Parent: IDispatch; safecall;
  11146.     function Get__NewEnum: IUnknown; safecall;
  11147.     function Get_Count: Integer; safecall;
  11148.     function Item(var Index: OleVariant): Style; safecall;
  11149.     function Add(const Name: WideString; var Type_: OleVariant): Style; safecall;
  11150.     property Application_: Application_ read Get_Application_;
  11151.     property Creator: Integer read Get_Creator;
  11152.     property Parent: IDispatch read Get_Parent;
  11153.     property _NewEnum: IUnknown read Get__NewEnum;
  11154.     property Count: Integer read Get_Count;
  11155.   end;
  11156.  
  11157. // *********************************************************************//
  11158. // DispIntf:  StylesDisp
  11159. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11160. // GUID:      {0002092D-0000-0000-C000-000000000046}
  11161. // *********************************************************************//
  11162.   StylesDisp = dispinterface
  11163.     ['{0002092D-0000-0000-C000-000000000046}']
  11164.     property Application_: Application_ readonly dispid 1000;
  11165.     property Creator: Integer readonly dispid 1001;
  11166.     property Parent: IDispatch readonly dispid 1002;
  11167.     property _NewEnum: IUnknown readonly dispid -4;
  11168.     property Count: Integer readonly dispid 1;
  11169.     function Item(var Index: OleVariant): Style; dispid 0;
  11170.     function Add(const Name: WideString; var Type_: OleVariant): Style; dispid 100;
  11171.   end;
  11172.  
  11173. // *********************************************************************//
  11174. // Interface: Style
  11175. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11176. // GUID:      {0002092C-0000-0000-C000-000000000046}
  11177. // *********************************************************************//
  11178.   Style = interface(IDispatch)
  11179.     ['{0002092C-0000-0000-C000-000000000046}']
  11180.     function Get_Application_: Application_; safecall;
  11181.     function Get_Creator: Integer; safecall;
  11182.     function Get_Parent: IDispatch; safecall;
  11183.     function Get_NameLocal: WideString; safecall;
  11184.     procedure Set_NameLocal(const prop: WideString); safecall;
  11185.     function Get_BaseStyle: OleVariant; safecall;
  11186.     procedure Set_BaseStyle(var prop: OleVariant); safecall;
  11187.     function Get_Description: WideString; safecall;
  11188.     function Get_Type_: WdStyleType; safecall;
  11189.     function Get_BuiltIn: WordBool; safecall;
  11190.     function Get_NextParagraphStyle: OleVariant; safecall;
  11191.     procedure Set_NextParagraphStyle(var prop: OleVariant); safecall;
  11192.     function Get_InUse: WordBool; safecall;
  11193.     function Get_Shading: Shading; safecall;
  11194.     function Get_Borders: Borders; safecall;
  11195.     procedure Set_Borders(const prop: Borders); safecall;
  11196.     function Get_ParagraphFormat: ParagraphFormat; safecall;
  11197.     procedure Set_ParagraphFormat(const prop: ParagraphFormat); safecall;
  11198.     function Get_Font: Font; safecall;
  11199.     procedure Set_Font(const prop: Font); safecall;
  11200.     function Get_Frame: Frame; safecall;
  11201.     function Get_LanguageID: WdLanguageID; safecall;
  11202.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  11203.     function Get_AutomaticallyUpdate: WordBool; safecall;
  11204.     procedure Set_AutomaticallyUpdate(prop: WordBool); safecall;
  11205.     function Get_ListTemplate: ListTemplate; safecall;
  11206.     function Get_ListLevelNumber: Integer; safecall;
  11207.     function Get_LanguageIDFarEast: WdLanguageID; safecall;
  11208.     procedure Set_LanguageIDFarEast(prop: WdLanguageID); safecall;
  11209.     function Get_Hidden: WordBool; safecall;
  11210.     procedure Set_Hidden(prop: WordBool); safecall;
  11211.     procedure Delete; safecall;
  11212.     procedure LinkToListTemplate(const ListTemplate: ListTemplate; var ListLevelNumber: OleVariant); safecall;
  11213.     function Get_NoProofing: Integer; safecall;
  11214.     procedure Set_NoProofing(prop: Integer); safecall;
  11215.     property Application_: Application_ read Get_Application_;
  11216.     property Creator: Integer read Get_Creator;
  11217.     property Parent: IDispatch read Get_Parent;
  11218.     property NameLocal: WideString read Get_NameLocal write Set_NameLocal;
  11219.     property Description: WideString read Get_Description;
  11220.     property Type_: WdStyleType read Get_Type_;
  11221.     property BuiltIn: WordBool read Get_BuiltIn;
  11222.     property InUse: WordBool read Get_InUse;
  11223.     property Shading: Shading read Get_Shading;
  11224.     property Borders: Borders read Get_Borders write Set_Borders;
  11225.     property ParagraphFormat: ParagraphFormat read Get_ParagraphFormat write Set_ParagraphFormat;
  11226.     property Font: Font read Get_Font write Set_Font;
  11227.     property Frame: Frame read Get_Frame;
  11228.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  11229.     property AutomaticallyUpdate: WordBool read Get_AutomaticallyUpdate write Set_AutomaticallyUpdate;
  11230.     property ListTemplate: ListTemplate read Get_ListTemplate;
  11231.     property ListLevelNumber: Integer read Get_ListLevelNumber;
  11232.     property LanguageIDFarEast: WdLanguageID read Get_LanguageIDFarEast write Set_LanguageIDFarEast;
  11233.     property Hidden: WordBool read Get_Hidden write Set_Hidden;
  11234.     property NoProofing: Integer read Get_NoProofing write Set_NoProofing;
  11235.   end;
  11236.  
  11237. // *********************************************************************//
  11238. // DispIntf:  StyleDisp
  11239. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11240. // GUID:      {0002092C-0000-0000-C000-000000000046}
  11241. // *********************************************************************//
  11242.   StyleDisp = dispinterface
  11243.     ['{0002092C-0000-0000-C000-000000000046}']
  11244.     property Application_: Application_ readonly dispid 1000;
  11245.     property Creator: Integer readonly dispid 1001;
  11246.     property Parent: IDispatch readonly dispid 1002;
  11247.     property NameLocal: WideString dispid 0;
  11248.     function BaseStyle: OleVariant; dispid 1;
  11249.     property Description: WideString readonly dispid 2;
  11250.     property Type_: WdStyleType readonly dispid 3;
  11251.     property BuiltIn: WordBool readonly dispid 4;
  11252.     function NextParagraphStyle: OleVariant; dispid 5;
  11253.     property InUse: WordBool readonly dispid 6;
  11254.     property Shading: Shading readonly dispid 7;
  11255.     property Borders: Borders dispid 8;
  11256.     property ParagraphFormat: ParagraphFormat dispid 9;
  11257.     property Font: Font dispid 10;
  11258.     property Frame: Frame readonly dispid 11;
  11259.     property LanguageID: WdLanguageID dispid 12;
  11260.     property AutomaticallyUpdate: WordBool dispid 13;
  11261.     property ListTemplate: ListTemplate readonly dispid 14;
  11262.     property ListLevelNumber: Integer readonly dispid 15;
  11263.     property LanguageIDFarEast: WdLanguageID dispid 16;
  11264.     property Hidden: WordBool dispid 17;
  11265.     procedure Delete; dispid 100;
  11266.     procedure LinkToListTemplate(const ListTemplate: ListTemplate; var ListLevelNumber: OleVariant); dispid 101;
  11267.     property NoProofing: Integer dispid 18;
  11268.   end;
  11269.  
  11270. // *********************************************************************//
  11271. // Interface: Frames
  11272. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11273. // GUID:      {0002092B-0000-0000-C000-000000000046}
  11274. // *********************************************************************//
  11275.   Frames = interface(IDispatch)
  11276.     ['{0002092B-0000-0000-C000-000000000046}']
  11277.     function Get_Application_: Application_; safecall;
  11278.     function Get_Creator: Integer; safecall;
  11279.     function Get_Parent: IDispatch; safecall;
  11280.     function Get__NewEnum: IUnknown; safecall;
  11281.     function Get_Count: Integer; safecall;
  11282.     function Item(Index: Integer): Frame; safecall;
  11283.     function Add(const Range: Range): Frame; safecall;
  11284.     procedure Delete; safecall;
  11285.     property Application_: Application_ read Get_Application_;
  11286.     property Creator: Integer read Get_Creator;
  11287.     property Parent: IDispatch read Get_Parent;
  11288.     property _NewEnum: IUnknown read Get__NewEnum;
  11289.     property Count: Integer read Get_Count;
  11290.   end;
  11291.  
  11292. // *********************************************************************//
  11293. // DispIntf:  FramesDisp
  11294. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11295. // GUID:      {0002092B-0000-0000-C000-000000000046}
  11296. // *********************************************************************//
  11297.   FramesDisp = dispinterface
  11298.     ['{0002092B-0000-0000-C000-000000000046}']
  11299.     property Application_: Application_ readonly dispid 1000;
  11300.     property Creator: Integer readonly dispid 1001;
  11301.     property Parent: IDispatch readonly dispid 1002;
  11302.     property _NewEnum: IUnknown readonly dispid -4;
  11303.     property Count: Integer readonly dispid 1;
  11304.     function Item(Index: Integer): Frame; dispid 0;
  11305.     function Add(const Range: Range): Frame; dispid 100;
  11306.     procedure Delete; dispid 101;
  11307.   end;
  11308.  
  11309. // *********************************************************************//
  11310. // Interface: Frame
  11311. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11312. // GUID:      {0002092A-0000-0000-C000-000000000046}
  11313. // *********************************************************************//
  11314.   Frame = interface(IDispatch)
  11315.     ['{0002092A-0000-0000-C000-000000000046}']
  11316.     function Get_Application_: Application_; safecall;
  11317.     function Get_Creator: Integer; safecall;
  11318.     function Get_Parent: IDispatch; safecall;
  11319.     function Get_HeightRule: WdFrameSizeRule; safecall;
  11320.     procedure Set_HeightRule(prop: WdFrameSizeRule); safecall;
  11321.     function Get_WidthRule: WdFrameSizeRule; safecall;
  11322.     procedure Set_WidthRule(prop: WdFrameSizeRule); safecall;
  11323.     function Get_HorizontalDistanceFromText: Single; safecall;
  11324.     procedure Set_HorizontalDistanceFromText(prop: Single); safecall;
  11325.     function Get_Height: Single; safecall;
  11326.     procedure Set_Height(prop: Single); safecall;
  11327.     function Get_HorizontalPosition: Single; safecall;
  11328.     procedure Set_HorizontalPosition(prop: Single); safecall;
  11329.     function Get_LockAnchor: WordBool; safecall;
  11330.     procedure Set_LockAnchor(prop: WordBool); safecall;
  11331.     function Get_RelativeHorizontalPosition: WdRelativeHorizontalPosition; safecall;
  11332.     procedure Set_RelativeHorizontalPosition(prop: WdRelativeHorizontalPosition); safecall;
  11333.     function Get_RelativeVerticalPosition: WdRelativeVerticalPosition; safecall;
  11334.     procedure Set_RelativeVerticalPosition(prop: WdRelativeVerticalPosition); safecall;
  11335.     function Get_VerticalDistanceFromText: Single; safecall;
  11336.     procedure Set_VerticalDistanceFromText(prop: Single); safecall;
  11337.     function Get_VerticalPosition: Single; safecall;
  11338.     procedure Set_VerticalPosition(prop: Single); safecall;
  11339.     function Get_Width: Single; safecall;
  11340.     procedure Set_Width(prop: Single); safecall;
  11341.     function Get_TextWrap: WordBool; safecall;
  11342.     procedure Set_TextWrap(prop: WordBool); safecall;
  11343.     function Get_Shading: Shading; safecall;
  11344.     function Get_Borders: Borders; safecall;
  11345.     procedure Set_Borders(const prop: Borders); safecall;
  11346.     function Get_Range: Range; safecall;
  11347.     procedure Delete; safecall;
  11348.     procedure Select; safecall;
  11349.     procedure Copy; safecall;
  11350.     procedure Cut; safecall;
  11351.     property Application_: Application_ read Get_Application_;
  11352.     property Creator: Integer read Get_Creator;
  11353.     property Parent: IDispatch read Get_Parent;
  11354.     property HeightRule: WdFrameSizeRule read Get_HeightRule write Set_HeightRule;
  11355.     property WidthRule: WdFrameSizeRule read Get_WidthRule write Set_WidthRule;
  11356.     property HorizontalDistanceFromText: Single read Get_HorizontalDistanceFromText write Set_HorizontalDistanceFromText;
  11357.     property Height: Single read Get_Height write Set_Height;
  11358.     property HorizontalPosition: Single read Get_HorizontalPosition write Set_HorizontalPosition;
  11359.     property LockAnchor: WordBool read Get_LockAnchor write Set_LockAnchor;
  11360.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition read Get_RelativeHorizontalPosition write Set_RelativeHorizontalPosition;
  11361.     property RelativeVerticalPosition: WdRelativeVerticalPosition read Get_RelativeVerticalPosition write Set_RelativeVerticalPosition;
  11362.     property VerticalDistanceFromText: Single read Get_VerticalDistanceFromText write Set_VerticalDistanceFromText;
  11363.     property VerticalPosition: Single read Get_VerticalPosition write Set_VerticalPosition;
  11364.     property Width: Single read Get_Width write Set_Width;
  11365.     property TextWrap: WordBool read Get_TextWrap write Set_TextWrap;
  11366.     property Shading: Shading read Get_Shading;
  11367.     property Borders: Borders read Get_Borders write Set_Borders;
  11368.     property Range: Range read Get_Range;
  11369.   end;
  11370.  
  11371. // *********************************************************************//
  11372. // DispIntf:  FrameDisp
  11373. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11374. // GUID:      {0002092A-0000-0000-C000-000000000046}
  11375. // *********************************************************************//
  11376.   FrameDisp = dispinterface
  11377.     ['{0002092A-0000-0000-C000-000000000046}']
  11378.     property Application_: Application_ readonly dispid 1000;
  11379.     property Creator: Integer readonly dispid 1001;
  11380.     property Parent: IDispatch readonly dispid 1002;
  11381.     property HeightRule: WdFrameSizeRule dispid 1;
  11382.     property WidthRule: WdFrameSizeRule dispid 2;
  11383.     property HorizontalDistanceFromText: Single dispid 3;
  11384.     property Height: Single dispid 4;
  11385.     property HorizontalPosition: Single dispid 5;
  11386.     property LockAnchor: WordBool dispid 6;
  11387.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition dispid 7;
  11388.     property RelativeVerticalPosition: WdRelativeVerticalPosition dispid 8;
  11389.     property VerticalDistanceFromText: Single dispid 9;
  11390.     property VerticalPosition: Single dispid 10;
  11391.     property Width: Single dispid 11;
  11392.     property TextWrap: WordBool dispid 12;
  11393.     property Shading: Shading readonly dispid 13;
  11394.     property Borders: Borders dispid 1100;
  11395.     property Range: Range readonly dispid 15;
  11396.     procedure Delete; dispid 100;
  11397.     procedure Select; dispid 65535;
  11398.     procedure Copy; dispid 101;
  11399.     procedure Cut; dispid 102;
  11400.   end;
  11401.  
  11402. // *********************************************************************//
  11403. // Interface: FormFields
  11404. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11405. // GUID:      {00020929-0000-0000-C000-000000000046}
  11406. // *********************************************************************//
  11407.   FormFields = interface(IDispatch)
  11408.     ['{00020929-0000-0000-C000-000000000046}']
  11409.     function Get_Application_: Application_; safecall;
  11410.     function Get_Creator: Integer; safecall;
  11411.     function Get_Parent: IDispatch; safecall;
  11412.     function Get_Count: Integer; safecall;
  11413.     function Get_Shaded: WordBool; safecall;
  11414.     procedure Set_Shaded(prop: WordBool); safecall;
  11415.     function Get__NewEnum: IUnknown; safecall;
  11416.     function Item(var Index: OleVariant): FormField; safecall;
  11417.     function Add(const Range: Range; Type_: WdFieldType): FormField; safecall;
  11418.     property Application_: Application_ read Get_Application_;
  11419.     property Creator: Integer read Get_Creator;
  11420.     property Parent: IDispatch read Get_Parent;
  11421.     property Count: Integer read Get_Count;
  11422.     property Shaded: WordBool read Get_Shaded write Set_Shaded;
  11423.     property _NewEnum: IUnknown read Get__NewEnum;
  11424.   end;
  11425.  
  11426. // *********************************************************************//
  11427. // DispIntf:  FormFieldsDisp
  11428. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11429. // GUID:      {00020929-0000-0000-C000-000000000046}
  11430. // *********************************************************************//
  11431.   FormFieldsDisp = dispinterface
  11432.     ['{00020929-0000-0000-C000-000000000046}']
  11433.     property Application_: Application_ readonly dispid 1000;
  11434.     property Creator: Integer readonly dispid 1001;
  11435.     property Parent: IDispatch readonly dispid 1002;
  11436.     property Count: Integer readonly dispid 1;
  11437.     property Shaded: WordBool dispid 2;
  11438.     property _NewEnum: IUnknown readonly dispid -4;
  11439.     function Item(var Index: OleVariant): FormField; dispid 0;
  11440.     function Add(const Range: Range; Type_: WdFieldType): FormField; dispid 101;
  11441.   end;
  11442.  
  11443. // *********************************************************************//
  11444. // Interface: FormField
  11445. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11446. // GUID:      {00020928-0000-0000-C000-000000000046}
  11447. // *********************************************************************//
  11448.   FormField = interface(IDispatch)
  11449.     ['{00020928-0000-0000-C000-000000000046}']
  11450.     function Get_Application_: Application_; safecall;
  11451.     function Get_Creator: Integer; safecall;
  11452.     function Get_Parent: IDispatch; safecall;
  11453.     function Get_Type_: WdFieldType; safecall;
  11454.     function Get_Name: WideString; safecall;
  11455.     procedure Set_Name(const prop: WideString); safecall;
  11456.     function Get_EntryMacro: WideString; safecall;
  11457.     procedure Set_EntryMacro(const prop: WideString); safecall;
  11458.     function Get_ExitMacro: WideString; safecall;
  11459.     procedure Set_ExitMacro(const prop: WideString); safecall;
  11460.     function Get_OwnHelp: WordBool; safecall;
  11461.     procedure Set_OwnHelp(prop: WordBool); safecall;
  11462.     function Get_OwnStatus: WordBool; safecall;
  11463.     procedure Set_OwnStatus(prop: WordBool); safecall;
  11464.     function Get_HelpText: WideString; safecall;
  11465.     procedure Set_HelpText(const prop: WideString); safecall;
  11466.     function Get_StatusText: WideString; safecall;
  11467.     procedure Set_StatusText(const prop: WideString); safecall;
  11468.     function Get_Enabled: WordBool; safecall;
  11469.     procedure Set_Enabled(prop: WordBool); safecall;
  11470.     function Get_Result_: WideString; safecall;
  11471.     procedure Set_Result_(const prop: WideString); safecall;
  11472.     function Get_TextInput: TextInput; safecall;
  11473.     function Get_CheckBox: CheckBox; safecall;
  11474.     function Get_DropDown: DropDown; safecall;
  11475.     function Get_Next: FormField; safecall;
  11476.     function Get_Previous: FormField; safecall;
  11477.     function Get_CalculateOnExit: WordBool; safecall;
  11478.     procedure Set_CalculateOnExit(prop: WordBool); safecall;
  11479.     function Get_Range: Range; safecall;
  11480.     procedure Select; safecall;
  11481.     procedure Copy; safecall;
  11482.     procedure Cut; safecall;
  11483.     procedure Delete; safecall;
  11484.     property Application_: Application_ read Get_Application_;
  11485.     property Creator: Integer read Get_Creator;
  11486.     property Parent: IDispatch read Get_Parent;
  11487.     property Type_: WdFieldType read Get_Type_;
  11488.     property Name: WideString read Get_Name write Set_Name;
  11489.     property EntryMacro: WideString read Get_EntryMacro write Set_EntryMacro;
  11490.     property ExitMacro: WideString read Get_ExitMacro write Set_ExitMacro;
  11491.     property OwnHelp: WordBool read Get_OwnHelp write Set_OwnHelp;
  11492.     property OwnStatus: WordBool read Get_OwnStatus write Set_OwnStatus;
  11493.     property HelpText: WideString read Get_HelpText write Set_HelpText;
  11494.     property StatusText: WideString read Get_StatusText write Set_StatusText;
  11495.     property Enabled: WordBool read Get_Enabled write Set_Enabled;
  11496.     property Result_: WideString read Get_Result_ write Set_Result_;
  11497.     property TextInput: TextInput read Get_TextInput;
  11498.     property CheckBox: CheckBox read Get_CheckBox;
  11499.     property DropDown: DropDown read Get_DropDown;
  11500.     property Next: FormField read Get_Next;
  11501.     property Previous: FormField read Get_Previous;
  11502.     property CalculateOnExit: WordBool read Get_CalculateOnExit write Set_CalculateOnExit;
  11503.     property Range: Range read Get_Range;
  11504.   end;
  11505.  
  11506. // *********************************************************************//
  11507. // DispIntf:  FormFieldDisp
  11508. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11509. // GUID:      {00020928-0000-0000-C000-000000000046}
  11510. // *********************************************************************//
  11511.   FormFieldDisp = dispinterface
  11512.     ['{00020928-0000-0000-C000-000000000046}']
  11513.     property Application_: Application_ readonly dispid 1000;
  11514.     property Creator: Integer readonly dispid 1001;
  11515.     property Parent: IDispatch readonly dispid 1002;
  11516.     property Type_: WdFieldType readonly dispid 0;
  11517.     property Name: WideString dispid 2;
  11518.     property EntryMacro: WideString dispid 3;
  11519.     property ExitMacro: WideString dispid 4;
  11520.     property OwnHelp: WordBool dispid 5;
  11521.     property OwnStatus: WordBool dispid 6;
  11522.     property HelpText: WideString dispid 7;
  11523.     property StatusText: WideString dispid 8;
  11524.     property Enabled: WordBool dispid 9;
  11525.     property Result_: WideString dispid 10;
  11526.     property TextInput: TextInput readonly dispid 11;
  11527.     property CheckBox: CheckBox readonly dispid 12;
  11528.     property DropDown: DropDown readonly dispid 13;
  11529.     property Next: FormField readonly dispid 14;
  11530.     property Previous: FormField readonly dispid 15;
  11531.     property CalculateOnExit: WordBool dispid 16;
  11532.     property Range: Range readonly dispid 17;
  11533.     procedure Select; dispid 65535;
  11534.     procedure Copy; dispid 101;
  11535.     procedure Cut; dispid 102;
  11536.     procedure Delete; dispid 103;
  11537.   end;
  11538.  
  11539. // *********************************************************************//
  11540. // Interface: TextInput
  11541. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11542. // GUID:      {00020927-0000-0000-C000-000000000046}
  11543. // *********************************************************************//
  11544.   TextInput = interface(IDispatch)
  11545.     ['{00020927-0000-0000-C000-000000000046}']
  11546.     function Get_Application_: Application_; safecall;
  11547.     function Get_Creator: Integer; safecall;
  11548.     function Get_Parent: IDispatch; safecall;
  11549.     function Get_Valid: WordBool; safecall;
  11550.     function Get_Default: WideString; safecall;
  11551.     procedure Set_Default(const prop: WideString); safecall;
  11552.     function Get_Type_: WdTextFormFieldType; safecall;
  11553.     function Get_Format: WideString; safecall;
  11554.     function Get_Width: Integer; safecall;
  11555.     procedure Set_Width(prop: Integer); safecall;
  11556.     procedure Clear; safecall;
  11557.     procedure EditType(Type_: WdTextFormFieldType; var Default: OleVariant; var Format: OleVariant; 
  11558.                        var Enabled: OleVariant); safecall;
  11559.     property Application_: Application_ read Get_Application_;
  11560.     property Creator: Integer read Get_Creator;
  11561.     property Parent: IDispatch read Get_Parent;
  11562.     property Valid: WordBool read Get_Valid;
  11563.     property Default: WideString read Get_Default write Set_Default;
  11564.     property Type_: WdTextFormFieldType read Get_Type_;
  11565.     property Format: WideString read Get_Format;
  11566.     property Width: Integer read Get_Width write Set_Width;
  11567.   end;
  11568.  
  11569. // *********************************************************************//
  11570. // DispIntf:  TextInputDisp
  11571. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11572. // GUID:      {00020927-0000-0000-C000-000000000046}
  11573. // *********************************************************************//
  11574.   TextInputDisp = dispinterface
  11575.     ['{00020927-0000-0000-C000-000000000046}']
  11576.     property Application_: Application_ readonly dispid 1000;
  11577.     property Creator: Integer readonly dispid 1001;
  11578.     property Parent: IDispatch readonly dispid 1002;
  11579.     property Valid: WordBool readonly dispid 0;
  11580.     property Default: WideString dispid 1;
  11581.     property Type_: WdTextFormFieldType readonly dispid 2;
  11582.     property Format: WideString readonly dispid 3;
  11583.     property Width: Integer dispid 4;
  11584.     procedure Clear; dispid 101;
  11585.     procedure EditType(Type_: WdTextFormFieldType; var Default: OleVariant; var Format: OleVariant; 
  11586.                        var Enabled: OleVariant); dispid 102;
  11587.   end;
  11588.  
  11589. // *********************************************************************//
  11590. // Interface: CheckBox
  11591. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11592. // GUID:      {00020926-0000-0000-C000-000000000046}
  11593. // *********************************************************************//
  11594.   CheckBox = interface(IDispatch)
  11595.     ['{00020926-0000-0000-C000-000000000046}']
  11596.     function Get_Application_: Application_; safecall;
  11597.     function Get_Creator: Integer; safecall;
  11598.     function Get_Parent: IDispatch; safecall;
  11599.     function Get_Valid: WordBool; safecall;
  11600.     function Get_AutoSize: WordBool; safecall;
  11601.     procedure Set_AutoSize(prop: WordBool); safecall;
  11602.     function Get_Size: Single; safecall;
  11603.     procedure Set_Size(prop: Single); safecall;
  11604.     function Get_Default: WordBool; safecall;
  11605.     procedure Set_Default(prop: WordBool); safecall;
  11606.     function Get_Value: WordBool; safecall;
  11607.     procedure Set_Value(prop: WordBool); safecall;
  11608.     property Application_: Application_ read Get_Application_;
  11609.     property Creator: Integer read Get_Creator;
  11610.     property Parent: IDispatch read Get_Parent;
  11611.     property Valid: WordBool read Get_Valid;
  11612.     property AutoSize: WordBool read Get_AutoSize write Set_AutoSize;
  11613.     property Size: Single read Get_Size write Set_Size;
  11614.     property Default: WordBool read Get_Default write Set_Default;
  11615.     property Value: WordBool read Get_Value write Set_Value;
  11616.   end;
  11617.  
  11618. // *********************************************************************//
  11619. // DispIntf:  CheckBoxDisp
  11620. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11621. // GUID:      {00020926-0000-0000-C000-000000000046}
  11622. // *********************************************************************//
  11623.   CheckBoxDisp = dispinterface
  11624.     ['{00020926-0000-0000-C000-000000000046}']
  11625.     property Application_: Application_ readonly dispid 1000;
  11626.     property Creator: Integer readonly dispid 1001;
  11627.     property Parent: IDispatch readonly dispid 1002;
  11628.     property Valid: WordBool readonly dispid 0;
  11629.     property AutoSize: WordBool dispid 1;
  11630.     property Size: Single dispid 2;
  11631.     property Default: WordBool dispid 3;
  11632.     property Value: WordBool dispid 4;
  11633.   end;
  11634.  
  11635. // *********************************************************************//
  11636. // Interface: DropDown
  11637. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11638. // GUID:      {00020925-0000-0000-C000-000000000046}
  11639. // *********************************************************************//
  11640.   DropDown = interface(IDispatch)
  11641.     ['{00020925-0000-0000-C000-000000000046}']
  11642.     function Get_Application_: Application_; safecall;
  11643.     function Get_Creator: Integer; safecall;
  11644.     function Get_Parent: IDispatch; safecall;
  11645.     function Get_Valid: WordBool; safecall;
  11646.     function Get_Default: Integer; safecall;
  11647.     procedure Set_Default(prop: Integer); safecall;
  11648.     function Get_Value: Integer; safecall;
  11649.     procedure Set_Value(prop: Integer); safecall;
  11650.     function Get_ListEntries: ListEntries; safecall;
  11651.     property Application_: Application_ read Get_Application_;
  11652.     property Creator: Integer read Get_Creator;
  11653.     property Parent: IDispatch read Get_Parent;
  11654.     property Valid: WordBool read Get_Valid;
  11655.     property Default: Integer read Get_Default write Set_Default;
  11656.     property Value: Integer read Get_Value write Set_Value;
  11657.     property ListEntries: ListEntries read Get_ListEntries;
  11658.   end;
  11659.  
  11660. // *********************************************************************//
  11661. // DispIntf:  DropDownDisp
  11662. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11663. // GUID:      {00020925-0000-0000-C000-000000000046}
  11664. // *********************************************************************//
  11665.   DropDownDisp = dispinterface
  11666.     ['{00020925-0000-0000-C000-000000000046}']
  11667.     property Application_: Application_ readonly dispid 1000;
  11668.     property Creator: Integer readonly dispid 1001;
  11669.     property Parent: IDispatch readonly dispid 1002;
  11670.     property Valid: WordBool readonly dispid 0;
  11671.     property Default: Integer dispid 1;
  11672.     property Value: Integer dispid 2;
  11673.     property ListEntries: ListEntries readonly dispid 3;
  11674.   end;
  11675.  
  11676. // *********************************************************************//
  11677. // Interface: ListEntries
  11678. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11679. // GUID:      {00020924-0000-0000-C000-000000000046}
  11680. // *********************************************************************//
  11681.   ListEntries = interface(IDispatch)
  11682.     ['{00020924-0000-0000-C000-000000000046}']
  11683.     function Get_Application_: Application_; safecall;
  11684.     function Get_Creator: Integer; safecall;
  11685.     function Get_Parent: IDispatch; safecall;
  11686.     function Get__NewEnum: IUnknown; safecall;
  11687.     function Get_Count: Integer; safecall;
  11688.     function Item(var Index: OleVariant): ListEntry; safecall;
  11689.     function Add(const Name: WideString; var Index: OleVariant): ListEntry; safecall;
  11690.     procedure Clear; safecall;
  11691.     property Application_: Application_ read Get_Application_;
  11692.     property Creator: Integer read Get_Creator;
  11693.     property Parent: IDispatch read Get_Parent;
  11694.     property _NewEnum: IUnknown read Get__NewEnum;
  11695.     property Count: Integer read Get_Count;
  11696.   end;
  11697.  
  11698. // *********************************************************************//
  11699. // DispIntf:  ListEntriesDisp
  11700. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11701. // GUID:      {00020924-0000-0000-C000-000000000046}
  11702. // *********************************************************************//
  11703.   ListEntriesDisp = dispinterface
  11704.     ['{00020924-0000-0000-C000-000000000046}']
  11705.     property Application_: Application_ readonly dispid 1000;
  11706.     property Creator: Integer readonly dispid 1001;
  11707.     property Parent: IDispatch readonly dispid 1002;
  11708.     property _NewEnum: IUnknown readonly dispid -4;
  11709.     property Count: Integer readonly dispid 1;
  11710.     function Item(var Index: OleVariant): ListEntry; dispid 0;
  11711.     function Add(const Name: WideString; var Index: OleVariant): ListEntry; dispid 101;
  11712.     procedure Clear; dispid 102;
  11713.   end;
  11714.  
  11715. // *********************************************************************//
  11716. // Interface: ListEntry
  11717. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11718. // GUID:      {00020923-0000-0000-C000-000000000046}
  11719. // *********************************************************************//
  11720.   ListEntry = interface(IDispatch)
  11721.     ['{00020923-0000-0000-C000-000000000046}']
  11722.     function Get_Application_: Application_; safecall;
  11723.     function Get_Creator: Integer; safecall;
  11724.     function Get_Parent: IDispatch; safecall;
  11725.     function Get_Index: Integer; safecall;
  11726.     function Get_Name: WideString; safecall;
  11727.     procedure Set_Name(const prop: WideString); safecall;
  11728.     procedure Delete; safecall;
  11729.     property Application_: Application_ read Get_Application_;
  11730.     property Creator: Integer read Get_Creator;
  11731.     property Parent: IDispatch read Get_Parent;
  11732.     property Index: Integer read Get_Index;
  11733.     property Name: WideString read Get_Name write Set_Name;
  11734.   end;
  11735.  
  11736. // *********************************************************************//
  11737. // DispIntf:  ListEntryDisp
  11738. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11739. // GUID:      {00020923-0000-0000-C000-000000000046}
  11740. // *********************************************************************//
  11741.   ListEntryDisp = dispinterface
  11742.     ['{00020923-0000-0000-C000-000000000046}']
  11743.     property Application_: Application_ readonly dispid 1000;
  11744.     property Creator: Integer readonly dispid 1001;
  11745.     property Parent: IDispatch readonly dispid 1002;
  11746.     property Index: Integer readonly dispid 1;
  11747.     property Name: WideString dispid 2;
  11748.     procedure Delete; dispid 11;
  11749.   end;
  11750.  
  11751. // *********************************************************************//
  11752. // Interface: TablesOfFigures
  11753. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11754. // GUID:      {00020922-0000-0000-C000-000000000046}
  11755. // *********************************************************************//
  11756.   TablesOfFigures = interface(IDispatch)
  11757.     ['{00020922-0000-0000-C000-000000000046}']
  11758.     function Get_Application_: Application_; safecall;
  11759.     function Get_Creator: Integer; safecall;
  11760.     function Get_Parent: IDispatch; safecall;
  11761.     function Get__NewEnum: IUnknown; safecall;
  11762.     function Get_Count: Integer; safecall;
  11763.     function Get_Format: WdTofFormat; safecall;
  11764.     procedure Set_Format(prop: WdTofFormat); safecall;
  11765.     function Item(Index: Integer): TableOfFigures; safecall;
  11766.     function AddOld(const Range: Range; var Caption: OleVariant; var IncludeLabel: OleVariant; 
  11767.                     var UseHeadingStyles: OleVariant; var UpperHeadingLevel: OleVariant; 
  11768.                     var LowerHeadingLevel: OleVariant; var UseFields: OleVariant; 
  11769.                     var TableID: OleVariant; var RightAlignPageNumbers: OleVariant; 
  11770.                     var IncludePageNumbers: OleVariant; var AddedStyles: OleVariant): TableOfFigures; safecall;
  11771.     function MarkEntry(const Range: Range; var Entry: OleVariant; var EntryAutoText: OleVariant; 
  11772.                        var TableID: OleVariant; var Level: OleVariant): Field; safecall;
  11773.     function Add(const Range: Range; var Caption: OleVariant; var IncludeLabel: OleVariant; 
  11774.                  var UseHeadingStyles: OleVariant; var UpperHeadingLevel: OleVariant; 
  11775.                  var LowerHeadingLevel: OleVariant; var UseFields: OleVariant; 
  11776.                  var TableID: OleVariant; var RightAlignPageNumbers: OleVariant; 
  11777.                  var IncludePageNumbers: OleVariant; var AddedStyles: OleVariant; 
  11778.                  var UseHyperlinks: OleVariant; var HidePageNumbersInWeb: OleVariant): TableOfFigures; safecall;
  11779.     property Application_: Application_ read Get_Application_;
  11780.     property Creator: Integer read Get_Creator;
  11781.     property Parent: IDispatch read Get_Parent;
  11782.     property _NewEnum: IUnknown read Get__NewEnum;
  11783.     property Count: Integer read Get_Count;
  11784.     property Format: WdTofFormat read Get_Format write Set_Format;
  11785.   end;
  11786.  
  11787. // *********************************************************************//
  11788. // DispIntf:  TablesOfFiguresDisp
  11789. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11790. // GUID:      {00020922-0000-0000-C000-000000000046}
  11791. // *********************************************************************//
  11792.   TablesOfFiguresDisp = dispinterface
  11793.     ['{00020922-0000-0000-C000-000000000046}']
  11794.     property Application_: Application_ readonly dispid 1000;
  11795.     property Creator: Integer readonly dispid 1001;
  11796.     property Parent: IDispatch readonly dispid 1002;
  11797.     property _NewEnum: IUnknown readonly dispid -4;
  11798.     property Count: Integer readonly dispid 1;
  11799.     property Format: WdTofFormat dispid 2;
  11800.     function Item(Index: Integer): TableOfFigures; dispid 0;
  11801.     function AddOld(const Range: Range; var Caption: OleVariant; var IncludeLabel: OleVariant; 
  11802.                     var UseHeadingStyles: OleVariant; var UpperHeadingLevel: OleVariant; 
  11803.                     var LowerHeadingLevel: OleVariant; var UseFields: OleVariant; 
  11804.                     var TableID: OleVariant; var RightAlignPageNumbers: OleVariant; 
  11805.                     var IncludePageNumbers: OleVariant; var AddedStyles: OleVariant): TableOfFigures; dispid 100;
  11806.     function MarkEntry(const Range: Range; var Entry: OleVariant; var EntryAutoText: OleVariant; 
  11807.                        var TableID: OleVariant; var Level: OleVariant): Field; dispid 101;
  11808.     function Add(const Range: Range; var Caption: OleVariant; var IncludeLabel: OleVariant; 
  11809.                  var UseHeadingStyles: OleVariant; var UpperHeadingLevel: OleVariant; 
  11810.                  var LowerHeadingLevel: OleVariant; var UseFields: OleVariant; 
  11811.                  var TableID: OleVariant; var RightAlignPageNumbers: OleVariant; 
  11812.                  var IncludePageNumbers: OleVariant; var AddedStyles: OleVariant; 
  11813.                  var UseHyperlinks: OleVariant; var HidePageNumbersInWeb: OleVariant): TableOfFigures; dispid 444;
  11814.   end;
  11815.  
  11816. // *********************************************************************//
  11817. // Interface: TableOfFigures
  11818. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11819. // GUID:      {00020921-0000-0000-C000-000000000046}
  11820. // *********************************************************************//
  11821.   TableOfFigures = interface(IDispatch)
  11822.     ['{00020921-0000-0000-C000-000000000046}']
  11823.     function Get_Application_: Application_; safecall;
  11824.     function Get_Creator: Integer; safecall;
  11825.     function Get_Parent: IDispatch; safecall;
  11826.     function Get_Caption: WideString; safecall;
  11827.     procedure Set_Caption(const prop: WideString); safecall;
  11828.     function Get_IncludeLabel: WordBool; safecall;
  11829.     procedure Set_IncludeLabel(prop: WordBool); safecall;
  11830.     function Get_RightAlignPageNumbers: WordBool; safecall;
  11831.     procedure Set_RightAlignPageNumbers(prop: WordBool); safecall;
  11832.     function Get_UseHeadingStyles: WordBool; safecall;
  11833.     procedure Set_UseHeadingStyles(prop: WordBool); safecall;
  11834.     function Get_LowerHeadingLevel: Integer; safecall;
  11835.     procedure Set_LowerHeadingLevel(prop: Integer); safecall;
  11836.     function Get_UpperHeadingLevel: Integer; safecall;
  11837.     procedure Set_UpperHeadingLevel(prop: Integer); safecall;
  11838.     function Get_IncludePageNumbers: WordBool; safecall;
  11839.     procedure Set_IncludePageNumbers(prop: WordBool); safecall;
  11840.     function Get_Range: Range; safecall;
  11841.     function Get_UseFields: WordBool; safecall;
  11842.     procedure Set_UseFields(prop: WordBool); safecall;
  11843.     function Get_TableID: WideString; safecall;
  11844.     procedure Set_TableID(const prop: WideString); safecall;
  11845.     function Get_HeadingStyles: HeadingStyles; safecall;
  11846.     function Get_TabLeader: WdTabLeader; safecall;
  11847.     procedure Set_TabLeader(prop: WdTabLeader); safecall;
  11848.     procedure Delete; safecall;
  11849.     procedure UpdatePageNumbers; safecall;
  11850.     procedure Update; safecall;
  11851.     function Get_UseHyperlinks: WordBool; safecall;
  11852.     procedure Set_UseHyperlinks(prop: WordBool); safecall;
  11853.     function Get_HidePageNumbersInWeb: WordBool; safecall;
  11854.     procedure Set_HidePageNumbersInWeb(prop: WordBool); safecall;
  11855.     property Application_: Application_ read Get_Application_;
  11856.     property Creator: Integer read Get_Creator;
  11857.     property Parent: IDispatch read Get_Parent;
  11858.     property Caption: WideString read Get_Caption write Set_Caption;
  11859.     property IncludeLabel: WordBool read Get_IncludeLabel write Set_IncludeLabel;
  11860.     property RightAlignPageNumbers: WordBool read Get_RightAlignPageNumbers write Set_RightAlignPageNumbers;
  11861.     property UseHeadingStyles: WordBool read Get_UseHeadingStyles write Set_UseHeadingStyles;
  11862.     property LowerHeadingLevel: Integer read Get_LowerHeadingLevel write Set_LowerHeadingLevel;
  11863.     property UpperHeadingLevel: Integer read Get_UpperHeadingLevel write Set_UpperHeadingLevel;
  11864.     property IncludePageNumbers: WordBool read Get_IncludePageNumbers write Set_IncludePageNumbers;
  11865.     property Range: Range read Get_Range;
  11866.     property UseFields: WordBool read Get_UseFields write Set_UseFields;
  11867.     property TableID: WideString read Get_TableID write Set_TableID;
  11868.     property HeadingStyles: HeadingStyles read Get_HeadingStyles;
  11869.     property TabLeader: WdTabLeader read Get_TabLeader write Set_TabLeader;
  11870.     property UseHyperlinks: WordBool read Get_UseHyperlinks write Set_UseHyperlinks;
  11871.     property HidePageNumbersInWeb: WordBool read Get_HidePageNumbersInWeb write Set_HidePageNumbersInWeb;
  11872.   end;
  11873.  
  11874. // *********************************************************************//
  11875. // DispIntf:  TableOfFiguresDisp
  11876. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11877. // GUID:      {00020921-0000-0000-C000-000000000046}
  11878. // *********************************************************************//
  11879.   TableOfFiguresDisp = dispinterface
  11880.     ['{00020921-0000-0000-C000-000000000046}']
  11881.     property Application_: Application_ readonly dispid 1000;
  11882.     property Creator: Integer readonly dispid 1001;
  11883.     property Parent: IDispatch readonly dispid 1002;
  11884.     property Caption: WideString dispid 1;
  11885.     property IncludeLabel: WordBool dispid 2;
  11886.     property RightAlignPageNumbers: WordBool dispid 3;
  11887.     property UseHeadingStyles: WordBool dispid 4;
  11888.     property LowerHeadingLevel: Integer dispid 5;
  11889.     property UpperHeadingLevel: Integer dispid 6;
  11890.     property IncludePageNumbers: WordBool dispid 7;
  11891.     property Range: Range readonly dispid 8;
  11892.     property UseFields: WordBool dispid 9;
  11893.     property TableID: WideString dispid 10;
  11894.     property HeadingStyles: HeadingStyles readonly dispid 11;
  11895.     property TabLeader: WdTabLeader dispid 12;
  11896.     procedure Delete; dispid 100;
  11897.     procedure UpdatePageNumbers; dispid 101;
  11898.     procedure Update; dispid 102;
  11899.     property UseHyperlinks: WordBool dispid 13;
  11900.     property HidePageNumbersInWeb: WordBool dispid 14;
  11901.   end;
  11902.  
  11903. // *********************************************************************//
  11904. // Interface: MailMerge
  11905. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11906. // GUID:      {00020920-0000-0000-C000-000000000046}
  11907. // *********************************************************************//
  11908.   MailMerge = interface(IDispatch)
  11909.     ['{00020920-0000-0000-C000-000000000046}']
  11910.     function Get_Application_: Application_; safecall;
  11911.     function Get_Creator: Integer; safecall;
  11912.     function Get_Parent: IDispatch; safecall;
  11913.     function Get_MainDocumentType: WdMailMergeMainDocType; safecall;
  11914.     procedure Set_MainDocumentType(prop: WdMailMergeMainDocType); safecall;
  11915.     function Get_State: WdMailMergeState; safecall;
  11916.     function Get_Destination: WdMailMergeDestination; safecall;
  11917.     procedure Set_Destination(prop: WdMailMergeDestination); safecall;
  11918.     function Get_DataSource: MailMergeDataSource; safecall;
  11919.     function Get_Fields: MailMergeFields; safecall;
  11920.     function Get_ViewMailMergeFieldCodes: Integer; safecall;
  11921.     procedure Set_ViewMailMergeFieldCodes(prop: Integer); safecall;
  11922.     function Get_SuppressBlankLines: WordBool; safecall;
  11923.     procedure Set_SuppressBlankLines(prop: WordBool); safecall;
  11924.     function Get_MailAsAttachment: WordBool; safecall;
  11925.     procedure Set_MailAsAttachment(prop: WordBool); safecall;
  11926.     function Get_MailAddressFieldName: WideString; safecall;
  11927.     procedure Set_MailAddressFieldName(const prop: WideString); safecall;
  11928.     function Get_MailSubject: WideString; safecall;
  11929.     procedure Set_MailSubject(const prop: WideString); safecall;
  11930.     procedure CreateDataSource(var Name: OleVariant; var PasswordDocument: OleVariant; 
  11931.                                var WritePasswordDocument: OleVariant; var HeaderRecord: OleVariant; 
  11932.                                var MSQuery: OleVariant; var SQLStatement: OleVariant; 
  11933.                                var SQLStatement1: OleVariant; var Connection: OleVariant; 
  11934.                                var LinkToSource: OleVariant); safecall;
  11935.     procedure CreateHeaderSource(const Name: WideString; var PasswordDocument: OleVariant; 
  11936.                                  var WritePasswordDocument: OleVariant; var HeaderRecord: OleVariant); safecall;
  11937.     procedure OpenDataSource(const Name: WideString; var Format: OleVariant; 
  11938.                              var ConfirmConversions: OleVariant; var ReadOnly: OleVariant; 
  11939.                              var LinkToSource: OleVariant; var AddToRecentFiles: OleVariant; 
  11940.                              var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  11941.                              var Revert: OleVariant; var WritePasswordDocument: OleVariant; 
  11942.                              var WritePasswordTemplate: OleVariant; var Connection: OleVariant; 
  11943.                              var SQLStatement: OleVariant; var SQLStatement1: OleVariant); safecall;
  11944.     procedure OpenHeaderSource(const Name: WideString; var Format: OleVariant; 
  11945.                                var ConfirmConversions: OleVariant; var ReadOnly: OleVariant; 
  11946.                                var AddToRecentFiles: OleVariant; var PasswordDocument: OleVariant; 
  11947.                                var PasswordTemplate: OleVariant; var Revert: OleVariant; 
  11948.                                var WritePasswordDocument: OleVariant; 
  11949.                                var WritePasswordTemplate: OleVariant); safecall;
  11950.     procedure Execute(var Pause: OleVariant); safecall;
  11951.     procedure Check; safecall;
  11952.     procedure EditDataSource; safecall;
  11953.     procedure EditHeaderSource; safecall;
  11954.     procedure EditMainDocument; safecall;
  11955.     procedure UseAddressBook(const Type_: WideString); safecall;
  11956.     property Application_: Application_ read Get_Application_;
  11957.     property Creator: Integer read Get_Creator;
  11958.     property Parent: IDispatch read Get_Parent;
  11959.     property MainDocumentType: WdMailMergeMainDocType read Get_MainDocumentType write Set_MainDocumentType;
  11960.     property State: WdMailMergeState read Get_State;
  11961.     property Destination: WdMailMergeDestination read Get_Destination write Set_Destination;
  11962.     property DataSource: MailMergeDataSource read Get_DataSource;
  11963.     property Fields: MailMergeFields read Get_Fields;
  11964.     property ViewMailMergeFieldCodes: Integer read Get_ViewMailMergeFieldCodes write Set_ViewMailMergeFieldCodes;
  11965.     property SuppressBlankLines: WordBool read Get_SuppressBlankLines write Set_SuppressBlankLines;
  11966.     property MailAsAttachment: WordBool read Get_MailAsAttachment write Set_MailAsAttachment;
  11967.     property MailAddressFieldName: WideString read Get_MailAddressFieldName write Set_MailAddressFieldName;
  11968.     property MailSubject: WideString read Get_MailSubject write Set_MailSubject;
  11969.   end;
  11970.  
  11971. // *********************************************************************//
  11972. // DispIntf:  MailMergeDisp
  11973. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  11974. // GUID:      {00020920-0000-0000-C000-000000000046}
  11975. // *********************************************************************//
  11976.   MailMergeDisp = dispinterface
  11977.     ['{00020920-0000-0000-C000-000000000046}']
  11978.     property Application_: Application_ readonly dispid 1000;
  11979.     property Creator: Integer readonly dispid 1001;
  11980.     property Parent: IDispatch readonly dispid 1002;
  11981.     property MainDocumentType: WdMailMergeMainDocType dispid 1;
  11982.     property State: WdMailMergeState readonly dispid 2;
  11983.     property Destination: WdMailMergeDestination dispid 3;
  11984.     property DataSource: MailMergeDataSource readonly dispid 4;
  11985.     property Fields: MailMergeFields readonly dispid 5;
  11986.     property ViewMailMergeFieldCodes: Integer dispid 6;
  11987.     property SuppressBlankLines: WordBool dispid 7;
  11988.     property MailAsAttachment: WordBool dispid 8;
  11989.     property MailAddressFieldName: WideString dispid 9;
  11990.     property MailSubject: WideString dispid 10;
  11991.     procedure CreateDataSource(var Name: OleVariant; var PasswordDocument: OleVariant; 
  11992.                                var WritePasswordDocument: OleVariant; var HeaderRecord: OleVariant; 
  11993.                                var MSQuery: OleVariant; var SQLStatement: OleVariant; 
  11994.                                var SQLStatement1: OleVariant; var Connection: OleVariant; 
  11995.                                var LinkToSource: OleVariant); dispid 101;
  11996.     procedure CreateHeaderSource(const Name: WideString; var PasswordDocument: OleVariant; 
  11997.                                  var WritePasswordDocument: OleVariant; var HeaderRecord: OleVariant); dispid 102;
  11998.     procedure OpenDataSource(const Name: WideString; var Format: OleVariant; 
  11999.                              var ConfirmConversions: OleVariant; var ReadOnly: OleVariant; 
  12000.                              var LinkToSource: OleVariant; var AddToRecentFiles: OleVariant; 
  12001.                              var PasswordDocument: OleVariant; var PasswordTemplate: OleVariant; 
  12002.                              var Revert: OleVariant; var WritePasswordDocument: OleVariant; 
  12003.                              var WritePasswordTemplate: OleVariant; var Connection: OleVariant; 
  12004.                              var SQLStatement: OleVariant; var SQLStatement1: OleVariant); dispid 103;
  12005.     procedure OpenHeaderSource(const Name: WideString; var Format: OleVariant; 
  12006.                                var ConfirmConversions: OleVariant; var ReadOnly: OleVariant; 
  12007.                                var AddToRecentFiles: OleVariant; var PasswordDocument: OleVariant; 
  12008.                                var PasswordTemplate: OleVariant; var Revert: OleVariant; 
  12009.                                var WritePasswordDocument: OleVariant; 
  12010.                                var WritePasswordTemplate: OleVariant); dispid 104;
  12011.     procedure Execute(var Pause: OleVariant); dispid 105;
  12012.     procedure Check; dispid 106;
  12013.     procedure EditDataSource; dispid 107;
  12014.     procedure EditHeaderSource; dispid 108;
  12015.     procedure EditMainDocument; dispid 109;
  12016.     procedure UseAddressBook(const Type_: WideString); dispid 111;
  12017.   end;
  12018.  
  12019. // *********************************************************************//
  12020. // Interface: MailMergeFields
  12021. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12022. // GUID:      {0002091F-0000-0000-C000-000000000046}
  12023. // *********************************************************************//
  12024.   MailMergeFields = interface(IDispatch)
  12025.     ['{0002091F-0000-0000-C000-000000000046}']
  12026.     function Get_Application_: Application_; safecall;
  12027.     function Get_Creator: Integer; safecall;
  12028.     function Get_Parent: IDispatch; safecall;
  12029.     function Get__NewEnum: IUnknown; safecall;
  12030.     function Get_Count: Integer; safecall;
  12031.     function Item(Index: Integer): MailMergeField; safecall;
  12032.     function Add(const Range: Range; const Name: WideString): MailMergeField; safecall;
  12033.     function AddAsk(const Range: Range; const Name: WideString; var Prompt: OleVariant; 
  12034.                     var DefaultAskText: OleVariant; var AskOnce: OleVariant): MailMergeField; safecall;
  12035.     function AddFillIn(const Range: Range; var Prompt: OleVariant; 
  12036.                        var DefaultFillInText: OleVariant; var AskOnce: OleVariant): MailMergeField; safecall;
  12037.     function AddIf(const Range: Range; const MergeField: WideString; 
  12038.                    Comparison: WdMailMergeComparison; var CompareTo: OleVariant; 
  12039.                    var TrueAutoText: OleVariant; var TrueText: OleVariant; 
  12040.                    var FalseAutoText: OleVariant; var FalseText: OleVariant): MailMergeField; safecall;
  12041.     function AddMergeRec(const Range: Range): MailMergeField; safecall;
  12042.     function AddMergeSeq(const Range: Range): MailMergeField; safecall;
  12043.     function AddNext(const Range: Range): MailMergeField; safecall;
  12044.     function AddNextIf(const Range: Range; const MergeField: WideString; 
  12045.                        Comparison: WdMailMergeComparison; var CompareTo: OleVariant): MailMergeField; safecall;
  12046.     function AddSet(const Range: Range; const Name: WideString; var ValueText: OleVariant; 
  12047.                     var ValueAutoText: OleVariant): MailMergeField; safecall;
  12048.     function AddSkipIf(const Range: Range; const MergeField: WideString; 
  12049.                        Comparison: WdMailMergeComparison; var CompareTo: OleVariant): MailMergeField; safecall;
  12050.     property Application_: Application_ read Get_Application_;
  12051.     property Creator: Integer read Get_Creator;
  12052.     property Parent: IDispatch read Get_Parent;
  12053.     property _NewEnum: IUnknown read Get__NewEnum;
  12054.     property Count: Integer read Get_Count;
  12055.   end;
  12056.  
  12057. // *********************************************************************//
  12058. // DispIntf:  MailMergeFieldsDisp
  12059. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12060. // GUID:      {0002091F-0000-0000-C000-000000000046}
  12061. // *********************************************************************//
  12062.   MailMergeFieldsDisp = dispinterface
  12063.     ['{0002091F-0000-0000-C000-000000000046}']
  12064.     property Application_: Application_ readonly dispid 1000;
  12065.     property Creator: Integer readonly dispid 1001;
  12066.     property Parent: IDispatch readonly dispid 1002;
  12067.     property _NewEnum: IUnknown readonly dispid -4;
  12068.     property Count: Integer readonly dispid 1;
  12069.     function Item(Index: Integer): MailMergeField; dispid 0;
  12070.     function Add(const Range: Range; const Name: WideString): MailMergeField; dispid 101;
  12071.     function AddAsk(const Range: Range; const Name: WideString; var Prompt: OleVariant; 
  12072.                     var DefaultAskText: OleVariant; var AskOnce: OleVariant): MailMergeField; dispid 102;
  12073.     function AddFillIn(const Range: Range; var Prompt: OleVariant; 
  12074.                        var DefaultFillInText: OleVariant; var AskOnce: OleVariant): MailMergeField; dispid 103;
  12075.     function AddIf(const Range: Range; const MergeField: WideString; 
  12076.                    Comparison: WdMailMergeComparison; var CompareTo: OleVariant; 
  12077.                    var TrueAutoText: OleVariant; var TrueText: OleVariant; 
  12078.                    var FalseAutoText: OleVariant; var FalseText: OleVariant): MailMergeField; dispid 104;
  12079.     function AddMergeRec(const Range: Range): MailMergeField; dispid 105;
  12080.     function AddMergeSeq(const Range: Range): MailMergeField; dispid 106;
  12081.     function AddNext(const Range: Range): MailMergeField; dispid 107;
  12082.     function AddNextIf(const Range: Range; const MergeField: WideString; 
  12083.                        Comparison: WdMailMergeComparison; var CompareTo: OleVariant): MailMergeField; dispid 108;
  12084.     function AddSet(const Range: Range; const Name: WideString; var ValueText: OleVariant; 
  12085.                     var ValueAutoText: OleVariant): MailMergeField; dispid 109;
  12086.     function AddSkipIf(const Range: Range; const MergeField: WideString; 
  12087.                        Comparison: WdMailMergeComparison; var CompareTo: OleVariant): MailMergeField; dispid 110;
  12088.   end;
  12089.  
  12090. // *********************************************************************//
  12091. // Interface: MailMergeField
  12092. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12093. // GUID:      {0002091E-0000-0000-C000-000000000046}
  12094. // *********************************************************************//
  12095.   MailMergeField = interface(IDispatch)
  12096.     ['{0002091E-0000-0000-C000-000000000046}']
  12097.     function Get_Application_: Application_; safecall;
  12098.     function Get_Creator: Integer; safecall;
  12099.     function Get_Parent: IDispatch; safecall;
  12100.     function Get_Type_: WdFieldType; safecall;
  12101.     function Get_Locked: WordBool; safecall;
  12102.     procedure Set_Locked(prop: WordBool); safecall;
  12103.     function Get_Code: Range; safecall;
  12104.     procedure Set_Code(const prop: Range); safecall;
  12105.     function Get_Next: MailMergeField; safecall;
  12106.     function Get_Previous: MailMergeField; safecall;
  12107.     procedure Select; safecall;
  12108.     procedure Copy; safecall;
  12109.     procedure Cut; safecall;
  12110.     procedure Delete; safecall;
  12111.     property Application_: Application_ read Get_Application_;
  12112.     property Creator: Integer read Get_Creator;
  12113.     property Parent: IDispatch read Get_Parent;
  12114.     property Type_: WdFieldType read Get_Type_;
  12115.     property Locked: WordBool read Get_Locked write Set_Locked;
  12116.     property Code: Range read Get_Code write Set_Code;
  12117.     property Next: MailMergeField read Get_Next;
  12118.     property Previous: MailMergeField read Get_Previous;
  12119.   end;
  12120.  
  12121. // *********************************************************************//
  12122. // DispIntf:  MailMergeFieldDisp
  12123. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12124. // GUID:      {0002091E-0000-0000-C000-000000000046}
  12125. // *********************************************************************//
  12126.   MailMergeFieldDisp = dispinterface
  12127.     ['{0002091E-0000-0000-C000-000000000046}']
  12128.     property Application_: Application_ readonly dispid 1000;
  12129.     property Creator: Integer readonly dispid 1001;
  12130.     property Parent: IDispatch readonly dispid 1002;
  12131.     property Type_: WdFieldType readonly dispid 0;
  12132.     property Locked: WordBool dispid 3;
  12133.     property Code: Range dispid 5;
  12134.     property Next: MailMergeField readonly dispid 8;
  12135.     property Previous: MailMergeField readonly dispid 9;
  12136.     procedure Select; dispid 65535;
  12137.     procedure Copy; dispid 105;
  12138.     procedure Cut; dispid 106;
  12139.     procedure Delete; dispid 107;
  12140.   end;
  12141.  
  12142. // *********************************************************************//
  12143. // Interface: MailMergeDataSource
  12144. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12145. // GUID:      {0002091D-0000-0000-C000-000000000046}
  12146. // *********************************************************************//
  12147.   MailMergeDataSource = interface(IDispatch)
  12148.     ['{0002091D-0000-0000-C000-000000000046}']
  12149.     function Get_Application_: Application_; safecall;
  12150.     function Get_Creator: Integer; safecall;
  12151.     function Get_Parent: IDispatch; safecall;
  12152.     function Get_Name: WideString; safecall;
  12153.     function Get_HeaderSourceName: WideString; safecall;
  12154.     function Get_Type_: WdMailMergeDataSource; safecall;
  12155.     function Get_HeaderSourceType: WdMailMergeDataSource; safecall;
  12156.     function Get_ConnectString: WideString; safecall;
  12157.     function Get_QueryString: WideString; safecall;
  12158.     procedure Set_QueryString(const prop: WideString); safecall;
  12159.     function Get_ActiveRecord: WdMailMergeActiveRecord; safecall;
  12160.     procedure Set_ActiveRecord(prop: WdMailMergeActiveRecord); safecall;
  12161.     function Get_FirstRecord: Integer; safecall;
  12162.     procedure Set_FirstRecord(prop: Integer); safecall;
  12163.     function Get_LastRecord: Integer; safecall;
  12164.     procedure Set_LastRecord(prop: Integer); safecall;
  12165.     function Get_FieldNames: MailMergeFieldNames; safecall;
  12166.     function Get_DataFields: MailMergeDataFields; safecall;
  12167.     function FindRecord(const FindText: WideString; const Field: WideString): WordBool; safecall;
  12168.     property Application_: Application_ read Get_Application_;
  12169.     property Creator: Integer read Get_Creator;
  12170.     property Parent: IDispatch read Get_Parent;
  12171.     property Name: WideString read Get_Name;
  12172.     property HeaderSourceName: WideString read Get_HeaderSourceName;
  12173.     property Type_: WdMailMergeDataSource read Get_Type_;
  12174.     property HeaderSourceType: WdMailMergeDataSource read Get_HeaderSourceType;
  12175.     property ConnectString: WideString read Get_ConnectString;
  12176.     property QueryString: WideString read Get_QueryString write Set_QueryString;
  12177.     property ActiveRecord: WdMailMergeActiveRecord read Get_ActiveRecord write Set_ActiveRecord;
  12178.     property FirstRecord: Integer read Get_FirstRecord write Set_FirstRecord;
  12179.     property LastRecord: Integer read Get_LastRecord write Set_LastRecord;
  12180.     property FieldNames: MailMergeFieldNames read Get_FieldNames;
  12181.     property DataFields: MailMergeDataFields read Get_DataFields;
  12182.   end;
  12183.  
  12184. // *********************************************************************//
  12185. // DispIntf:  MailMergeDataSourceDisp
  12186. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12187. // GUID:      {0002091D-0000-0000-C000-000000000046}
  12188. // *********************************************************************//
  12189.   MailMergeDataSourceDisp = dispinterface
  12190.     ['{0002091D-0000-0000-C000-000000000046}']
  12191.     property Application_: Application_ readonly dispid 1000;
  12192.     property Creator: Integer readonly dispid 1001;
  12193.     property Parent: IDispatch readonly dispid 1002;
  12194.     property Name: WideString readonly dispid 1;
  12195.     property HeaderSourceName: WideString readonly dispid 2;
  12196.     property Type_: WdMailMergeDataSource readonly dispid 3;
  12197.     property HeaderSourceType: WdMailMergeDataSource readonly dispid 4;
  12198.     property ConnectString: WideString readonly dispid 5;
  12199.     property QueryString: WideString dispid 6;
  12200.     property ActiveRecord: WdMailMergeActiveRecord dispid 7;
  12201.     property FirstRecord: Integer dispid 8;
  12202.     property LastRecord: Integer dispid 9;
  12203.     property FieldNames: MailMergeFieldNames readonly dispid 10;
  12204.     property DataFields: MailMergeDataFields readonly dispid 11;
  12205.     function FindRecord(const FindText: WideString; const Field: WideString): WordBool; dispid 101;
  12206.   end;
  12207.  
  12208. // *********************************************************************//
  12209. // Interface: MailMergeFieldNames
  12210. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12211. // GUID:      {0002091C-0000-0000-C000-000000000046}
  12212. // *********************************************************************//
  12213.   MailMergeFieldNames = interface(IDispatch)
  12214.     ['{0002091C-0000-0000-C000-000000000046}']
  12215.     function Get_Application_: Application_; safecall;
  12216.     function Get_Creator: Integer; safecall;
  12217.     function Get_Parent: IDispatch; safecall;
  12218.     function Get__NewEnum: IUnknown; safecall;
  12219.     function Get_Count: Integer; safecall;
  12220.     function Item(var Index: OleVariant): MailMergeFieldName; safecall;
  12221.     property Application_: Application_ read Get_Application_;
  12222.     property Creator: Integer read Get_Creator;
  12223.     property Parent: IDispatch read Get_Parent;
  12224.     property _NewEnum: IUnknown read Get__NewEnum;
  12225.     property Count: Integer read Get_Count;
  12226.   end;
  12227.  
  12228. // *********************************************************************//
  12229. // DispIntf:  MailMergeFieldNamesDisp
  12230. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12231. // GUID:      {0002091C-0000-0000-C000-000000000046}
  12232. // *********************************************************************//
  12233.   MailMergeFieldNamesDisp = dispinterface
  12234.     ['{0002091C-0000-0000-C000-000000000046}']
  12235.     property Application_: Application_ readonly dispid 1000;
  12236.     property Creator: Integer readonly dispid 1001;
  12237.     property Parent: IDispatch readonly dispid 1002;
  12238.     property _NewEnum: IUnknown readonly dispid -4;
  12239.     property Count: Integer readonly dispid 1;
  12240.     function Item(var Index: OleVariant): MailMergeFieldName; dispid 0;
  12241.   end;
  12242.  
  12243. // *********************************************************************//
  12244. // Interface: MailMergeFieldName
  12245. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12246. // GUID:      {0002091B-0000-0000-C000-000000000046}
  12247. // *********************************************************************//
  12248.   MailMergeFieldName = interface(IDispatch)
  12249.     ['{0002091B-0000-0000-C000-000000000046}']
  12250.     function Get_Application_: Application_; safecall;
  12251.     function Get_Creator: Integer; safecall;
  12252.     function Get_Parent: IDispatch; safecall;
  12253.     function Get_Name: WideString; safecall;
  12254.     function Get_Index: Integer; safecall;
  12255.     property Application_: Application_ read Get_Application_;
  12256.     property Creator: Integer read Get_Creator;
  12257.     property Parent: IDispatch read Get_Parent;
  12258.     property Name: WideString read Get_Name;
  12259.     property Index: Integer read Get_Index;
  12260.   end;
  12261.  
  12262. // *********************************************************************//
  12263. // DispIntf:  MailMergeFieldNameDisp
  12264. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12265. // GUID:      {0002091B-0000-0000-C000-000000000046}
  12266. // *********************************************************************//
  12267.   MailMergeFieldNameDisp = dispinterface
  12268.     ['{0002091B-0000-0000-C000-000000000046}']
  12269.     property Application_: Application_ readonly dispid 1000;
  12270.     property Creator: Integer readonly dispid 1001;
  12271.     property Parent: IDispatch readonly dispid 1002;
  12272.     property Name: WideString readonly dispid 0;
  12273.     property Index: Integer readonly dispid 1;
  12274.   end;
  12275.  
  12276. // *********************************************************************//
  12277. // Interface: MailMergeDataFields
  12278. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12279. // GUID:      {0002091A-0000-0000-C000-000000000046}
  12280. // *********************************************************************//
  12281.   MailMergeDataFields = interface(IDispatch)
  12282.     ['{0002091A-0000-0000-C000-000000000046}']
  12283.     function Get_Application_: Application_; safecall;
  12284.     function Get_Creator: Integer; safecall;
  12285.     function Get_Parent: IDispatch; safecall;
  12286.     function Get__NewEnum: IUnknown; safecall;
  12287.     function Get_Count: Integer; safecall;
  12288.     function Item(var Index: OleVariant): MailMergeDataField; safecall;
  12289.     property Application_: Application_ read Get_Application_;
  12290.     property Creator: Integer read Get_Creator;
  12291.     property Parent: IDispatch read Get_Parent;
  12292.     property _NewEnum: IUnknown read Get__NewEnum;
  12293.     property Count: Integer read Get_Count;
  12294.   end;
  12295.  
  12296. // *********************************************************************//
  12297. // DispIntf:  MailMergeDataFieldsDisp
  12298. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12299. // GUID:      {0002091A-0000-0000-C000-000000000046}
  12300. // *********************************************************************//
  12301.   MailMergeDataFieldsDisp = dispinterface
  12302.     ['{0002091A-0000-0000-C000-000000000046}']
  12303.     property Application_: Application_ readonly dispid 1000;
  12304.     property Creator: Integer readonly dispid 1001;
  12305.     property Parent: IDispatch readonly dispid 1002;
  12306.     property _NewEnum: IUnknown readonly dispid -4;
  12307.     property Count: Integer readonly dispid 1;
  12308.     function Item(var Index: OleVariant): MailMergeDataField; dispid 0;
  12309.   end;
  12310.  
  12311. // *********************************************************************//
  12312. // Interface: MailMergeDataField
  12313. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12314. // GUID:      {00020919-0000-0000-C000-000000000046}
  12315. // *********************************************************************//
  12316.   MailMergeDataField = interface(IDispatch)
  12317.     ['{00020919-0000-0000-C000-000000000046}']
  12318.     function Get_Application_: Application_; safecall;
  12319.     function Get_Creator: Integer; safecall;
  12320.     function Get_Parent: IDispatch; safecall;
  12321.     function Get_Value: WideString; safecall;
  12322.     function Get_Name: WideString; safecall;
  12323.     function Get_Index: Integer; safecall;
  12324.     property Application_: Application_ read Get_Application_;
  12325.     property Creator: Integer read Get_Creator;
  12326.     property Parent: IDispatch read Get_Parent;
  12327.     property Value: WideString read Get_Value;
  12328.     property Name: WideString read Get_Name;
  12329.     property Index: Integer read Get_Index;
  12330.   end;
  12331.  
  12332. // *********************************************************************//
  12333. // DispIntf:  MailMergeDataFieldDisp
  12334. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12335. // GUID:      {00020919-0000-0000-C000-000000000046}
  12336. // *********************************************************************//
  12337.   MailMergeDataFieldDisp = dispinterface
  12338.     ['{00020919-0000-0000-C000-000000000046}']
  12339.     property Application_: Application_ readonly dispid 1000;
  12340.     property Creator: Integer readonly dispid 1001;
  12341.     property Parent: IDispatch readonly dispid 1002;
  12342.     property Value: WideString readonly dispid 0;
  12343.     property Name: WideString readonly dispid 1;
  12344.     property Index: Integer readonly dispid 2;
  12345.   end;
  12346.  
  12347. // *********************************************************************//
  12348. // Interface: Envelope
  12349. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12350. // GUID:      {00020918-0000-0000-C000-000000000046}
  12351. // *********************************************************************//
  12352.   Envelope = interface(IDispatch)
  12353.     ['{00020918-0000-0000-C000-000000000046}']
  12354.     function Get_Application_: Application_; safecall;
  12355.     function Get_Creator: Integer; safecall;
  12356.     function Get_Parent: IDispatch; safecall;
  12357.     function Get_Address: Range; safecall;
  12358.     function Get_ReturnAddress: Range; safecall;
  12359.     function Get_DefaultPrintBarCode: WordBool; safecall;
  12360.     procedure Set_DefaultPrintBarCode(prop: WordBool); safecall;
  12361.     function Get_DefaultPrintFIMA: WordBool; safecall;
  12362.     procedure Set_DefaultPrintFIMA(prop: WordBool); safecall;
  12363.     function Get_DefaultHeight: Single; safecall;
  12364.     procedure Set_DefaultHeight(prop: Single); safecall;
  12365.     function Get_DefaultWidth: Single; safecall;
  12366.     procedure Set_DefaultWidth(prop: Single); safecall;
  12367.     function Get_DefaultSize: WideString; safecall;
  12368.     procedure Set_DefaultSize(const prop: WideString); safecall;
  12369.     function Get_DefaultOmitReturnAddress: WordBool; safecall;
  12370.     procedure Set_DefaultOmitReturnAddress(prop: WordBool); safecall;
  12371.     function Get_FeedSource: WdPaperTray; safecall;
  12372.     procedure Set_FeedSource(prop: WdPaperTray); safecall;
  12373.     function Get_AddressFromLeft: Single; safecall;
  12374.     procedure Set_AddressFromLeft(prop: Single); safecall;
  12375.     function Get_AddressFromTop: Single; safecall;
  12376.     procedure Set_AddressFromTop(prop: Single); safecall;
  12377.     function Get_ReturnAddressFromLeft: Single; safecall;
  12378.     procedure Set_ReturnAddressFromLeft(prop: Single); safecall;
  12379.     function Get_ReturnAddressFromTop: Single; safecall;
  12380.     procedure Set_ReturnAddressFromTop(prop: Single); safecall;
  12381.     function Get_AddressStyle: Style; safecall;
  12382.     function Get_ReturnAddressStyle: Style; safecall;
  12383.     function Get_DefaultOrientation: WdEnvelopeOrientation; safecall;
  12384.     procedure Set_DefaultOrientation(prop: WdEnvelopeOrientation); safecall;
  12385.     function Get_DefaultFaceUp: WordBool; safecall;
  12386.     procedure Set_DefaultFaceUp(prop: WordBool); safecall;
  12387.     procedure Insert(var ExtractAddress: OleVariant; var Address: OleVariant; 
  12388.                      var AutoText: OleVariant; var OmitReturnAddress: OleVariant; 
  12389.                      var ReturnAddress: OleVariant; var ReturnAutoText: OleVariant; 
  12390.                      var PrintBarCode: OleVariant; var PrintFIMA: OleVariant; var Size: OleVariant; 
  12391.                      var Height: OleVariant; var Width: OleVariant; var FeedSource: OleVariant; 
  12392.                      var AddressFromLeft: OleVariant; var AddressFromTop: OleVariant; 
  12393.                      var ReturnAddressFromLeft: OleVariant; var ReturnAddressFromTop: OleVariant; 
  12394.                      var DefaultFaceUp: OleVariant; var DefaultOrientation: OleVariant); safecall;
  12395.     procedure PrintOut(var ExtractAddress: OleVariant; var Address: OleVariant; 
  12396.                        var AutoText: OleVariant; var OmitReturnAddress: OleVariant; 
  12397.                        var ReturnAddress: OleVariant; var ReturnAutoText: OleVariant; 
  12398.                        var PrintBarCode: OleVariant; var PrintFIMA: OleVariant; 
  12399.                        var Size: OleVariant; var Height: OleVariant; var Width: OleVariant; 
  12400.                        var FeedSource: OleVariant; var AddressFromLeft: OleVariant; 
  12401.                        var AddressFromTop: OleVariant; var ReturnAddressFromLeft: OleVariant; 
  12402.                        var ReturnAddressFromTop: OleVariant; var DefaultFaceUp: OleVariant; 
  12403.                        var DefaultOrientation: OleVariant); safecall;
  12404.     procedure UpdateDocument; safecall;
  12405.     property Application_: Application_ read Get_Application_;
  12406.     property Creator: Integer read Get_Creator;
  12407.     property Parent: IDispatch read Get_Parent;
  12408.     property Address: Range read Get_Address;
  12409.     property ReturnAddress: Range read Get_ReturnAddress;
  12410.     property DefaultPrintBarCode: WordBool read Get_DefaultPrintBarCode write Set_DefaultPrintBarCode;
  12411.     property DefaultPrintFIMA: WordBool read Get_DefaultPrintFIMA write Set_DefaultPrintFIMA;
  12412.     property DefaultHeight: Single read Get_DefaultHeight write Set_DefaultHeight;
  12413.     property DefaultWidth: Single read Get_DefaultWidth write Set_DefaultWidth;
  12414.     property DefaultSize: WideString read Get_DefaultSize write Set_DefaultSize;
  12415.     property DefaultOmitReturnAddress: WordBool read Get_DefaultOmitReturnAddress write Set_DefaultOmitReturnAddress;
  12416.     property FeedSource: WdPaperTray read Get_FeedSource write Set_FeedSource;
  12417.     property AddressFromLeft: Single read Get_AddressFromLeft write Set_AddressFromLeft;
  12418.     property AddressFromTop: Single read Get_AddressFromTop write Set_AddressFromTop;
  12419.     property ReturnAddressFromLeft: Single read Get_ReturnAddressFromLeft write Set_ReturnAddressFromLeft;
  12420.     property ReturnAddressFromTop: Single read Get_ReturnAddressFromTop write Set_ReturnAddressFromTop;
  12421.     property AddressStyle: Style read Get_AddressStyle;
  12422.     property ReturnAddressStyle: Style read Get_ReturnAddressStyle;
  12423.     property DefaultOrientation: WdEnvelopeOrientation read Get_DefaultOrientation write Set_DefaultOrientation;
  12424.     property DefaultFaceUp: WordBool read Get_DefaultFaceUp write Set_DefaultFaceUp;
  12425.   end;
  12426.  
  12427. // *********************************************************************//
  12428. // DispIntf:  EnvelopeDisp
  12429. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12430. // GUID:      {00020918-0000-0000-C000-000000000046}
  12431. // *********************************************************************//
  12432.   EnvelopeDisp = dispinterface
  12433.     ['{00020918-0000-0000-C000-000000000046}']
  12434.     property Application_: Application_ readonly dispid 1000;
  12435.     property Creator: Integer readonly dispid 1001;
  12436.     property Parent: IDispatch readonly dispid 1002;
  12437.     property Address: Range readonly dispid 1;
  12438.     property ReturnAddress: Range readonly dispid 2;
  12439.     property DefaultPrintBarCode: WordBool dispid 4;
  12440.     property DefaultPrintFIMA: WordBool dispid 5;
  12441.     property DefaultHeight: Single dispid 6;
  12442.     property DefaultWidth: Single dispid 7;
  12443.     property DefaultSize: WideString dispid 0;
  12444.     property DefaultOmitReturnAddress: WordBool dispid 9;
  12445.     property FeedSource: WdPaperTray dispid 12;
  12446.     property AddressFromLeft: Single dispid 13;
  12447.     property AddressFromTop: Single dispid 14;
  12448.     property ReturnAddressFromLeft: Single dispid 15;
  12449.     property ReturnAddressFromTop: Single dispid 16;
  12450.     property AddressStyle: Style readonly dispid 17;
  12451.     property ReturnAddressStyle: Style readonly dispid 18;
  12452.     property DefaultOrientation: WdEnvelopeOrientation dispid 19;
  12453.     property DefaultFaceUp: WordBool dispid 20;
  12454.     procedure Insert(var ExtractAddress: OleVariant; var Address: OleVariant; 
  12455.                      var AutoText: OleVariant; var OmitReturnAddress: OleVariant; 
  12456.                      var ReturnAddress: OleVariant; var ReturnAutoText: OleVariant; 
  12457.                      var PrintBarCode: OleVariant; var PrintFIMA: OleVariant; var Size: OleVariant; 
  12458.                      var Height: OleVariant; var Width: OleVariant; var FeedSource: OleVariant; 
  12459.                      var AddressFromLeft: OleVariant; var AddressFromTop: OleVariant; 
  12460.                      var ReturnAddressFromLeft: OleVariant; var ReturnAddressFromTop: OleVariant; 
  12461.                      var DefaultFaceUp: OleVariant; var DefaultOrientation: OleVariant); dispid 101;
  12462.     procedure PrintOut(var ExtractAddress: OleVariant; var Address: OleVariant; 
  12463.                        var AutoText: OleVariant; var OmitReturnAddress: OleVariant; 
  12464.                        var ReturnAddress: OleVariant; var ReturnAutoText: OleVariant; 
  12465.                        var PrintBarCode: OleVariant; var PrintFIMA: OleVariant; 
  12466.                        var Size: OleVariant; var Height: OleVariant; var Width: OleVariant; 
  12467.                        var FeedSource: OleVariant; var AddressFromLeft: OleVariant; 
  12468.                        var AddressFromTop: OleVariant; var ReturnAddressFromLeft: OleVariant; 
  12469.                        var ReturnAddressFromTop: OleVariant; var DefaultFaceUp: OleVariant; 
  12470.                        var DefaultOrientation: OleVariant); dispid 102;
  12471.     procedure UpdateDocument; dispid 103;
  12472.   end;
  12473.  
  12474. // *********************************************************************//
  12475. // Interface: MailingLabel
  12476. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12477. // GUID:      {00020917-0000-0000-C000-000000000046}
  12478. // *********************************************************************//
  12479.   MailingLabel = interface(IDispatch)
  12480.     ['{00020917-0000-0000-C000-000000000046}']
  12481.     function Get_Application_: Application_; safecall;
  12482.     function Get_Creator: Integer; safecall;
  12483.     function Get_Parent: IDispatch; safecall;
  12484.     function Get_DefaultPrintBarCode: WordBool; safecall;
  12485.     procedure Set_DefaultPrintBarCode(prop: WordBool); safecall;
  12486.     function Get_DefaultLaserTray: WdPaperTray; safecall;
  12487.     procedure Set_DefaultLaserTray(prop: WdPaperTray); safecall;
  12488.     function Get_CustomLabels: CustomLabels; safecall;
  12489.     function Get_DefaultLabelName: WideString; safecall;
  12490.     procedure Set_DefaultLabelName(const prop: WideString); safecall;
  12491.     function CreateNewDocument(var Name: OleVariant; var Address: OleVariant; 
  12492.                                var AutoText: OleVariant; var ExtractAddress: OleVariant; 
  12493.                                var LaserTray: OleVariant): Document; safecall;
  12494.     procedure PrintOut(var Name: OleVariant; var Address: OleVariant; 
  12495.                        var ExtractAddress: OleVariant; var LaserTray: OleVariant; 
  12496.                        var SingleLabel: OleVariant; var Row: OleVariant; var Column: OleVariant); safecall;
  12497.     property Application_: Application_ read Get_Application_;
  12498.     property Creator: Integer read Get_Creator;
  12499.     property Parent: IDispatch read Get_Parent;
  12500.     property DefaultPrintBarCode: WordBool read Get_DefaultPrintBarCode write Set_DefaultPrintBarCode;
  12501.     property DefaultLaserTray: WdPaperTray read Get_DefaultLaserTray write Set_DefaultLaserTray;
  12502.     property CustomLabels: CustomLabels read Get_CustomLabels;
  12503.     property DefaultLabelName: WideString read Get_DefaultLabelName write Set_DefaultLabelName;
  12504.   end;
  12505.  
  12506. // *********************************************************************//
  12507. // DispIntf:  MailingLabelDisp
  12508. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12509. // GUID:      {00020917-0000-0000-C000-000000000046}
  12510. // *********************************************************************//
  12511.   MailingLabelDisp = dispinterface
  12512.     ['{00020917-0000-0000-C000-000000000046}']
  12513.     property Application_: Application_ readonly dispid 1000;
  12514.     property Creator: Integer readonly dispid 1001;
  12515.     property Parent: IDispatch readonly dispid 1002;
  12516.     property DefaultPrintBarCode: WordBool dispid 2;
  12517.     property DefaultLaserTray: WdPaperTray dispid 4;
  12518.     property CustomLabels: CustomLabels readonly dispid 8;
  12519.     property DefaultLabelName: WideString dispid 9;
  12520.     function CreateNewDocument(var Name: OleVariant; var Address: OleVariant; 
  12521.                                var AutoText: OleVariant; var ExtractAddress: OleVariant; 
  12522.                                var LaserTray: OleVariant): Document; dispid 101;
  12523.     procedure PrintOut(var Name: OleVariant; var Address: OleVariant; 
  12524.                        var ExtractAddress: OleVariant; var LaserTray: OleVariant; 
  12525.                        var SingleLabel: OleVariant; var Row: OleVariant; var Column: OleVariant); dispid 102;
  12526.   end;
  12527.  
  12528. // *********************************************************************//
  12529. // Interface: CustomLabels
  12530. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12531. // GUID:      {00020916-0000-0000-C000-000000000046}
  12532. // *********************************************************************//
  12533.   CustomLabels = interface(IDispatch)
  12534.     ['{00020916-0000-0000-C000-000000000046}']
  12535.     function Get_Application_: Application_; safecall;
  12536.     function Get_Creator: Integer; safecall;
  12537.     function Get_Parent: IDispatch; safecall;
  12538.     function Get__NewEnum: IUnknown; safecall;
  12539.     function Get_Count: Integer; safecall;
  12540.     function Item(var Index: OleVariant): CustomLabel; safecall;
  12541.     function Add(const Name: WideString; var DotMatrix: OleVariant): CustomLabel; safecall;
  12542.     property Application_: Application_ read Get_Application_;
  12543.     property Creator: Integer read Get_Creator;
  12544.     property Parent: IDispatch read Get_Parent;
  12545.     property _NewEnum: IUnknown read Get__NewEnum;
  12546.     property Count: Integer read Get_Count;
  12547.   end;
  12548.  
  12549. // *********************************************************************//
  12550. // DispIntf:  CustomLabelsDisp
  12551. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12552. // GUID:      {00020916-0000-0000-C000-000000000046}
  12553. // *********************************************************************//
  12554.   CustomLabelsDisp = dispinterface
  12555.     ['{00020916-0000-0000-C000-000000000046}']
  12556.     property Application_: Application_ readonly dispid 1000;
  12557.     property Creator: Integer readonly dispid 1001;
  12558.     property Parent: IDispatch readonly dispid 1002;
  12559.     property _NewEnum: IUnknown readonly dispid -4;
  12560.     property Count: Integer readonly dispid 1;
  12561.     function Item(var Index: OleVariant): CustomLabel; dispid 0;
  12562.     function Add(const Name: WideString; var DotMatrix: OleVariant): CustomLabel; dispid 101;
  12563.   end;
  12564.  
  12565. // *********************************************************************//
  12566. // Interface: CustomLabel
  12567. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12568. // GUID:      {00020915-0000-0000-C000-000000000046}
  12569. // *********************************************************************//
  12570.   CustomLabel = interface(IDispatch)
  12571.     ['{00020915-0000-0000-C000-000000000046}']
  12572.     function Get_Application_: Application_; safecall;
  12573.     function Get_Creator: Integer; safecall;
  12574.     function Get_Parent: IDispatch; safecall;
  12575.     function Get_Index: Integer; safecall;
  12576.     function Get_Name: WideString; safecall;
  12577.     procedure Set_Name(const prop: WideString); safecall;
  12578.     function Get_TopMargin: Single; safecall;
  12579.     procedure Set_TopMargin(prop: Single); safecall;
  12580.     function Get_SideMargin: Single; safecall;
  12581.     procedure Set_SideMargin(prop: Single); safecall;
  12582.     function Get_Height: Single; safecall;
  12583.     procedure Set_Height(prop: Single); safecall;
  12584.     function Get_Width: Single; safecall;
  12585.     procedure Set_Width(prop: Single); safecall;
  12586.     function Get_VerticalPitch: Single; safecall;
  12587.     procedure Set_VerticalPitch(prop: Single); safecall;
  12588.     function Get_HorizontalPitch: Single; safecall;
  12589.     procedure Set_HorizontalPitch(prop: Single); safecall;
  12590.     function Get_NumberAcross: Integer; safecall;
  12591.     procedure Set_NumberAcross(prop: Integer); safecall;
  12592.     function Get_NumberDown: Integer; safecall;
  12593.     procedure Set_NumberDown(prop: Integer); safecall;
  12594.     function Get_DotMatrix: WordBool; safecall;
  12595.     function Get_PageSize: WdCustomLabelPageSize; safecall;
  12596.     procedure Set_PageSize(prop: WdCustomLabelPageSize); safecall;
  12597.     function Get_Valid: WordBool; safecall;
  12598.     procedure Delete; safecall;
  12599.     property Application_: Application_ read Get_Application_;
  12600.     property Creator: Integer read Get_Creator;
  12601.     property Parent: IDispatch read Get_Parent;
  12602.     property Index: Integer read Get_Index;
  12603.     property Name: WideString read Get_Name write Set_Name;
  12604.     property TopMargin: Single read Get_TopMargin write Set_TopMargin;
  12605.     property SideMargin: Single read Get_SideMargin write Set_SideMargin;
  12606.     property Height: Single read Get_Height write Set_Height;
  12607.     property Width: Single read Get_Width write Set_Width;
  12608.     property VerticalPitch: Single read Get_VerticalPitch write Set_VerticalPitch;
  12609.     property HorizontalPitch: Single read Get_HorizontalPitch write Set_HorizontalPitch;
  12610.     property NumberAcross: Integer read Get_NumberAcross write Set_NumberAcross;
  12611.     property NumberDown: Integer read Get_NumberDown write Set_NumberDown;
  12612.     property DotMatrix: WordBool read Get_DotMatrix;
  12613.     property PageSize: WdCustomLabelPageSize read Get_PageSize write Set_PageSize;
  12614.     property Valid: WordBool read Get_Valid;
  12615.   end;
  12616.  
  12617. // *********************************************************************//
  12618. // DispIntf:  CustomLabelDisp
  12619. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12620. // GUID:      {00020915-0000-0000-C000-000000000046}
  12621. // *********************************************************************//
  12622.   CustomLabelDisp = dispinterface
  12623.     ['{00020915-0000-0000-C000-000000000046}']
  12624.     property Application_: Application_ readonly dispid 1000;
  12625.     property Creator: Integer readonly dispid 1001;
  12626.     property Parent: IDispatch readonly dispid 1002;
  12627.     property Index: Integer readonly dispid 1;
  12628.     property Name: WideString dispid 2;
  12629.     property TopMargin: Single dispid 3;
  12630.     property SideMargin: Single dispid 4;
  12631.     property Height: Single dispid 5;
  12632.     property Width: Single dispid 6;
  12633.     property VerticalPitch: Single dispid 7;
  12634.     property HorizontalPitch: Single dispid 8;
  12635.     property NumberAcross: Integer dispid 9;
  12636.     property NumberDown: Integer dispid 10;
  12637.     property DotMatrix: WordBool readonly dispid 11;
  12638.     property PageSize: WdCustomLabelPageSize dispid 12;
  12639.     property Valid: WordBool readonly dispid 13;
  12640.     procedure Delete; dispid 101;
  12641.   end;
  12642.  
  12643. // *********************************************************************//
  12644. // Interface: TablesOfContents
  12645. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12646. // GUID:      {00020914-0000-0000-C000-000000000046}
  12647. // *********************************************************************//
  12648.   TablesOfContents = interface(IDispatch)
  12649.     ['{00020914-0000-0000-C000-000000000046}']
  12650.     function Get_Application_: Application_; safecall;
  12651.     function Get_Creator: Integer; safecall;
  12652.     function Get_Parent: IDispatch; safecall;
  12653.     function Get__NewEnum: IUnknown; safecall;
  12654.     function Get_Count: Integer; safecall;
  12655.     function Get_Format: WdTocFormat; safecall;
  12656.     procedure Set_Format(prop: WdTocFormat); safecall;
  12657.     function Item(Index: Integer): TableOfContents; safecall;
  12658.     function AddOld(const Range: Range; var UseHeadingStyles: OleVariant; 
  12659.                     var UpperHeadingLevel: OleVariant; var LowerHeadingLevel: OleVariant; 
  12660.                     var UseFields: OleVariant; var TableID: OleVariant; 
  12661.                     var RightAlignPageNumbers: OleVariant; var IncludePageNumbers: OleVariant; 
  12662.                     var AddedStyles: OleVariant): TableOfContents; safecall;
  12663.     function MarkEntry(const Range: Range; var Entry: OleVariant; var EntryAutoText: OleVariant; 
  12664.                        var TableID: OleVariant; var Level: OleVariant): Field; safecall;
  12665.     function Add(const Range: Range; var UseHeadingStyles: OleVariant; 
  12666.                  var UpperHeadingLevel: OleVariant; var LowerHeadingLevel: OleVariant; 
  12667.                  var UseFields: OleVariant; var TableID: OleVariant; 
  12668.                  var RightAlignPageNumbers: OleVariant; var IncludePageNumbers: OleVariant; 
  12669.                  var AddedStyles: OleVariant; var UseHyperlinks: OleVariant; 
  12670.                  var HidePageNumbersInWeb: OleVariant): TableOfContents; safecall;
  12671.     property Application_: Application_ read Get_Application_;
  12672.     property Creator: Integer read Get_Creator;
  12673.     property Parent: IDispatch read Get_Parent;
  12674.     property _NewEnum: IUnknown read Get__NewEnum;
  12675.     property Count: Integer read Get_Count;
  12676.     property Format: WdTocFormat read Get_Format write Set_Format;
  12677.   end;
  12678.  
  12679. // *********************************************************************//
  12680. // DispIntf:  TablesOfContentsDisp
  12681. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12682. // GUID:      {00020914-0000-0000-C000-000000000046}
  12683. // *********************************************************************//
  12684.   TablesOfContentsDisp = dispinterface
  12685.     ['{00020914-0000-0000-C000-000000000046}']
  12686.     property Application_: Application_ readonly dispid 1000;
  12687.     property Creator: Integer readonly dispid 1001;
  12688.     property Parent: IDispatch readonly dispid 1002;
  12689.     property _NewEnum: IUnknown readonly dispid -4;
  12690.     property Count: Integer readonly dispid 1;
  12691.     property Format: WdTocFormat dispid 2;
  12692.     function Item(Index: Integer): TableOfContents; dispid 0;
  12693.     function AddOld(const Range: Range; var UseHeadingStyles: OleVariant; 
  12694.                     var UpperHeadingLevel: OleVariant; var LowerHeadingLevel: OleVariant; 
  12695.                     var UseFields: OleVariant; var TableID: OleVariant; 
  12696.                     var RightAlignPageNumbers: OleVariant; var IncludePageNumbers: OleVariant; 
  12697.                     var AddedStyles: OleVariant): TableOfContents; dispid 100;
  12698.     function MarkEntry(const Range: Range; var Entry: OleVariant; var EntryAutoText: OleVariant; 
  12699.                        var TableID: OleVariant; var Level: OleVariant): Field; dispid 101;
  12700.     function Add(const Range: Range; var UseHeadingStyles: OleVariant; 
  12701.                  var UpperHeadingLevel: OleVariant; var LowerHeadingLevel: OleVariant; 
  12702.                  var UseFields: OleVariant; var TableID: OleVariant; 
  12703.                  var RightAlignPageNumbers: OleVariant; var IncludePageNumbers: OleVariant; 
  12704.                  var AddedStyles: OleVariant; var UseHyperlinks: OleVariant; 
  12705.                  var HidePageNumbersInWeb: OleVariant): TableOfContents; dispid 102;
  12706.   end;
  12707.  
  12708. // *********************************************************************//
  12709. // Interface: TableOfContents
  12710. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12711. // GUID:      {00020913-0000-0000-C000-000000000046}
  12712. // *********************************************************************//
  12713.   TableOfContents = interface(IDispatch)
  12714.     ['{00020913-0000-0000-C000-000000000046}']
  12715.     function Get_Application_: Application_; safecall;
  12716.     function Get_Creator: Integer; safecall;
  12717.     function Get_Parent: IDispatch; safecall;
  12718.     function Get_UseHeadingStyles: WordBool; safecall;
  12719.     procedure Set_UseHeadingStyles(prop: WordBool); safecall;
  12720.     function Get_UseFields: WordBool; safecall;
  12721.     procedure Set_UseFields(prop: WordBool); safecall;
  12722.     function Get_UpperHeadingLevel: Integer; safecall;
  12723.     procedure Set_UpperHeadingLevel(prop: Integer); safecall;
  12724.     function Get_LowerHeadingLevel: Integer; safecall;
  12725.     procedure Set_LowerHeadingLevel(prop: Integer); safecall;
  12726.     function Get_TableID: WideString; safecall;
  12727.     procedure Set_TableID(const prop: WideString); safecall;
  12728.     function Get_HeadingStyles: HeadingStyles; safecall;
  12729.     function Get_RightAlignPageNumbers: WordBool; safecall;
  12730.     procedure Set_RightAlignPageNumbers(prop: WordBool); safecall;
  12731.     function Get_IncludePageNumbers: WordBool; safecall;
  12732.     procedure Set_IncludePageNumbers(prop: WordBool); safecall;
  12733.     function Get_Range: Range; safecall;
  12734.     function Get_TabLeader: WdTabLeader; safecall;
  12735.     procedure Set_TabLeader(prop: WdTabLeader); safecall;
  12736.     procedure Delete; safecall;
  12737.     procedure UpdatePageNumbers; safecall;
  12738.     procedure Update; safecall;
  12739.     function Get_UseHyperlinks: WordBool; safecall;
  12740.     procedure Set_UseHyperlinks(prop: WordBool); safecall;
  12741.     function Get_HidePageNumbersInWeb: WordBool; safecall;
  12742.     procedure Set_HidePageNumbersInWeb(prop: WordBool); safecall;
  12743.     property Application_: Application_ read Get_Application_;
  12744.     property Creator: Integer read Get_Creator;
  12745.     property Parent: IDispatch read Get_Parent;
  12746.     property UseHeadingStyles: WordBool read Get_UseHeadingStyles write Set_UseHeadingStyles;
  12747.     property UseFields: WordBool read Get_UseFields write Set_UseFields;
  12748.     property UpperHeadingLevel: Integer read Get_UpperHeadingLevel write Set_UpperHeadingLevel;
  12749.     property LowerHeadingLevel: Integer read Get_LowerHeadingLevel write Set_LowerHeadingLevel;
  12750.     property TableID: WideString read Get_TableID write Set_TableID;
  12751.     property HeadingStyles: HeadingStyles read Get_HeadingStyles;
  12752.     property RightAlignPageNumbers: WordBool read Get_RightAlignPageNumbers write Set_RightAlignPageNumbers;
  12753.     property IncludePageNumbers: WordBool read Get_IncludePageNumbers write Set_IncludePageNumbers;
  12754.     property Range: Range read Get_Range;
  12755.     property TabLeader: WdTabLeader read Get_TabLeader write Set_TabLeader;
  12756.     property UseHyperlinks: WordBool read Get_UseHyperlinks write Set_UseHyperlinks;
  12757.     property HidePageNumbersInWeb: WordBool read Get_HidePageNumbersInWeb write Set_HidePageNumbersInWeb;
  12758.   end;
  12759.  
  12760. // *********************************************************************//
  12761. // DispIntf:  TableOfContentsDisp
  12762. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12763. // GUID:      {00020913-0000-0000-C000-000000000046}
  12764. // *********************************************************************//
  12765.   TableOfContentsDisp = dispinterface
  12766.     ['{00020913-0000-0000-C000-000000000046}']
  12767.     property Application_: Application_ readonly dispid 1000;
  12768.     property Creator: Integer readonly dispid 1001;
  12769.     property Parent: IDispatch readonly dispid 1002;
  12770.     property UseHeadingStyles: WordBool dispid 1;
  12771.     property UseFields: WordBool dispid 2;
  12772.     property UpperHeadingLevel: Integer dispid 3;
  12773.     property LowerHeadingLevel: Integer dispid 4;
  12774.     property TableID: WideString dispid 5;
  12775.     property HeadingStyles: HeadingStyles readonly dispid 6;
  12776.     property RightAlignPageNumbers: WordBool dispid 7;
  12777.     property IncludePageNumbers: WordBool dispid 8;
  12778.     property Range: Range readonly dispid 9;
  12779.     property TabLeader: WdTabLeader dispid 10;
  12780.     procedure Delete; dispid 100;
  12781.     procedure UpdatePageNumbers; dispid 101;
  12782.     procedure Update; dispid 102;
  12783.     property UseHyperlinks: WordBool dispid 11;
  12784.     property HidePageNumbersInWeb: WordBool dispid 12;
  12785.   end;
  12786.  
  12787. // *********************************************************************//
  12788. // Interface: TablesOfAuthorities
  12789. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12790. // GUID:      {00020912-0000-0000-C000-000000000046}
  12791. // *********************************************************************//
  12792.   TablesOfAuthorities = interface(IDispatch)
  12793.     ['{00020912-0000-0000-C000-000000000046}']
  12794.     function Get_Application_: Application_; safecall;
  12795.     function Get_Creator: Integer; safecall;
  12796.     function Get_Parent: IDispatch; safecall;
  12797.     function Get__NewEnum: IUnknown; safecall;
  12798.     function Get_Count: Integer; safecall;
  12799.     function Get_Format: WdToaFormat; safecall;
  12800.     procedure Set_Format(prop: WdToaFormat); safecall;
  12801.     function Item(Index: Integer): TableOfAuthorities; safecall;
  12802.     function Add(const Range: Range; var Category: OleVariant; var Bookmark: OleVariant; 
  12803.                  var Passim: OleVariant; var KeepEntryFormatting: OleVariant; 
  12804.                  var Separator: OleVariant; var IncludeSequenceName: OleVariant; 
  12805.                  var EntrySeparator: OleVariant; var PageRangeSeparator: OleVariant; 
  12806.                  var IncludeCategoryHeader: OleVariant; var PageNumberSeparator: OleVariant): TableOfAuthorities; safecall;
  12807.     procedure NextCitation(const ShortCitation: WideString); safecall;
  12808.     function MarkCitation(const Range: Range; const ShortCitation: WideString; 
  12809.                           var LongCitation: OleVariant; var LongCitationAutoText: OleVariant; 
  12810.                           var Category: OleVariant): Field; safecall;
  12811.     procedure MarkAllCitations(const ShortCitation: WideString; var LongCitation: OleVariant; 
  12812.                                var LongCitationAutoText: OleVariant; var Category: OleVariant); safecall;
  12813.     property Application_: Application_ read Get_Application_;
  12814.     property Creator: Integer read Get_Creator;
  12815.     property Parent: IDispatch read Get_Parent;
  12816.     property _NewEnum: IUnknown read Get__NewEnum;
  12817.     property Count: Integer read Get_Count;
  12818.     property Format: WdToaFormat read Get_Format write Set_Format;
  12819.   end;
  12820.  
  12821. // *********************************************************************//
  12822. // DispIntf:  TablesOfAuthoritiesDisp
  12823. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12824. // GUID:      {00020912-0000-0000-C000-000000000046}
  12825. // *********************************************************************//
  12826.   TablesOfAuthoritiesDisp = dispinterface
  12827.     ['{00020912-0000-0000-C000-000000000046}']
  12828.     property Application_: Application_ readonly dispid 1000;
  12829.     property Creator: Integer readonly dispid 1001;
  12830.     property Parent: IDispatch readonly dispid 1002;
  12831.     property _NewEnum: IUnknown readonly dispid -4;
  12832.     property Count: Integer readonly dispid 1;
  12833.     property Format: WdToaFormat dispid 2;
  12834.     function Item(Index: Integer): TableOfAuthorities; dispid 0;
  12835.     function Add(const Range: Range; var Category: OleVariant; var Bookmark: OleVariant; 
  12836.                  var Passim: OleVariant; var KeepEntryFormatting: OleVariant; 
  12837.                  var Separator: OleVariant; var IncludeSequenceName: OleVariant; 
  12838.                  var EntrySeparator: OleVariant; var PageRangeSeparator: OleVariant; 
  12839.                  var IncludeCategoryHeader: OleVariant; var PageNumberSeparator: OleVariant): TableOfAuthorities; dispid 100;
  12840.     procedure NextCitation(const ShortCitation: WideString); dispid 103;
  12841.     function MarkCitation(const Range: Range; const ShortCitation: WideString; 
  12842.                           var LongCitation: OleVariant; var LongCitationAutoText: OleVariant; 
  12843.                           var Category: OleVariant): Field; dispid 101;
  12844.     procedure MarkAllCitations(const ShortCitation: WideString; var LongCitation: OleVariant; 
  12845.                                var LongCitationAutoText: OleVariant; var Category: OleVariant); dispid 102;
  12846.   end;
  12847.  
  12848. // *********************************************************************//
  12849. // Interface: TableOfAuthorities
  12850. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12851. // GUID:      {00020911-0000-0000-C000-000000000046}
  12852. // *********************************************************************//
  12853.   TableOfAuthorities = interface(IDispatch)
  12854.     ['{00020911-0000-0000-C000-000000000046}']
  12855.     function Get_Application_: Application_; safecall;
  12856.     function Get_Creator: Integer; safecall;
  12857.     function Get_Parent: IDispatch; safecall;
  12858.     function Get_Passim: WordBool; safecall;
  12859.     procedure Set_Passim(prop: WordBool); safecall;
  12860.     function Get_KeepEntryFormatting: WordBool; safecall;
  12861.     procedure Set_KeepEntryFormatting(prop: WordBool); safecall;
  12862.     function Get_Category: Integer; safecall;
  12863.     procedure Set_Category(prop: Integer); safecall;
  12864.     function Get_Bookmark: WideString; safecall;
  12865.     procedure Set_Bookmark(const prop: WideString); safecall;
  12866.     function Get_Separator: WideString; safecall;
  12867.     procedure Set_Separator(const prop: WideString); safecall;
  12868.     function Get_IncludeSequenceName: WideString; safecall;
  12869.     procedure Set_IncludeSequenceName(const prop: WideString); safecall;
  12870.     function Get_EntrySeparator: WideString; safecall;
  12871.     procedure Set_EntrySeparator(const prop: WideString); safecall;
  12872.     function Get_PageRangeSeparator: WideString; safecall;
  12873.     procedure Set_PageRangeSeparator(const prop: WideString); safecall;
  12874.     function Get_IncludeCategoryHeader: WordBool; safecall;
  12875.     procedure Set_IncludeCategoryHeader(prop: WordBool); safecall;
  12876.     function Get_PageNumberSeparator: WideString; safecall;
  12877.     procedure Set_PageNumberSeparator(const prop: WideString); safecall;
  12878.     function Get_Range: Range; safecall;
  12879.     function Get_TabLeader: WdTabLeader; safecall;
  12880.     procedure Set_TabLeader(prop: WdTabLeader); safecall;
  12881.     procedure Delete; safecall;
  12882.     procedure Update; safecall;
  12883.     property Application_: Application_ read Get_Application_;
  12884.     property Creator: Integer read Get_Creator;
  12885.     property Parent: IDispatch read Get_Parent;
  12886.     property Passim: WordBool read Get_Passim write Set_Passim;
  12887.     property KeepEntryFormatting: WordBool read Get_KeepEntryFormatting write Set_KeepEntryFormatting;
  12888.     property Category: Integer read Get_Category write Set_Category;
  12889.     property Bookmark: WideString read Get_Bookmark write Set_Bookmark;
  12890.     property Separator: WideString read Get_Separator write Set_Separator;
  12891.     property IncludeSequenceName: WideString read Get_IncludeSequenceName write Set_IncludeSequenceName;
  12892.     property EntrySeparator: WideString read Get_EntrySeparator write Set_EntrySeparator;
  12893.     property PageRangeSeparator: WideString read Get_PageRangeSeparator write Set_PageRangeSeparator;
  12894.     property IncludeCategoryHeader: WordBool read Get_IncludeCategoryHeader write Set_IncludeCategoryHeader;
  12895.     property PageNumberSeparator: WideString read Get_PageNumberSeparator write Set_PageNumberSeparator;
  12896.     property Range: Range read Get_Range;
  12897.     property TabLeader: WdTabLeader read Get_TabLeader write Set_TabLeader;
  12898.   end;
  12899.  
  12900. // *********************************************************************//
  12901. // DispIntf:  TableOfAuthoritiesDisp
  12902. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12903. // GUID:      {00020911-0000-0000-C000-000000000046}
  12904. // *********************************************************************//
  12905.   TableOfAuthoritiesDisp = dispinterface
  12906.     ['{00020911-0000-0000-C000-000000000046}']
  12907.     property Application_: Application_ readonly dispid 1000;
  12908.     property Creator: Integer readonly dispid 1001;
  12909.     property Parent: IDispatch readonly dispid 1002;
  12910.     property Passim: WordBool dispid 1;
  12911.     property KeepEntryFormatting: WordBool dispid 2;
  12912.     property Category: Integer dispid 3;
  12913.     property Bookmark: WideString dispid 4;
  12914.     property Separator: WideString dispid 5;
  12915.     property IncludeSequenceName: WideString dispid 6;
  12916.     property EntrySeparator: WideString dispid 7;
  12917.     property PageRangeSeparator: WideString dispid 8;
  12918.     property IncludeCategoryHeader: WordBool dispid 9;
  12919.     property PageNumberSeparator: WideString dispid 10;
  12920.     property Range: Range readonly dispid 11;
  12921.     property TabLeader: WdTabLeader dispid 12;
  12922.     procedure Delete; dispid 100;
  12923.     procedure Update; dispid 101;
  12924.   end;
  12925.  
  12926. // *********************************************************************//
  12927. // Interface: Dialogs
  12928. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12929. // GUID:      {00020910-0000-0000-C000-000000000046}
  12930. // *********************************************************************//
  12931.   Dialogs = interface(IDispatch)
  12932.     ['{00020910-0000-0000-C000-000000000046}']
  12933.     function Get_Application_: Application_; safecall;
  12934.     function Get_Creator: Integer; safecall;
  12935.     function Get_Parent: IDispatch; safecall;
  12936.     function Get__NewEnum: IUnknown; safecall;
  12937.     function Get_Count: Integer; safecall;
  12938.     function Item(Index: WdWordDialog): Dialog; safecall;
  12939.     property Application_: Application_ read Get_Application_;
  12940.     property Creator: Integer read Get_Creator;
  12941.     property Parent: IDispatch read Get_Parent;
  12942.     property _NewEnum: IUnknown read Get__NewEnum;
  12943.     property Count: Integer read Get_Count;
  12944.   end;
  12945.  
  12946. // *********************************************************************//
  12947. // DispIntf:  DialogsDisp
  12948. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  12949. // GUID:      {00020910-0000-0000-C000-000000000046}
  12950. // *********************************************************************//
  12951.   DialogsDisp = dispinterface
  12952.     ['{00020910-0000-0000-C000-000000000046}']
  12953.     property Application_: Application_ readonly dispid 1000;
  12954.     property Creator: Integer readonly dispid 1001;
  12955.     property Parent: IDispatch readonly dispid 1002;
  12956.     property _NewEnum: IUnknown readonly dispid -4;
  12957.     property Count: Integer readonly dispid 1;
  12958.     function Item(Index: WdWordDialog): Dialog; dispid 0;
  12959.   end;
  12960.  
  12961. // *********************************************************************//
  12962. // Interface: Dialog
  12963. // Flags:     (4416) Dual OleAutomation Dispatchable
  12964. // GUID:      {000209B8-0000-0000-C000-000000000046}
  12965. // *********************************************************************//
  12966.   Dialog = interface(IDispatch)
  12967.     ['{000209B8-0000-0000-C000-000000000046}']
  12968.     function Get_Application_: Application_; safecall;
  12969.     function Get_Creator: Integer; safecall;
  12970.     function Get_Parent: IDispatch; safecall;
  12971.     function Get_DefaultTab: WdWordDialogTab; safecall;
  12972.     procedure Set_DefaultTab(prop: WdWordDialogTab); safecall;
  12973.     function Get_Type_: WdWordDialog; safecall;
  12974.     function Show(var TimeOut: OleVariant): Integer; safecall;
  12975.     function Display(var TimeOut: OleVariant): Integer; safecall;
  12976.     procedure Execute; safecall;
  12977.     procedure Update; safecall;
  12978.     function Get_CommandName: WideString; safecall;
  12979.     property Application_: Application_ read Get_Application_;
  12980.     property Creator: Integer read Get_Creator;
  12981.     property Parent: IDispatch read Get_Parent;
  12982.     property DefaultTab: WdWordDialogTab read Get_DefaultTab write Set_DefaultTab;
  12983.     property Type_: WdWordDialog read Get_Type_;
  12984.     property CommandName: WideString read Get_CommandName;
  12985.   end;
  12986.  
  12987. // *********************************************************************//
  12988. // DispIntf:  DialogDisp
  12989. // Flags:     (4416) Dual OleAutomation Dispatchable
  12990. // GUID:      {000209B8-0000-0000-C000-000000000046}
  12991. // *********************************************************************//
  12992.   DialogDisp = dispinterface
  12993.     ['{000209B8-0000-0000-C000-000000000046}']
  12994.     property Application_: Application_ readonly dispid 32003;
  12995.     property Creator: Integer readonly dispid 32004;
  12996.     property Parent: IDispatch readonly dispid 32005;
  12997.     property DefaultTab: WdWordDialogTab dispid 32002;
  12998.     property Type_: WdWordDialog readonly dispid 0;
  12999.     function Show(var TimeOut: OleVariant): Integer; dispid 336;
  13000.     function Display(var TimeOut: OleVariant): Integer; dispid 338;
  13001.     procedure Execute; dispid 32001;
  13002.     procedure Update; dispid 302;
  13003.     property CommandName: WideString readonly dispid 32006;
  13004.   end;
  13005.  
  13006. // *********************************************************************//
  13007. // Interface: PageSetup
  13008. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13009. // GUID:      {00020971-0000-0000-C000-000000000046}
  13010. // *********************************************************************//
  13011.   PageSetup = interface(IDispatch)
  13012.     ['{00020971-0000-0000-C000-000000000046}']
  13013.     function Get_Application_: Application_; safecall;
  13014.     function Get_Creator: Integer; safecall;
  13015.     function Get_Parent: IDispatch; safecall;
  13016.     function Get_TopMargin: Single; safecall;
  13017.     procedure Set_TopMargin(prop: Single); safecall;
  13018.     function Get_BottomMargin: Single; safecall;
  13019.     procedure Set_BottomMargin(prop: Single); safecall;
  13020.     function Get_LeftMargin: Single; safecall;
  13021.     procedure Set_LeftMargin(prop: Single); safecall;
  13022.     function Get_RightMargin: Single; safecall;
  13023.     procedure Set_RightMargin(prop: Single); safecall;
  13024.     function Get_Gutter: Single; safecall;
  13025.     procedure Set_Gutter(prop: Single); safecall;
  13026.     function Get_PageWidth: Single; safecall;
  13027.     procedure Set_PageWidth(prop: Single); safecall;
  13028.     function Get_PageHeight: Single; safecall;
  13029.     procedure Set_PageHeight(prop: Single); safecall;
  13030.     function Get_Orientation: WdOrientation; safecall;
  13031.     procedure Set_Orientation(prop: WdOrientation); safecall;
  13032.     function Get_FirstPageTray: WdPaperTray; safecall;
  13033.     procedure Set_FirstPageTray(prop: WdPaperTray); safecall;
  13034.     function Get_OtherPagesTray: WdPaperTray; safecall;
  13035.     procedure Set_OtherPagesTray(prop: WdPaperTray); safecall;
  13036.     function Get_VerticalAlignment: WdVerticalAlignment; safecall;
  13037.     procedure Set_VerticalAlignment(prop: WdVerticalAlignment); safecall;
  13038.     function Get_MirrorMargins: Integer; safecall;
  13039.     procedure Set_MirrorMargins(prop: Integer); safecall;
  13040.     function Get_HeaderDistance: Single; safecall;
  13041.     procedure Set_HeaderDistance(prop: Single); safecall;
  13042.     function Get_FooterDistance: Single; safecall;
  13043.     procedure Set_FooterDistance(prop: Single); safecall;
  13044.     function Get_SectionStart: WdSectionStart; safecall;
  13045.     procedure Set_SectionStart(prop: WdSectionStart); safecall;
  13046.     function Get_OddAndEvenPagesHeaderFooter: Integer; safecall;
  13047.     procedure Set_OddAndEvenPagesHeaderFooter(prop: Integer); safecall;
  13048.     function Get_DifferentFirstPageHeaderFooter: Integer; safecall;
  13049.     procedure Set_DifferentFirstPageHeaderFooter(prop: Integer); safecall;
  13050.     function Get_SuppressEndnotes: Integer; safecall;
  13051.     procedure Set_SuppressEndnotes(prop: Integer); safecall;
  13052.     function Get_LineNumbering: LineNumbering; safecall;
  13053.     procedure Set_LineNumbering(const prop: LineNumbering); safecall;
  13054.     function Get_TextColumns: TextColumns; safecall;
  13055.     procedure Set_TextColumns(const prop: TextColumns); safecall;
  13056.     function Get_PaperSize: WdPaperSize; safecall;
  13057.     procedure Set_PaperSize(prop: WdPaperSize); safecall;
  13058.     function Get_TwoPagesOnOne: WordBool; safecall;
  13059.     procedure Set_TwoPagesOnOne(prop: WordBool); safecall;
  13060.     function Get_GutterOnTop: WordBool; safecall;
  13061.     procedure Set_GutterOnTop(prop: WordBool); safecall;
  13062.     function Get_CharsLine: Single; safecall;
  13063.     procedure Set_CharsLine(prop: Single); safecall;
  13064.     function Get_LinesPage: Single; safecall;
  13065.     procedure Set_LinesPage(prop: Single); safecall;
  13066.     function Get_ShowGrid: WordBool; safecall;
  13067.     procedure Set_ShowGrid(prop: WordBool); safecall;
  13068.     procedure TogglePortrait; safecall;
  13069.     procedure SetAsTemplateDefault; safecall;
  13070.     function Get_GutterStyle: WdGutterStyleOld; safecall;
  13071.     procedure Set_GutterStyle(prop: WdGutterStyleOld); safecall;
  13072.     function Get_SectionDirection: WdSectionDirection; safecall;
  13073.     procedure Set_SectionDirection(prop: WdSectionDirection); safecall;
  13074.     function Get_LayoutMode: WdLayoutMode; safecall;
  13075.     procedure Set_LayoutMode(prop: WdLayoutMode); safecall;
  13076.     function Get_GutterPos: WdGutterStyle; safecall;
  13077.     procedure Set_GutterPos(prop: WdGutterStyle); safecall;
  13078.     property Application_: Application_ read Get_Application_;
  13079.     property Creator: Integer read Get_Creator;
  13080.     property Parent: IDispatch read Get_Parent;
  13081.     property TopMargin: Single read Get_TopMargin write Set_TopMargin;
  13082.     property BottomMargin: Single read Get_BottomMargin write Set_BottomMargin;
  13083.     property LeftMargin: Single read Get_LeftMargin write Set_LeftMargin;
  13084.     property RightMargin: Single read Get_RightMargin write Set_RightMargin;
  13085.     property Gutter: Single read Get_Gutter write Set_Gutter;
  13086.     property PageWidth: Single read Get_PageWidth write Set_PageWidth;
  13087.     property PageHeight: Single read Get_PageHeight write Set_PageHeight;
  13088.     property Orientation: WdOrientation read Get_Orientation write Set_Orientation;
  13089.     property FirstPageTray: WdPaperTray read Get_FirstPageTray write Set_FirstPageTray;
  13090.     property OtherPagesTray: WdPaperTray read Get_OtherPagesTray write Set_OtherPagesTray;
  13091.     property VerticalAlignment: WdVerticalAlignment read Get_VerticalAlignment write Set_VerticalAlignment;
  13092.     property MirrorMargins: Integer read Get_MirrorMargins write Set_MirrorMargins;
  13093.     property HeaderDistance: Single read Get_HeaderDistance write Set_HeaderDistance;
  13094.     property FooterDistance: Single read Get_FooterDistance write Set_FooterDistance;
  13095.     property SectionStart: WdSectionStart read Get_SectionStart write Set_SectionStart;
  13096.     property OddAndEvenPagesHeaderFooter: Integer read Get_OddAndEvenPagesHeaderFooter write Set_OddAndEvenPagesHeaderFooter;
  13097.     property DifferentFirstPageHeaderFooter: Integer read Get_DifferentFirstPageHeaderFooter write Set_DifferentFirstPageHeaderFooter;
  13098.     property SuppressEndnotes: Integer read Get_SuppressEndnotes write Set_SuppressEndnotes;
  13099.     property LineNumbering: LineNumbering read Get_LineNumbering write Set_LineNumbering;
  13100.     property TextColumns: TextColumns read Get_TextColumns write Set_TextColumns;
  13101.     property PaperSize: WdPaperSize read Get_PaperSize write Set_PaperSize;
  13102.     property TwoPagesOnOne: WordBool read Get_TwoPagesOnOne write Set_TwoPagesOnOne;
  13103.     property GutterOnTop: WordBool read Get_GutterOnTop write Set_GutterOnTop;
  13104.     property CharsLine: Single read Get_CharsLine write Set_CharsLine;
  13105.     property LinesPage: Single read Get_LinesPage write Set_LinesPage;
  13106.     property ShowGrid: WordBool read Get_ShowGrid write Set_ShowGrid;
  13107.     property GutterStyle: WdGutterStyleOld read Get_GutterStyle write Set_GutterStyle;
  13108.     property SectionDirection: WdSectionDirection read Get_SectionDirection write Set_SectionDirection;
  13109.     property LayoutMode: WdLayoutMode read Get_LayoutMode write Set_LayoutMode;
  13110.     property GutterPos: WdGutterStyle read Get_GutterPos write Set_GutterPos;
  13111.   end;
  13112.  
  13113. // *********************************************************************//
  13114. // DispIntf:  PageSetupDisp
  13115. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13116. // GUID:      {00020971-0000-0000-C000-000000000046}
  13117. // *********************************************************************//
  13118.   PageSetupDisp = dispinterface
  13119.     ['{00020971-0000-0000-C000-000000000046}']
  13120.     property Application_: Application_ readonly dispid 1000;
  13121.     property Creator: Integer readonly dispid 1001;
  13122.     property Parent: IDispatch readonly dispid 1002;
  13123.     property TopMargin: Single dispid 100;
  13124.     property BottomMargin: Single dispid 101;
  13125.     property LeftMargin: Single dispid 102;
  13126.     property RightMargin: Single dispid 103;
  13127.     property Gutter: Single dispid 104;
  13128.     property PageWidth: Single dispid 105;
  13129.     property PageHeight: Single dispid 106;
  13130.     property Orientation: WdOrientation dispid 107;
  13131.     property FirstPageTray: WdPaperTray dispid 108;
  13132.     property OtherPagesTray: WdPaperTray dispid 109;
  13133.     property VerticalAlignment: WdVerticalAlignment dispid 110;
  13134.     property MirrorMargins: Integer dispid 111;
  13135.     property HeaderDistance: Single dispid 112;
  13136.     property FooterDistance: Single dispid 113;
  13137.     property SectionStart: WdSectionStart dispid 114;
  13138.     property OddAndEvenPagesHeaderFooter: Integer dispid 115;
  13139.     property DifferentFirstPageHeaderFooter: Integer dispid 116;
  13140.     property SuppressEndnotes: Integer dispid 117;
  13141.     property LineNumbering: LineNumbering dispid 118;
  13142.     property TextColumns: TextColumns dispid 119;
  13143.     property PaperSize: WdPaperSize dispid 120;
  13144.     property TwoPagesOnOne: WordBool dispid 121;
  13145.     property GutterOnTop: WordBool dispid 122;
  13146.     property CharsLine: Single dispid 123;
  13147.     property LinesPage: Single dispid 124;
  13148.     property ShowGrid: WordBool dispid 128;
  13149.     procedure TogglePortrait; dispid 201;
  13150.     procedure SetAsTemplateDefault; dispid 202;
  13151.     property GutterStyle: WdGutterStyleOld dispid 129;
  13152.     property SectionDirection: WdSectionDirection dispid 130;
  13153.     property LayoutMode: WdLayoutMode dispid 131;
  13154.     property GutterPos: WdGutterStyle dispid 1222;
  13155.   end;
  13156.  
  13157. // *********************************************************************//
  13158. // Interface: LineNumbering
  13159. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13160. // GUID:      {00020972-0000-0000-C000-000000000046}
  13161. // *********************************************************************//
  13162.   LineNumbering = interface(IDispatch)
  13163.     ['{00020972-0000-0000-C000-000000000046}']
  13164.     function Get_Application_: Application_; safecall;
  13165.     function Get_Creator: Integer; safecall;
  13166.     function Get_Parent: IDispatch; safecall;
  13167.     function Get_RestartMode: WdNumberingRule; safecall;
  13168.     procedure Set_RestartMode(prop: WdNumberingRule); safecall;
  13169.     function Get_StartingNumber: Integer; safecall;
  13170.     procedure Set_StartingNumber(prop: Integer); safecall;
  13171.     function Get_DistanceFromText: Single; safecall;
  13172.     procedure Set_DistanceFromText(prop: Single); safecall;
  13173.     function Get_CountBy: Integer; safecall;
  13174.     procedure Set_CountBy(prop: Integer); safecall;
  13175.     function Get_Active: Integer; safecall;
  13176.     procedure Set_Active(prop: Integer); safecall;
  13177.     property Application_: Application_ read Get_Application_;
  13178.     property Creator: Integer read Get_Creator;
  13179.     property Parent: IDispatch read Get_Parent;
  13180.     property RestartMode: WdNumberingRule read Get_RestartMode write Set_RestartMode;
  13181.     property StartingNumber: Integer read Get_StartingNumber write Set_StartingNumber;
  13182.     property DistanceFromText: Single read Get_DistanceFromText write Set_DistanceFromText;
  13183.     property CountBy: Integer read Get_CountBy write Set_CountBy;
  13184.     property Active: Integer read Get_Active write Set_Active;
  13185.   end;
  13186.  
  13187. // *********************************************************************//
  13188. // DispIntf:  LineNumberingDisp
  13189. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13190. // GUID:      {00020972-0000-0000-C000-000000000046}
  13191. // *********************************************************************//
  13192.   LineNumberingDisp = dispinterface
  13193.     ['{00020972-0000-0000-C000-000000000046}']
  13194.     property Application_: Application_ readonly dispid 1000;
  13195.     property Creator: Integer readonly dispid 1001;
  13196.     property Parent: IDispatch readonly dispid 1002;
  13197.     property RestartMode: WdNumberingRule dispid 100;
  13198.     property StartingNumber: Integer dispid 101;
  13199.     property DistanceFromText: Single dispid 102;
  13200.     property CountBy: Integer dispid 103;
  13201.     property Active: Integer dispid 104;
  13202.   end;
  13203.  
  13204. // *********************************************************************//
  13205. // Interface: TextColumns
  13206. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13207. // GUID:      {00020973-0000-0000-C000-000000000046}
  13208. // *********************************************************************//
  13209.   TextColumns = interface(IDispatch)
  13210.     ['{00020973-0000-0000-C000-000000000046}']
  13211.     function Get__NewEnum: IUnknown; safecall;
  13212.     function Get_Count: Integer; safecall;
  13213.     function Get_Application_: Application_; safecall;
  13214.     function Get_Creator: Integer; safecall;
  13215.     function Get_Parent: IDispatch; safecall;
  13216.     function Get_EvenlySpaced: Integer; safecall;
  13217.     procedure Set_EvenlySpaced(prop: Integer); safecall;
  13218.     function Get_LineBetween: Integer; safecall;
  13219.     procedure Set_LineBetween(prop: Integer); safecall;
  13220.     function Get_Width: Single; safecall;
  13221.     procedure Set_Width(prop: Single); safecall;
  13222.     function Get_Spacing: Single; safecall;
  13223.     procedure Set_Spacing(prop: Single); safecall;
  13224.     function Item(Index: Integer): TextColumn; safecall;
  13225.     function Add(var Width: OleVariant; var Spacing: OleVariant; var EvenlySpaced: OleVariant): TextColumn; safecall;
  13226.     procedure SetCount(NumColumns: Integer); safecall;
  13227.     function Get_FlowDirection: WdFlowDirection; safecall;
  13228.     procedure Set_FlowDirection(prop: WdFlowDirection); safecall;
  13229.     property _NewEnum: IUnknown read Get__NewEnum;
  13230.     property Count: Integer read Get_Count;
  13231.     property Application_: Application_ read Get_Application_;
  13232.     property Creator: Integer read Get_Creator;
  13233.     property Parent: IDispatch read Get_Parent;
  13234.     property EvenlySpaced: Integer read Get_EvenlySpaced write Set_EvenlySpaced;
  13235.     property LineBetween: Integer read Get_LineBetween write Set_LineBetween;
  13236.     property Width: Single read Get_Width write Set_Width;
  13237.     property Spacing: Single read Get_Spacing write Set_Spacing;
  13238.     property FlowDirection: WdFlowDirection read Get_FlowDirection write Set_FlowDirection;
  13239.   end;
  13240.  
  13241. // *********************************************************************//
  13242. // DispIntf:  TextColumnsDisp
  13243. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13244. // GUID:      {00020973-0000-0000-C000-000000000046}
  13245. // *********************************************************************//
  13246.   TextColumnsDisp = dispinterface
  13247.     ['{00020973-0000-0000-C000-000000000046}']
  13248.     property _NewEnum: IUnknown readonly dispid -4;
  13249.     property Count: Integer readonly dispid 2;
  13250.     property Application_: Application_ readonly dispid 1000;
  13251.     property Creator: Integer readonly dispid 1001;
  13252.     property Parent: IDispatch readonly dispid 1002;
  13253.     property EvenlySpaced: Integer dispid 100;
  13254.     property LineBetween: Integer dispid 101;
  13255.     property Width: Single dispid 102;
  13256.     property Spacing: Single dispid 103;
  13257.     function Item(Index: Integer): TextColumn; dispid 0;
  13258.     function Add(var Width: OleVariant; var Spacing: OleVariant; var EvenlySpaced: OleVariant): TextColumn; dispid 201;
  13259.     procedure SetCount(NumColumns: Integer); dispid 202;
  13260.     property FlowDirection: WdFlowDirection dispid 104;
  13261.   end;
  13262.  
  13263. // *********************************************************************//
  13264. // Interface: TextColumn
  13265. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13266. // GUID:      {00020974-0000-0000-C000-000000000046}
  13267. // *********************************************************************//
  13268.   TextColumn = interface(IDispatch)
  13269.     ['{00020974-0000-0000-C000-000000000046}']
  13270.     function Get_Application_: Application_; safecall;
  13271.     function Get_Creator: Integer; safecall;
  13272.     function Get_Parent: IDispatch; safecall;
  13273.     function Get_Width: Single; safecall;
  13274.     procedure Set_Width(prop: Single); safecall;
  13275.     function Get_SpaceAfter: Single; safecall;
  13276.     procedure Set_SpaceAfter(prop: Single); safecall;
  13277.     property Application_: Application_ read Get_Application_;
  13278.     property Creator: Integer read Get_Creator;
  13279.     property Parent: IDispatch read Get_Parent;
  13280.     property Width: Single read Get_Width write Set_Width;
  13281.     property SpaceAfter: Single read Get_SpaceAfter write Set_SpaceAfter;
  13282.   end;
  13283.  
  13284. // *********************************************************************//
  13285. // DispIntf:  TextColumnDisp
  13286. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13287. // GUID:      {00020974-0000-0000-C000-000000000046}
  13288. // *********************************************************************//
  13289.   TextColumnDisp = dispinterface
  13290.     ['{00020974-0000-0000-C000-000000000046}']
  13291.     property Application_: Application_ readonly dispid 1000;
  13292.     property Creator: Integer readonly dispid 1001;
  13293.     property Parent: IDispatch readonly dispid 1002;
  13294.     property Width: Single dispid 100;
  13295.     property SpaceAfter: Single dispid 101;
  13296.   end;
  13297.  
  13298. // *********************************************************************//
  13299. // Interface: Selection
  13300. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13301. // GUID:      {00020975-0000-0000-C000-000000000046}
  13302. // *********************************************************************//
  13303.   Selection = interface(IDispatch)
  13304.     ['{00020975-0000-0000-C000-000000000046}']
  13305.     function Get_Text: WideString; safecall;
  13306.     procedure Set_Text(const prop: WideString); safecall;
  13307.     function Get_FormattedText: Range; safecall;
  13308.     procedure Set_FormattedText(const prop: Range); safecall;
  13309.     function Get_Start: Integer; safecall;
  13310.     procedure Set_Start(prop: Integer); safecall;
  13311.     function Get_End_: Integer; safecall;
  13312.     procedure Set_End_(prop: Integer); safecall;
  13313.     function Get_Font: Font; safecall;
  13314.     procedure Set_Font(const prop: Font); safecall;
  13315.     function Get_Type_: WdSelectionType; safecall;
  13316.     function Get_StoryType: WdStoryType; safecall;
  13317.     function Get_Style: OleVariant; safecall;
  13318.     procedure Set_Style(var prop: OleVariant); safecall;
  13319.     function Get_Tables: Tables; safecall;
  13320.     function Get_Words: Words; safecall;
  13321.     function Get_Sentences: Sentences; safecall;
  13322.     function Get_Characters: Characters; safecall;
  13323.     function Get_Footnotes: Footnotes; safecall;
  13324.     function Get_Endnotes: Endnotes; safecall;
  13325.     function Get_Comments: Comments; safecall;
  13326.     function Get_Cells: Cells; safecall;
  13327.     function Get_Sections: Sections; safecall;
  13328.     function Get_Paragraphs: Paragraphs; safecall;
  13329.     function Get_Borders: Borders; safecall;
  13330.     procedure Set_Borders(const prop: Borders); safecall;
  13331.     function Get_Shading: Shading; safecall;
  13332.     function Get_Fields: Fields; safecall;
  13333.     function Get_FormFields: FormFields; safecall;
  13334.     function Get_Frames: Frames; safecall;
  13335.     function Get_ParagraphFormat: ParagraphFormat; safecall;
  13336.     procedure Set_ParagraphFormat(const prop: ParagraphFormat); safecall;
  13337.     function Get_PageSetup: PageSetup; safecall;
  13338.     procedure Set_PageSetup(const prop: PageSetup); safecall;
  13339.     function Get_Bookmarks: Bookmarks; safecall;
  13340.     function Get_StoryLength: Integer; safecall;
  13341.     function Get_LanguageID: WdLanguageID; safecall;
  13342.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  13343.     function Get_LanguageIDFarEast: WdLanguageID; safecall;
  13344.     procedure Set_LanguageIDFarEast(prop: WdLanguageID); safecall;
  13345.     function Get_LanguageIDOther: WdLanguageID; safecall;
  13346.     procedure Set_LanguageIDOther(prop: WdLanguageID); safecall;
  13347.     function Get_Hyperlinks: Hyperlinks; safecall;
  13348.     function Get_Columns: Columns; safecall;
  13349.     function Get_Rows: Rows; safecall;
  13350.     function Get_HeaderFooter: HeaderFooter; safecall;
  13351.     function Get_IsEndOfRowMark: WordBool; safecall;
  13352.     function Get_BookmarkID: Integer; safecall;
  13353.     function Get_PreviousBookmarkID: Integer; safecall;
  13354.     function Get_Find: Find; safecall;
  13355.     function Get_Range: Range; safecall;
  13356.     function Get_Information(Type_: WdInformation): OleVariant; safecall;
  13357.     function Get_Flags: WdSelectionFlags; safecall;
  13358.     procedure Set_Flags(prop: WdSelectionFlags); safecall;
  13359.     function Get_Active: WordBool; safecall;
  13360.     function Get_StartIsActive: WordBool; safecall;
  13361.     procedure Set_StartIsActive(prop: WordBool); safecall;
  13362.     function Get_IPAtEndOfLine: WordBool; safecall;
  13363.     function Get_ExtendMode: WordBool; safecall;
  13364.     procedure Set_ExtendMode(prop: WordBool); safecall;
  13365.     function Get_ColumnSelectMode: WordBool; safecall;
  13366.     procedure Set_ColumnSelectMode(prop: WordBool); safecall;
  13367.     function Get_Orientation: WdTextOrientation; safecall;
  13368.     procedure Set_Orientation(prop: WdTextOrientation); safecall;
  13369.     function Get_InlineShapes: InlineShapes; safecall;
  13370.     function Get_Application_: Application_; safecall;
  13371.     function Get_Creator: Integer; safecall;
  13372.     function Get_Parent: IDispatch; safecall;
  13373.     function Get_Document: Document; safecall;
  13374.     function Get_ShapeRange: ShapeRange; safecall;
  13375.     procedure Select; safecall;
  13376.     procedure SetRange(Start: Integer; End_: Integer); safecall;
  13377.     procedure Collapse(var Direction: OleVariant); safecall;
  13378.     procedure InsertBefore(const Text: WideString); safecall;
  13379.     procedure InsertAfter(const Text: WideString); safecall;
  13380.     function Next(var Unit_: OleVariant; var Count: OleVariant): Range; safecall;
  13381.     function Previous(var Unit_: OleVariant; var Count: OleVariant): Range; safecall;
  13382.     function StartOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; safecall;
  13383.     function EndOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; safecall;
  13384.     function Move(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  13385.     function MoveStart(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  13386.     function MoveEnd(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  13387.     function MoveWhile(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  13388.     function MoveStartWhile(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  13389.     function MoveEndWhile(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  13390.     function MoveUntil(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  13391.     function MoveStartUntil(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  13392.     function MoveEndUntil(var Cset: OleVariant; var Count: OleVariant): Integer; safecall;
  13393.     procedure Cut; safecall;
  13394.     procedure Copy; safecall;
  13395.     procedure Paste; safecall;
  13396.     procedure InsertBreak(var Type_: OleVariant); safecall;
  13397.     procedure InsertFile(const FileName: WideString; var Range: OleVariant; 
  13398.                          var ConfirmConversions: OleVariant; var Link: OleVariant; 
  13399.                          var Attachment: OleVariant); safecall;
  13400.     function InStory(const Range: Range): WordBool; safecall;
  13401.     function InRange(const Range: Range): WordBool; safecall;
  13402.     function Delete(var Unit_: OleVariant; var Count: OleVariant): Integer; safecall;
  13403.     function Expand(var Unit_: OleVariant): Integer; safecall;
  13404.     procedure InsertParagraph; safecall;
  13405.     procedure InsertParagraphAfter; safecall;
  13406.     function ConvertToTableOld(var Separator: OleVariant; var NumRows: OleVariant; 
  13407.                                var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  13408.                                var Format: OleVariant; var ApplyBorders: OleVariant; 
  13409.                                var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  13410.                                var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  13411.                                var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  13412.                                var ApplyLastColumn: OleVariant; var AutoFit: OleVariant): Table; safecall;
  13413.     procedure InsertDateTimeOld(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  13414.                                 var InsertAsFullWidth: OleVariant); safecall;
  13415.     procedure InsertSymbol(CharacterNumber: Integer; var Font: OleVariant; var Unicode: OleVariant; 
  13416.                            var Bias: OleVariant); safecall;
  13417.     procedure InsertCrossReference(var ReferenceType: OleVariant; ReferenceKind: WdReferenceKind; 
  13418.                                    var ReferenceItem: OleVariant; 
  13419.                                    var InsertAsHyperlink: OleVariant; 
  13420.                                    var IncludePosition: OleVariant); safecall;
  13421.     procedure InsertCaption(var Label_: OleVariant; var Title: OleVariant; 
  13422.                             var TitleAutoText: OleVariant; var Position: OleVariant); safecall;
  13423.     procedure CopyAsPicture; safecall;
  13424.     procedure SortOld(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  13425.                       var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  13426.                       var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  13427.                       var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  13428.                       var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  13429.                       var SortColumn: OleVariant; var Separator: OleVariant; 
  13430.                       var CaseSensitive: OleVariant; var LanguageID: OleVariant); safecall;
  13431.     procedure SortAscending; safecall;
  13432.     procedure SortDescending; safecall;
  13433.     function IsEqual(const Range: Range): WordBool; safecall;
  13434.     function Calculate: Single; safecall;
  13435.     function GoTo_(var What: OleVariant; var Which: OleVariant; var Count: OleVariant; 
  13436.                    var Name: OleVariant): Range; safecall;
  13437.     function GoToNext(What: WdGoToItem): Range; safecall;
  13438.     function GoToPrevious(What: WdGoToItem): Range; safecall;
  13439.     procedure PasteSpecial(var IconIndex: OleVariant; var Link: OleVariant; 
  13440.                            var Placement: OleVariant; var DisplayAsIcon: OleVariant; 
  13441.                            var DataType: OleVariant; var IconFileName: OleVariant; 
  13442.                            var IconLabel: OleVariant); safecall;
  13443.     function PreviousField: Field; safecall;
  13444.     function NextField: Field; safecall;
  13445.     procedure InsertParagraphBefore; safecall;
  13446.     procedure InsertCells(var ShiftCells: OleVariant); safecall;
  13447.     procedure Extend(var Character: OleVariant); safecall;
  13448.     procedure Shrink; safecall;
  13449.     function MoveLeft(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; safecall;
  13450.     function MoveRight(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; safecall;
  13451.     function MoveUp(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; safecall;
  13452.     function MoveDown(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; safecall;
  13453.     function HomeKey(var Unit_: OleVariant; var Extend: OleVariant): Integer; safecall;
  13454.     function EndKey(var Unit_: OleVariant; var Extend: OleVariant): Integer; safecall;
  13455.     procedure EscapeKey; safecall;
  13456.     procedure TypeText(const Text: WideString); safecall;
  13457.     procedure CopyFormat; safecall;
  13458.     procedure PasteFormat; safecall;
  13459.     procedure TypeParagraph; safecall;
  13460.     procedure TypeBackspace; safecall;
  13461.     procedure NextSubdocument; safecall;
  13462.     procedure PreviousSubdocument; safecall;
  13463.     procedure SelectColumn; safecall;
  13464.     procedure SelectCurrentFont; safecall;
  13465.     procedure SelectCurrentAlignment; safecall;
  13466.     procedure SelectCurrentSpacing; safecall;
  13467.     procedure SelectCurrentIndent; safecall;
  13468.     procedure SelectCurrentTabs; safecall;
  13469.     procedure SelectCurrentColor; safecall;
  13470.     procedure CreateTextbox; safecall;
  13471.     procedure WholeStory; safecall;
  13472.     procedure SelectRow; safecall;
  13473.     procedure SplitTable; safecall;
  13474.     procedure InsertRows(var NumRows: OleVariant); safecall;
  13475.     procedure InsertColumns; safecall;
  13476.     procedure InsertFormula(var Formula: OleVariant; var NumberFormat: OleVariant); safecall;
  13477.     function NextRevision(var Wrap: OleVariant): Revision; safecall;
  13478.     function PreviousRevision(var Wrap: OleVariant): Revision; safecall;
  13479.     procedure PasteAsNestedTable; safecall;
  13480.     function CreateAutoTextEntry(const Name: WideString; const StyleName: WideString): AutoTextEntry; safecall;
  13481.     procedure DetectLanguage; safecall;
  13482.     procedure SelectCell; safecall;
  13483.     procedure InsertRowsBelow(var NumRows: OleVariant); safecall;
  13484.     procedure InsertColumnsRight; safecall;
  13485.     procedure InsertRowsAbove(var NumRows: OleVariant); safecall;
  13486.     procedure RtlRun; safecall;
  13487.     procedure LtrRun; safecall;
  13488.     procedure BoldRun; safecall;
  13489.     procedure ItalicRun; safecall;
  13490.     procedure RtlPara; safecall;
  13491.     procedure LtrPara; safecall;
  13492.     procedure InsertDateTime(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  13493.                              var InsertAsFullWidth: OleVariant; var DateLanguage: OleVariant; 
  13494.                              var CalendarType: OleVariant); safecall;
  13495.     procedure Sort(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  13496.                    var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  13497.                    var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  13498.                    var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  13499.                    var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  13500.                    var SortColumn: OleVariant; var Separator: OleVariant; 
  13501.                    var CaseSensitive: OleVariant; var BidiSort: OleVariant; 
  13502.                    var IgnoreThe: OleVariant; var IgnoreKashida: OleVariant; 
  13503.                    var IgnoreDiacritics: OleVariant; var IgnoreHe: OleVariant; 
  13504.                    var LanguageID: OleVariant); safecall;
  13505.     function ConvertToTable(var Separator: OleVariant; var NumRows: OleVariant; 
  13506.                             var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  13507.                             var Format: OleVariant; var ApplyBorders: OleVariant; 
  13508.                             var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  13509.                             var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  13510.                             var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  13511.                             var ApplyLastColumn: OleVariant; var AutoFit: OleVariant; 
  13512.                             var AutoFitBehavior: OleVariant; var DefaultTableBehavior: OleVariant): Table; safecall;
  13513.     function Get_NoProofing: Integer; safecall;
  13514.     procedure Set_NoProofing(prop: Integer); safecall;
  13515.     function Get_TopLevelTables: Tables; safecall;
  13516.     function Get_LanguageDetected: WordBool; safecall;
  13517.     procedure Set_LanguageDetected(prop: WordBool); safecall;
  13518.     function Get_FitTextWidth: Single; safecall;
  13519.     procedure Set_FitTextWidth(prop: Single); safecall;
  13520.     property Text: WideString read Get_Text write Set_Text;
  13521.     property FormattedText: Range read Get_FormattedText write Set_FormattedText;
  13522.     property Start: Integer read Get_Start write Set_Start;
  13523.     property End_: Integer read Get_End_ write Set_End_;
  13524.     property Font: Font read Get_Font write Set_Font;
  13525.     property Type_: WdSelectionType read Get_Type_;
  13526.     property StoryType: WdStoryType read Get_StoryType;
  13527.     property Tables: Tables read Get_Tables;
  13528.     property Words: Words read Get_Words;
  13529.     property Sentences: Sentences read Get_Sentences;
  13530.     property Characters: Characters read Get_Characters;
  13531.     property Footnotes: Footnotes read Get_Footnotes;
  13532.     property Endnotes: Endnotes read Get_Endnotes;
  13533.     property Comments: Comments read Get_Comments;
  13534.     property Cells: Cells read Get_Cells;
  13535.     property Sections: Sections read Get_Sections;
  13536.     property Paragraphs: Paragraphs read Get_Paragraphs;
  13537.     property Borders: Borders read Get_Borders write Set_Borders;
  13538.     property Shading: Shading read Get_Shading;
  13539.     property Fields: Fields read Get_Fields;
  13540.     property FormFields: FormFields read Get_FormFields;
  13541.     property Frames: Frames read Get_Frames;
  13542.     property ParagraphFormat: ParagraphFormat read Get_ParagraphFormat write Set_ParagraphFormat;
  13543.     property PageSetup: PageSetup read Get_PageSetup write Set_PageSetup;
  13544.     property Bookmarks: Bookmarks read Get_Bookmarks;
  13545.     property StoryLength: Integer read Get_StoryLength;
  13546.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  13547.     property LanguageIDFarEast: WdLanguageID read Get_LanguageIDFarEast write Set_LanguageIDFarEast;
  13548.     property LanguageIDOther: WdLanguageID read Get_LanguageIDOther write Set_LanguageIDOther;
  13549.     property Hyperlinks: Hyperlinks read Get_Hyperlinks;
  13550.     property Columns: Columns read Get_Columns;
  13551.     property Rows: Rows read Get_Rows;
  13552.     property HeaderFooter: HeaderFooter read Get_HeaderFooter;
  13553.     property IsEndOfRowMark: WordBool read Get_IsEndOfRowMark;
  13554.     property BookmarkID: Integer read Get_BookmarkID;
  13555.     property PreviousBookmarkID: Integer read Get_PreviousBookmarkID;
  13556.     property Find: Find read Get_Find;
  13557.     property Range: Range read Get_Range;
  13558.     property Information[Type_: WdInformation]: OleVariant read Get_Information;
  13559.     property Flags: WdSelectionFlags read Get_Flags write Set_Flags;
  13560.     property Active: WordBool read Get_Active;
  13561.     property StartIsActive: WordBool read Get_StartIsActive write Set_StartIsActive;
  13562.     property IPAtEndOfLine: WordBool read Get_IPAtEndOfLine;
  13563.     property ExtendMode: WordBool read Get_ExtendMode write Set_ExtendMode;
  13564.     property ColumnSelectMode: WordBool read Get_ColumnSelectMode write Set_ColumnSelectMode;
  13565.     property Orientation: WdTextOrientation read Get_Orientation write Set_Orientation;
  13566.     property InlineShapes: InlineShapes read Get_InlineShapes;
  13567.     property Application_: Application_ read Get_Application_;
  13568.     property Creator: Integer read Get_Creator;
  13569.     property Parent: IDispatch read Get_Parent;
  13570.     property Document: Document read Get_Document;
  13571.     property ShapeRange: ShapeRange read Get_ShapeRange;
  13572.     property NoProofing: Integer read Get_NoProofing write Set_NoProofing;
  13573.     property TopLevelTables: Tables read Get_TopLevelTables;
  13574.     property LanguageDetected: WordBool read Get_LanguageDetected write Set_LanguageDetected;
  13575.     property FitTextWidth: Single read Get_FitTextWidth write Set_FitTextWidth;
  13576.   end;
  13577.  
  13578. // *********************************************************************//
  13579. // DispIntf:  SelectionDisp
  13580. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13581. // GUID:      {00020975-0000-0000-C000-000000000046}
  13582. // *********************************************************************//
  13583.   SelectionDisp = dispinterface
  13584.     ['{00020975-0000-0000-C000-000000000046}']
  13585.     property Text: WideString dispid 0;
  13586.     property FormattedText: Range dispid 2;
  13587.     property Start: Integer dispid 3;
  13588.     property End_: Integer dispid 4;
  13589.     property Font: Font dispid 5;
  13590.     property Type_: WdSelectionType readonly dispid 6;
  13591.     property StoryType: WdStoryType readonly dispid 7;
  13592.     function Style: OleVariant; dispid 8;
  13593.     property Tables: Tables readonly dispid 50;
  13594.     property Words: Words readonly dispid 51;
  13595.     property Sentences: Sentences readonly dispid 52;
  13596.     property Characters: Characters readonly dispid 53;
  13597.     property Footnotes: Footnotes readonly dispid 54;
  13598.     property Endnotes: Endnotes readonly dispid 55;
  13599.     property Comments: Comments readonly dispid 56;
  13600.     property Cells: Cells readonly dispid 57;
  13601.     property Sections: Sections readonly dispid 58;
  13602.     property Paragraphs: Paragraphs readonly dispid 59;
  13603.     property Borders: Borders dispid 1100;
  13604.     property Shading: Shading readonly dispid 61;
  13605.     property Fields: Fields readonly dispid 64;
  13606.     property FormFields: FormFields readonly dispid 65;
  13607.     property Frames: Frames readonly dispid 66;
  13608.     property ParagraphFormat: ParagraphFormat dispid 1102;
  13609.     property PageSetup: PageSetup dispid 1101;
  13610.     property Bookmarks: Bookmarks readonly dispid 75;
  13611.     property StoryLength: Integer readonly dispid 152;
  13612.     property LanguageID: WdLanguageID dispid 153;
  13613.     property LanguageIDFarEast: WdLanguageID dispid 154;
  13614.     property LanguageIDOther: WdLanguageID dispid 155;
  13615.     property Hyperlinks: Hyperlinks readonly dispid 156;
  13616.     property Columns: Columns readonly dispid 302;
  13617.     property Rows: Rows readonly dispid 303;
  13618.     property HeaderFooter: HeaderFooter readonly dispid 306;
  13619.     property IsEndOfRowMark: WordBool readonly dispid 307;
  13620.     property BookmarkID: Integer readonly dispid 308;
  13621.     property PreviousBookmarkID: Integer readonly dispid 309;
  13622.     property Find: Find readonly dispid 262;
  13623.     property Range: Range readonly dispid 400;
  13624.     property Information[Type_: WdInformation]: OleVariant readonly dispid 401;
  13625.     property Flags: WdSelectionFlags dispid 402;
  13626.     property Active: WordBool readonly dispid 403;
  13627.     property StartIsActive: WordBool dispid 404;
  13628.     property IPAtEndOfLine: WordBool readonly dispid 405;
  13629.     property ExtendMode: WordBool dispid 406;
  13630.     property ColumnSelectMode: WordBool dispid 407;
  13631.     property Orientation: WdTextOrientation dispid 410;
  13632.     property InlineShapes: InlineShapes readonly dispid 411;
  13633.     property Application_: Application_ readonly dispid 1000;
  13634.     property Creator: Integer readonly dispid 1001;
  13635.     property Parent: IDispatch readonly dispid 1002;
  13636.     property Document: Document readonly dispid 1003;
  13637.     property ShapeRange: ShapeRange readonly dispid 1004;
  13638.     procedure Select; dispid 65535;
  13639.     procedure SetRange(Start: Integer; End_: Integer); dispid 100;
  13640.     procedure Collapse(var Direction: OleVariant); dispid 101;
  13641.     procedure InsertBefore(const Text: WideString); dispid 102;
  13642.     procedure InsertAfter(const Text: WideString); dispid 104;
  13643.     function Next(var Unit_: OleVariant; var Count: OleVariant): Range; dispid 105;
  13644.     function Previous(var Unit_: OleVariant; var Count: OleVariant): Range; dispid 106;
  13645.     function StartOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; dispid 107;
  13646.     function EndOf(var Unit_: OleVariant; var Extend: OleVariant): Integer; dispid 108;
  13647.     function Move(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 109;
  13648.     function MoveStart(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 110;
  13649.     function MoveEnd(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 111;
  13650.     function MoveWhile(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 112;
  13651.     function MoveStartWhile(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 113;
  13652.     function MoveEndWhile(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 114;
  13653.     function MoveUntil(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 115;
  13654.     function MoveStartUntil(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 116;
  13655.     function MoveEndUntil(var Cset: OleVariant; var Count: OleVariant): Integer; dispid 117;
  13656.     procedure Cut; dispid 119;
  13657.     procedure Copy; dispid 120;
  13658.     procedure Paste; dispid 121;
  13659.     procedure InsertBreak(var Type_: OleVariant); dispid 122;
  13660.     procedure InsertFile(const FileName: WideString; var Range: OleVariant; 
  13661.                          var ConfirmConversions: OleVariant; var Link: OleVariant; 
  13662.                          var Attachment: OleVariant); dispid 123;
  13663.     function InStory(const Range: Range): WordBool; dispid 125;
  13664.     function InRange(const Range: Range): WordBool; dispid 126;
  13665.     function Delete(var Unit_: OleVariant; var Count: OleVariant): Integer; dispid 127;
  13666.     function Expand(var Unit_: OleVariant): Integer; dispid 129;
  13667.     procedure InsertParagraph; dispid 160;
  13668.     procedure InsertParagraphAfter; dispid 161;
  13669.     function ConvertToTableOld(var Separator: OleVariant; var NumRows: OleVariant; 
  13670.                                var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  13671.                                var Format: OleVariant; var ApplyBorders: OleVariant; 
  13672.                                var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  13673.                                var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  13674.                                var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  13675.                                var ApplyLastColumn: OleVariant; var AutoFit: OleVariant): Table; dispid 162;
  13676.     procedure InsertDateTimeOld(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  13677.                                 var InsertAsFullWidth: OleVariant); dispid 163;
  13678.     procedure InsertSymbol(CharacterNumber: Integer; var Font: OleVariant; var Unicode: OleVariant; 
  13679.                            var Bias: OleVariant); dispid 164;
  13680.     procedure InsertCrossReference(var ReferenceType: OleVariant; ReferenceKind: WdReferenceKind; 
  13681.                                    var ReferenceItem: OleVariant; 
  13682.                                    var InsertAsHyperlink: OleVariant; 
  13683.                                    var IncludePosition: OleVariant); dispid 165;
  13684.     procedure InsertCaption(var Label_: OleVariant; var Title: OleVariant; 
  13685.                             var TitleAutoText: OleVariant; var Position: OleVariant); dispid 166;
  13686.     procedure CopyAsPicture; dispid 167;
  13687.     procedure SortOld(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  13688.                       var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  13689.                       var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  13690.                       var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  13691.                       var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  13692.                       var SortColumn: OleVariant; var Separator: OleVariant; 
  13693.                       var CaseSensitive: OleVariant; var LanguageID: OleVariant); dispid 168;
  13694.     procedure SortAscending; dispid 169;
  13695.     procedure SortDescending; dispid 170;
  13696.     function IsEqual(const Range: Range): WordBool; dispid 171;
  13697.     function Calculate: Single; dispid 172;
  13698.     function GoTo_(var What: OleVariant; var Which: OleVariant; var Count: OleVariant; 
  13699.                    var Name: OleVariant): Range; dispid 173;
  13700.     function GoToNext(What: WdGoToItem): Range; dispid 174;
  13701.     function GoToPrevious(What: WdGoToItem): Range; dispid 175;
  13702.     procedure PasteSpecial(var IconIndex: OleVariant; var Link: OleVariant; 
  13703.                            var Placement: OleVariant; var DisplayAsIcon: OleVariant; 
  13704.                            var DataType: OleVariant; var IconFileName: OleVariant; 
  13705.                            var IconLabel: OleVariant); dispid 176;
  13706.     function PreviousField: Field; dispid 177;
  13707.     function NextField: Field; dispid 178;
  13708.     procedure InsertParagraphBefore; dispid 212;
  13709.     procedure InsertCells(var ShiftCells: OleVariant); dispid 214;
  13710.     procedure Extend(var Character: OleVariant); dispid 300;
  13711.     procedure Shrink; dispid 301;
  13712.     function MoveLeft(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; dispid 500;
  13713.     function MoveRight(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; dispid 501;
  13714.     function MoveUp(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; dispid 502;
  13715.     function MoveDown(var Unit_: OleVariant; var Count: OleVariant; var Extend: OleVariant): Integer; dispid 503;
  13716.     function HomeKey(var Unit_: OleVariant; var Extend: OleVariant): Integer; dispid 504;
  13717.     function EndKey(var Unit_: OleVariant; var Extend: OleVariant): Integer; dispid 505;
  13718.     procedure EscapeKey; dispid 506;
  13719.     procedure TypeText(const Text: WideString); dispid 507;
  13720.     procedure CopyFormat; dispid 509;
  13721.     procedure PasteFormat; dispid 510;
  13722.     procedure TypeParagraph; dispid 512;
  13723.     procedure TypeBackspace; dispid 513;
  13724.     procedure NextSubdocument; dispid 514;
  13725.     procedure PreviousSubdocument; dispid 515;
  13726.     procedure SelectColumn; dispid 516;
  13727.     procedure SelectCurrentFont; dispid 517;
  13728.     procedure SelectCurrentAlignment; dispid 518;
  13729.     procedure SelectCurrentSpacing; dispid 519;
  13730.     procedure SelectCurrentIndent; dispid 520;
  13731.     procedure SelectCurrentTabs; dispid 521;
  13732.     procedure SelectCurrentColor; dispid 522;
  13733.     procedure CreateTextbox; dispid 523;
  13734.     procedure WholeStory; dispid 524;
  13735.     procedure SelectRow; dispid 525;
  13736.     procedure SplitTable; dispid 526;
  13737.     procedure InsertRows(var NumRows: OleVariant); dispid 528;
  13738.     procedure InsertColumns; dispid 529;
  13739.     procedure InsertFormula(var Formula: OleVariant; var NumberFormat: OleVariant); dispid 530;
  13740.     function NextRevision(var Wrap: OleVariant): Revision; dispid 531;
  13741.     function PreviousRevision(var Wrap: OleVariant): Revision; dispid 532;
  13742.     procedure PasteAsNestedTable; dispid 533;
  13743.     function CreateAutoTextEntry(const Name: WideString; const StyleName: WideString): AutoTextEntry; dispid 534;
  13744.     procedure DetectLanguage; dispid 535;
  13745.     procedure SelectCell; dispid 536;
  13746.     procedure InsertRowsBelow(var NumRows: OleVariant); dispid 537;
  13747.     procedure InsertColumnsRight; dispid 538;
  13748.     procedure InsertRowsAbove(var NumRows: OleVariant); dispid 539;
  13749.     procedure RtlRun; dispid 600;
  13750.     procedure LtrRun; dispid 601;
  13751.     procedure BoldRun; dispid 602;
  13752.     procedure ItalicRun; dispid 603;
  13753.     procedure RtlPara; dispid 605;
  13754.     procedure LtrPara; dispid 606;
  13755.     procedure InsertDateTime(var DateTimeFormat: OleVariant; var InsertAsField: OleVariant; 
  13756.                              var InsertAsFullWidth: OleVariant; var DateLanguage: OleVariant; 
  13757.                              var CalendarType: OleVariant); dispid 444;
  13758.     procedure Sort(var ExcludeHeader: OleVariant; var FieldNumber: OleVariant; 
  13759.                    var SortFieldType: OleVariant; var SortOrder: OleVariant; 
  13760.                    var FieldNumber2: OleVariant; var SortFieldType2: OleVariant; 
  13761.                    var SortOrder2: OleVariant; var FieldNumber3: OleVariant; 
  13762.                    var SortFieldType3: OleVariant; var SortOrder3: OleVariant; 
  13763.                    var SortColumn: OleVariant; var Separator: OleVariant; 
  13764.                    var CaseSensitive: OleVariant; var BidiSort: OleVariant; 
  13765.                    var IgnoreThe: OleVariant; var IgnoreKashida: OleVariant; 
  13766.                    var IgnoreDiacritics: OleVariant; var IgnoreHe: OleVariant; 
  13767.                    var LanguageID: OleVariant); dispid 445;
  13768.     function ConvertToTable(var Separator: OleVariant; var NumRows: OleVariant; 
  13769.                             var NumColumns: OleVariant; var InitialColumnWidth: OleVariant; 
  13770.                             var Format: OleVariant; var ApplyBorders: OleVariant; 
  13771.                             var ApplyShading: OleVariant; var ApplyFont: OleVariant; 
  13772.                             var ApplyColor: OleVariant; var ApplyHeadingRows: OleVariant; 
  13773.                             var ApplyLastRow: OleVariant; var ApplyFirstColumn: OleVariant; 
  13774.                             var ApplyLastColumn: OleVariant; var AutoFit: OleVariant; 
  13775.                             var AutoFitBehavior: OleVariant; var DefaultTableBehavior: OleVariant): Table; dispid 457;
  13776.     property NoProofing: Integer dispid 1005;
  13777.     property TopLevelTables: Tables readonly dispid 1006;
  13778.     property LanguageDetected: WordBool dispid 1007;
  13779.     property FitTextWidth: Single dispid 1008;
  13780.   end;
  13781.  
  13782. // *********************************************************************//
  13783. // Interface: TablesOfAuthoritiesCategories
  13784. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13785. // GUID:      {00020976-0000-0000-C000-000000000046}
  13786. // *********************************************************************//
  13787.   TablesOfAuthoritiesCategories = interface(IDispatch)
  13788.     ['{00020976-0000-0000-C000-000000000046}']
  13789.     function Get_Application_: Application_; safecall;
  13790.     function Get_Creator: Integer; safecall;
  13791.     function Get_Parent: IDispatch; safecall;
  13792.     function Get__NewEnum: IUnknown; safecall;
  13793.     function Get_Count: Integer; safecall;
  13794.     function Item(var Index: OleVariant): TableOfAuthoritiesCategory; safecall;
  13795.     property Application_: Application_ read Get_Application_;
  13796.     property Creator: Integer read Get_Creator;
  13797.     property Parent: IDispatch read Get_Parent;
  13798.     property _NewEnum: IUnknown read Get__NewEnum;
  13799.     property Count: Integer read Get_Count;
  13800.   end;
  13801.  
  13802. // *********************************************************************//
  13803. // DispIntf:  TablesOfAuthoritiesCategoriesDisp
  13804. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13805. // GUID:      {00020976-0000-0000-C000-000000000046}
  13806. // *********************************************************************//
  13807.   TablesOfAuthoritiesCategoriesDisp = dispinterface
  13808.     ['{00020976-0000-0000-C000-000000000046}']
  13809.     property Application_: Application_ readonly dispid 1000;
  13810.     property Creator: Integer readonly dispid 1001;
  13811.     property Parent: IDispatch readonly dispid 1002;
  13812.     property _NewEnum: IUnknown readonly dispid -4;
  13813.     property Count: Integer readonly dispid 1;
  13814.     function Item(var Index: OleVariant): TableOfAuthoritiesCategory; dispid 0;
  13815.   end;
  13816.  
  13817. // *********************************************************************//
  13818. // Interface: TableOfAuthoritiesCategory
  13819. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13820. // GUID:      {00020977-0000-0000-C000-000000000046}
  13821. // *********************************************************************//
  13822.   TableOfAuthoritiesCategory = interface(IDispatch)
  13823.     ['{00020977-0000-0000-C000-000000000046}']
  13824.     function Get_Application_: Application_; safecall;
  13825.     function Get_Creator: Integer; safecall;
  13826.     function Get_Parent: IDispatch; safecall;
  13827.     function Get_Name: WideString; safecall;
  13828.     procedure Set_Name(const prop: WideString); safecall;
  13829.     function Get_Index: Integer; safecall;
  13830.     property Application_: Application_ read Get_Application_;
  13831.     property Creator: Integer read Get_Creator;
  13832.     property Parent: IDispatch read Get_Parent;
  13833.     property Name: WideString read Get_Name write Set_Name;
  13834.     property Index: Integer read Get_Index;
  13835.   end;
  13836.  
  13837. // *********************************************************************//
  13838. // DispIntf:  TableOfAuthoritiesCategoryDisp
  13839. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13840. // GUID:      {00020977-0000-0000-C000-000000000046}
  13841. // *********************************************************************//
  13842.   TableOfAuthoritiesCategoryDisp = dispinterface
  13843.     ['{00020977-0000-0000-C000-000000000046}']
  13844.     property Application_: Application_ readonly dispid 1000;
  13845.     property Creator: Integer readonly dispid 1001;
  13846.     property Parent: IDispatch readonly dispid 1002;
  13847.     property Name: WideString dispid 0;
  13848.     property Index: Integer readonly dispid 1;
  13849.   end;
  13850.  
  13851. // *********************************************************************//
  13852. // Interface: CaptionLabels
  13853. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13854. // GUID:      {00020978-0000-0000-C000-000000000046}
  13855. // *********************************************************************//
  13856.   CaptionLabels = interface(IDispatch)
  13857.     ['{00020978-0000-0000-C000-000000000046}']
  13858.     function Get_Application_: Application_; safecall;
  13859.     function Get_Creator: Integer; safecall;
  13860.     function Get_Parent: IDispatch; safecall;
  13861.     function Get__NewEnum: IUnknown; safecall;
  13862.     function Get_Count: Integer; safecall;
  13863.     function Item(var Index: OleVariant): CaptionLabel; safecall;
  13864.     function Add(const Name: WideString): CaptionLabel; safecall;
  13865.     property Application_: Application_ read Get_Application_;
  13866.     property Creator: Integer read Get_Creator;
  13867.     property Parent: IDispatch read Get_Parent;
  13868.     property _NewEnum: IUnknown read Get__NewEnum;
  13869.     property Count: Integer read Get_Count;
  13870.   end;
  13871.  
  13872. // *********************************************************************//
  13873. // DispIntf:  CaptionLabelsDisp
  13874. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13875. // GUID:      {00020978-0000-0000-C000-000000000046}
  13876. // *********************************************************************//
  13877.   CaptionLabelsDisp = dispinterface
  13878.     ['{00020978-0000-0000-C000-000000000046}']
  13879.     property Application_: Application_ readonly dispid 1000;
  13880.     property Creator: Integer readonly dispid 1001;
  13881.     property Parent: IDispatch readonly dispid 1002;
  13882.     property _NewEnum: IUnknown readonly dispid -4;
  13883.     property Count: Integer readonly dispid 1;
  13884.     function Item(var Index: OleVariant): CaptionLabel; dispid 0;
  13885.     function Add(const Name: WideString): CaptionLabel; dispid 100;
  13886.   end;
  13887.  
  13888. // *********************************************************************//
  13889. // Interface: CaptionLabel
  13890. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13891. // GUID:      {00020979-0000-0000-C000-000000000046}
  13892. // *********************************************************************//
  13893.   CaptionLabel = interface(IDispatch)
  13894.     ['{00020979-0000-0000-C000-000000000046}']
  13895.     function Get_Application_: Application_; safecall;
  13896.     function Get_Creator: Integer; safecall;
  13897.     function Get_Parent: IDispatch; safecall;
  13898.     function Get_Name: WideString; safecall;
  13899.     function Get_BuiltIn: WordBool; safecall;
  13900.     function Get_ID: WdCaptionLabelID; safecall;
  13901.     function Get_IncludeChapterNumber: WordBool; safecall;
  13902.     procedure Set_IncludeChapterNumber(prop: WordBool); safecall;
  13903.     function Get_NumberStyle: WdCaptionNumberStyle; safecall;
  13904.     procedure Set_NumberStyle(prop: WdCaptionNumberStyle); safecall;
  13905.     function Get_ChapterStyleLevel: Integer; safecall;
  13906.     procedure Set_ChapterStyleLevel(prop: Integer); safecall;
  13907.     function Get_Separator: WdSeparatorType; safecall;
  13908.     procedure Set_Separator(prop: WdSeparatorType); safecall;
  13909.     function Get_Position: WdCaptionPosition; safecall;
  13910.     procedure Set_Position(prop: WdCaptionPosition); safecall;
  13911.     procedure Delete; safecall;
  13912.     property Application_: Application_ read Get_Application_;
  13913.     property Creator: Integer read Get_Creator;
  13914.     property Parent: IDispatch read Get_Parent;
  13915.     property Name: WideString read Get_Name;
  13916.     property BuiltIn: WordBool read Get_BuiltIn;
  13917.     property ID: WdCaptionLabelID read Get_ID;
  13918.     property IncludeChapterNumber: WordBool read Get_IncludeChapterNumber write Set_IncludeChapterNumber;
  13919.     property NumberStyle: WdCaptionNumberStyle read Get_NumberStyle write Set_NumberStyle;
  13920.     property ChapterStyleLevel: Integer read Get_ChapterStyleLevel write Set_ChapterStyleLevel;
  13921.     property Separator: WdSeparatorType read Get_Separator write Set_Separator;
  13922.     property Position: WdCaptionPosition read Get_Position write Set_Position;
  13923.   end;
  13924.  
  13925. // *********************************************************************//
  13926. // DispIntf:  CaptionLabelDisp
  13927. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13928. // GUID:      {00020979-0000-0000-C000-000000000046}
  13929. // *********************************************************************//
  13930.   CaptionLabelDisp = dispinterface
  13931.     ['{00020979-0000-0000-C000-000000000046}']
  13932.     property Application_: Application_ readonly dispid 1000;
  13933.     property Creator: Integer readonly dispid 1001;
  13934.     property Parent: IDispatch readonly dispid 1002;
  13935.     property Name: WideString readonly dispid 0;
  13936.     property BuiltIn: WordBool readonly dispid 1;
  13937.     property ID: WdCaptionLabelID readonly dispid 2;
  13938.     property IncludeChapterNumber: WordBool dispid 3;
  13939.     property NumberStyle: WdCaptionNumberStyle dispid 4;
  13940.     property ChapterStyleLevel: Integer dispid 5;
  13941.     property Separator: WdSeparatorType dispid 6;
  13942.     property Position: WdCaptionPosition dispid 7;
  13943.     procedure Delete; dispid 100;
  13944.   end;
  13945.  
  13946. // *********************************************************************//
  13947. // Interface: AutoCaptions
  13948. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13949. // GUID:      {0002097A-0000-0000-C000-000000000046}
  13950. // *********************************************************************//
  13951.   AutoCaptions = interface(IDispatch)
  13952.     ['{0002097A-0000-0000-C000-000000000046}']
  13953.     function Get_Application_: Application_; safecall;
  13954.     function Get_Creator: Integer; safecall;
  13955.     function Get_Parent: IDispatch; safecall;
  13956.     function Get__NewEnum: IUnknown; safecall;
  13957.     function Get_Count: Integer; safecall;
  13958.     function Item(var Index: OleVariant): AutoCaption; safecall;
  13959.     procedure CancelAutoInsert; safecall;
  13960.     property Application_: Application_ read Get_Application_;
  13961.     property Creator: Integer read Get_Creator;
  13962.     property Parent: IDispatch read Get_Parent;
  13963.     property _NewEnum: IUnknown read Get__NewEnum;
  13964.     property Count: Integer read Get_Count;
  13965.   end;
  13966.  
  13967. // *********************************************************************//
  13968. // DispIntf:  AutoCaptionsDisp
  13969. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13970. // GUID:      {0002097A-0000-0000-C000-000000000046}
  13971. // *********************************************************************//
  13972.   AutoCaptionsDisp = dispinterface
  13973.     ['{0002097A-0000-0000-C000-000000000046}']
  13974.     property Application_: Application_ readonly dispid 1000;
  13975.     property Creator: Integer readonly dispid 1001;
  13976.     property Parent: IDispatch readonly dispid 1002;
  13977.     property _NewEnum: IUnknown readonly dispid -4;
  13978.     property Count: Integer readonly dispid 1;
  13979.     function Item(var Index: OleVariant): AutoCaption; dispid 0;
  13980.     procedure CancelAutoInsert; dispid 100;
  13981.   end;
  13982.  
  13983. // *********************************************************************//
  13984. // Interface: AutoCaption
  13985. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  13986. // GUID:      {0002097B-0000-0000-C000-000000000046}
  13987. // *********************************************************************//
  13988.   AutoCaption = interface(IDispatch)
  13989.     ['{0002097B-0000-0000-C000-000000000046}']
  13990.     function Get_Application_: Application_; safecall;
  13991.     function Get_Creator: Integer; safecall;
  13992.     function Get_Parent: IDispatch; safecall;
  13993.     function Get_Name: WideString; safecall;
  13994.     function Get_AutoInsert: WordBool; safecall;
  13995.     procedure Set_AutoInsert(prop: WordBool); safecall;
  13996.     function Get_Index: Integer; safecall;
  13997.     function Get_CaptionLabel: OleVariant; safecall;
  13998.     procedure Set_CaptionLabel(var prop: OleVariant); safecall;
  13999.     property Application_: Application_ read Get_Application_;
  14000.     property Creator: Integer read Get_Creator;
  14001.     property Parent: IDispatch read Get_Parent;
  14002.     property Name: WideString read Get_Name;
  14003.     property AutoInsert: WordBool read Get_AutoInsert write Set_AutoInsert;
  14004.     property Index: Integer read Get_Index;
  14005.   end;
  14006.  
  14007. // *********************************************************************//
  14008. // DispIntf:  AutoCaptionDisp
  14009. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14010. // GUID:      {0002097B-0000-0000-C000-000000000046}
  14011. // *********************************************************************//
  14012.   AutoCaptionDisp = dispinterface
  14013.     ['{0002097B-0000-0000-C000-000000000046}']
  14014.     property Application_: Application_ readonly dispid 1000;
  14015.     property Creator: Integer readonly dispid 1001;
  14016.     property Parent: IDispatch readonly dispid 1002;
  14017.     property Name: WideString readonly dispid 0;
  14018.     property AutoInsert: WordBool dispid 1;
  14019.     property Index: Integer readonly dispid 2;
  14020.     function CaptionLabel: OleVariant; dispid 3;
  14021.   end;
  14022.  
  14023. // *********************************************************************//
  14024. // Interface: Indexes
  14025. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14026. // GUID:      {0002097C-0000-0000-C000-000000000046}
  14027. // *********************************************************************//
  14028.   Indexes = interface(IDispatch)
  14029.     ['{0002097C-0000-0000-C000-000000000046}']
  14030.     function Get_Application_: Application_; safecall;
  14031.     function Get_Creator: Integer; safecall;
  14032.     function Get_Parent: IDispatch; safecall;
  14033.     function Get__NewEnum: IUnknown; safecall;
  14034.     function Get_Count: Integer; safecall;
  14035.     function Get_Format: WdIndexFormat; safecall;
  14036.     procedure Set_Format(prop: WdIndexFormat); safecall;
  14037.     function Item(Index: Integer): Index; safecall;
  14038.     function AddOld(const Range: Range; var HeadingSeparator: OleVariant; 
  14039.                     var RightAlignPageNumbers: OleVariant; var Type_: OleVariant; 
  14040.                     var NumberOfColumns: OleVariant; var AccentedLetters: OleVariant): Index; safecall;
  14041.     function MarkEntry(const Range: Range; var Entry: OleVariant; var EntryAutoText: OleVariant; 
  14042.                        var CrossReference: OleVariant; var CrossReferenceAutoText: OleVariant; 
  14043.                        var BookmarkName: OleVariant; var Bold: OleVariant; var Italic: OleVariant; 
  14044.                        var Reading: OleVariant): Field; safecall;
  14045.     procedure MarkAllEntries(const Range: Range; var Entry: OleVariant; 
  14046.                              var EntryAutoText: OleVariant; var CrossReference: OleVariant; 
  14047.                              var CrossReferenceAutoText: OleVariant; var BookmarkName: OleVariant; 
  14048.                              var Bold: OleVariant; var Italic: OleVariant); safecall;
  14049.     procedure AutoMarkEntries(const ConcordanceFileName: WideString); safecall;
  14050.     function Add(const Range: Range; var HeadingSeparator: OleVariant; 
  14051.                  var RightAlignPageNumbers: OleVariant; var Type_: OleVariant; 
  14052.                  var NumberOfColumns: OleVariant; var AccentedLetters: OleVariant; 
  14053.                  var SortBy: OleVariant; var IndexLanguage: OleVariant): Index; safecall;
  14054.     property Application_: Application_ read Get_Application_;
  14055.     property Creator: Integer read Get_Creator;
  14056.     property Parent: IDispatch read Get_Parent;
  14057.     property _NewEnum: IUnknown read Get__NewEnum;
  14058.     property Count: Integer read Get_Count;
  14059.     property Format: WdIndexFormat read Get_Format write Set_Format;
  14060.   end;
  14061.  
  14062. // *********************************************************************//
  14063. // DispIntf:  IndexesDisp
  14064. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14065. // GUID:      {0002097C-0000-0000-C000-000000000046}
  14066. // *********************************************************************//
  14067.   IndexesDisp = dispinterface
  14068.     ['{0002097C-0000-0000-C000-000000000046}']
  14069.     property Application_: Application_ readonly dispid 1000;
  14070.     property Creator: Integer readonly dispid 1001;
  14071.     property Parent: IDispatch readonly dispid 1002;
  14072.     property _NewEnum: IUnknown readonly dispid -4;
  14073.     property Count: Integer readonly dispid 1;
  14074.     property Format: WdIndexFormat dispid 2;
  14075.     function Item(Index: Integer): Index; dispid 0;
  14076.     function AddOld(const Range: Range; var HeadingSeparator: OleVariant; 
  14077.                     var RightAlignPageNumbers: OleVariant; var Type_: OleVariant; 
  14078.                     var NumberOfColumns: OleVariant; var AccentedLetters: OleVariant): Index; dispid 100;
  14079.     function MarkEntry(const Range: Range; var Entry: OleVariant; var EntryAutoText: OleVariant; 
  14080.                        var CrossReference: OleVariant; var CrossReferenceAutoText: OleVariant; 
  14081.                        var BookmarkName: OleVariant; var Bold: OleVariant; var Italic: OleVariant; 
  14082.                        var Reading: OleVariant): Field; dispid 101;
  14083.     procedure MarkAllEntries(const Range: Range; var Entry: OleVariant; 
  14084.                              var EntryAutoText: OleVariant; var CrossReference: OleVariant; 
  14085.                              var CrossReferenceAutoText: OleVariant; var BookmarkName: OleVariant; 
  14086.                              var Bold: OleVariant; var Italic: OleVariant); dispid 102;
  14087.     procedure AutoMarkEntries(const ConcordanceFileName: WideString); dispid 103;
  14088.     function Add(const Range: Range; var HeadingSeparator: OleVariant; 
  14089.                  var RightAlignPageNumbers: OleVariant; var Type_: OleVariant; 
  14090.                  var NumberOfColumns: OleVariant; var AccentedLetters: OleVariant; 
  14091.                  var SortBy: OleVariant; var IndexLanguage: OleVariant): Index; dispid 104;
  14092.   end;
  14093.  
  14094. // *********************************************************************//
  14095. // Interface: Index
  14096. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14097. // GUID:      {0002097D-0000-0000-C000-000000000046}
  14098. // *********************************************************************//
  14099.   Index = interface(IDispatch)
  14100.     ['{0002097D-0000-0000-C000-000000000046}']
  14101.     function Get_Application_: Application_; safecall;
  14102.     function Get_Creator: Integer; safecall;
  14103.     function Get_Parent: IDispatch; safecall;
  14104.     function Get_HeadingSeparator: WdHeadingSeparator; safecall;
  14105.     procedure Set_HeadingSeparator(prop: WdHeadingSeparator); safecall;
  14106.     function Get_RightAlignPageNumbers: WordBool; safecall;
  14107.     procedure Set_RightAlignPageNumbers(prop: WordBool); safecall;
  14108.     function Get_Type_: WdIndexType; safecall;
  14109.     procedure Set_Type_(prop: WdIndexType); safecall;
  14110.     function Get_NumberOfColumns: Integer; safecall;
  14111.     procedure Set_NumberOfColumns(prop: Integer); safecall;
  14112.     function Get_Range: Range; safecall;
  14113.     function Get_TabLeader: WdTabLeader; safecall;
  14114.     procedure Set_TabLeader(prop: WdTabLeader); safecall;
  14115.     function Get_AccentedLetters: WordBool; safecall;
  14116.     procedure Set_AccentedLetters(prop: WordBool); safecall;
  14117.     function Get_SortBy: WdIndexSortBy; safecall;
  14118.     procedure Set_SortBy(prop: WdIndexSortBy); safecall;
  14119.     function Get_Filter: WdIndexFilter; safecall;
  14120.     procedure Set_Filter(prop: WdIndexFilter); safecall;
  14121.     procedure Delete; safecall;
  14122.     procedure Update; safecall;
  14123.     function Get_IndexLanguage: WdLanguageID; safecall;
  14124.     procedure Set_IndexLanguage(prop: WdLanguageID); safecall;
  14125.     property Application_: Application_ read Get_Application_;
  14126.     property Creator: Integer read Get_Creator;
  14127.     property Parent: IDispatch read Get_Parent;
  14128.     property HeadingSeparator: WdHeadingSeparator read Get_HeadingSeparator write Set_HeadingSeparator;
  14129.     property RightAlignPageNumbers: WordBool read Get_RightAlignPageNumbers write Set_RightAlignPageNumbers;
  14130.     property Type_: WdIndexType read Get_Type_ write Set_Type_;
  14131.     property NumberOfColumns: Integer read Get_NumberOfColumns write Set_NumberOfColumns;
  14132.     property Range: Range read Get_Range;
  14133.     property TabLeader: WdTabLeader read Get_TabLeader write Set_TabLeader;
  14134.     property AccentedLetters: WordBool read Get_AccentedLetters write Set_AccentedLetters;
  14135.     property SortBy: WdIndexSortBy read Get_SortBy write Set_SortBy;
  14136.     property Filter: WdIndexFilter read Get_Filter write Set_Filter;
  14137.     property IndexLanguage: WdLanguageID read Get_IndexLanguage write Set_IndexLanguage;
  14138.   end;
  14139.  
  14140. // *********************************************************************//
  14141. // DispIntf:  IndexDisp
  14142. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14143. // GUID:      {0002097D-0000-0000-C000-000000000046}
  14144. // *********************************************************************//
  14145.   IndexDisp = dispinterface
  14146.     ['{0002097D-0000-0000-C000-000000000046}']
  14147.     property Application_: Application_ readonly dispid 1000;
  14148.     property Creator: Integer readonly dispid 1001;
  14149.     property Parent: IDispatch readonly dispid 1002;
  14150.     property HeadingSeparator: WdHeadingSeparator dispid 1;
  14151.     property RightAlignPageNumbers: WordBool dispid 2;
  14152.     property Type_: WdIndexType dispid 3;
  14153.     property NumberOfColumns: Integer dispid 4;
  14154.     property Range: Range readonly dispid 5;
  14155.     property TabLeader: WdTabLeader dispid 6;
  14156.     property AccentedLetters: WordBool dispid 7;
  14157.     property SortBy: WdIndexSortBy dispid 8;
  14158.     property Filter: WdIndexFilter dispid 9;
  14159.     procedure Delete; dispid 100;
  14160.     procedure Update; dispid 102;
  14161.     property IndexLanguage: WdLanguageID dispid 10;
  14162.   end;
  14163.  
  14164. // *********************************************************************//
  14165. // Interface: AddIn
  14166. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14167. // GUID:      {0002097E-0000-0000-C000-000000000046}
  14168. // *********************************************************************//
  14169.   AddIn = interface(IDispatch)
  14170.     ['{0002097E-0000-0000-C000-000000000046}']
  14171.     function Get_Application_: Application_; safecall;
  14172.     function Get_Creator: Integer; safecall;
  14173.     function Get_Parent: IDispatch; safecall;
  14174.     function Get_Name: WideString; safecall;
  14175.     function Get_Index: Integer; safecall;
  14176.     function Get_Path: WideString; safecall;
  14177.     function Get_Installed: WordBool; safecall;
  14178.     procedure Set_Installed(prop: WordBool); safecall;
  14179.     function Get_Compiled: WordBool; safecall;
  14180.     function Get_Autoload: WordBool; safecall;
  14181.     procedure Delete; safecall;
  14182.     property Application_: Application_ read Get_Application_;
  14183.     property Creator: Integer read Get_Creator;
  14184.     property Parent: IDispatch read Get_Parent;
  14185.     property Name: WideString read Get_Name;
  14186.     property Index: Integer read Get_Index;
  14187.     property Path: WideString read Get_Path;
  14188.     property Installed: WordBool read Get_Installed write Set_Installed;
  14189.     property Compiled: WordBool read Get_Compiled;
  14190.     property Autoload: WordBool read Get_Autoload;
  14191.   end;
  14192.  
  14193. // *********************************************************************//
  14194. // DispIntf:  AddInDisp
  14195. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14196. // GUID:      {0002097E-0000-0000-C000-000000000046}
  14197. // *********************************************************************//
  14198.   AddInDisp = dispinterface
  14199.     ['{0002097E-0000-0000-C000-000000000046}']
  14200.     property Application_: Application_ readonly dispid 1000;
  14201.     property Creator: Integer readonly dispid 1001;
  14202.     property Parent: IDispatch readonly dispid 1002;
  14203.     property Name: WideString readonly dispid 0;
  14204.     property Index: Integer readonly dispid 1;
  14205.     property Path: WideString readonly dispid 3;
  14206.     property Installed: WordBool dispid 4;
  14207.     property Compiled: WordBool readonly dispid 5;
  14208.     property Autoload: WordBool readonly dispid 6;
  14209.     procedure Delete; dispid 101;
  14210.   end;
  14211.  
  14212. // *********************************************************************//
  14213. // Interface: AddIns
  14214. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14215. // GUID:      {0002097F-0000-0000-C000-000000000046}
  14216. // *********************************************************************//
  14217.   AddIns = interface(IDispatch)
  14218.     ['{0002097F-0000-0000-C000-000000000046}']
  14219.     function Get_Application_: Application_; safecall;
  14220.     function Get_Creator: Integer; safecall;
  14221.     function Get_Parent: IDispatch; safecall;
  14222.     function Get__NewEnum: IUnknown; safecall;
  14223.     function Get_Count: Integer; safecall;
  14224.     function Item(var Index: OleVariant): AddIn; safecall;
  14225.     function Add(const FileName: WideString; var Install: OleVariant): AddIn; safecall;
  14226.     procedure Unload(RemoveFromList: WordBool); safecall;
  14227.     property Application_: Application_ read Get_Application_;
  14228.     property Creator: Integer read Get_Creator;
  14229.     property Parent: IDispatch read Get_Parent;
  14230.     property _NewEnum: IUnknown read Get__NewEnum;
  14231.     property Count: Integer read Get_Count;
  14232.   end;
  14233.  
  14234. // *********************************************************************//
  14235. // DispIntf:  AddInsDisp
  14236. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14237. // GUID:      {0002097F-0000-0000-C000-000000000046}
  14238. // *********************************************************************//
  14239.   AddInsDisp = dispinterface
  14240.     ['{0002097F-0000-0000-C000-000000000046}']
  14241.     property Application_: Application_ readonly dispid 1000;
  14242.     property Creator: Integer readonly dispid 1001;
  14243.     property Parent: IDispatch readonly dispid 1002;
  14244.     property _NewEnum: IUnknown readonly dispid -4;
  14245.     property Count: Integer readonly dispid 1;
  14246.     function Item(var Index: OleVariant): AddIn; dispid 0;
  14247.     function Add(const FileName: WideString; var Install: OleVariant): AddIn; dispid 2;
  14248.     procedure Unload(RemoveFromList: WordBool); dispid 3;
  14249.   end;
  14250.  
  14251. // *********************************************************************//
  14252. // Interface: Revisions
  14253. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14254. // GUID:      {00020980-0000-0000-C000-000000000046}
  14255. // *********************************************************************//
  14256.   Revisions = interface(IDispatch)
  14257.     ['{00020980-0000-0000-C000-000000000046}']
  14258.     function Get_Application_: Application_; safecall;
  14259.     function Get_Creator: Integer; safecall;
  14260.     function Get_Parent: IDispatch; safecall;
  14261.     function Get__NewEnum: IUnknown; safecall;
  14262.     function Get_Count: Integer; safecall;
  14263.     function Item(Index: Integer): Revision; safecall;
  14264.     procedure AcceptAll; safecall;
  14265.     procedure RejectAll; safecall;
  14266.     property Application_: Application_ read Get_Application_;
  14267.     property Creator: Integer read Get_Creator;
  14268.     property Parent: IDispatch read Get_Parent;
  14269.     property _NewEnum: IUnknown read Get__NewEnum;
  14270.     property Count: Integer read Get_Count;
  14271.   end;
  14272.  
  14273. // *********************************************************************//
  14274. // DispIntf:  RevisionsDisp
  14275. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14276. // GUID:      {00020980-0000-0000-C000-000000000046}
  14277. // *********************************************************************//
  14278.   RevisionsDisp = dispinterface
  14279.     ['{00020980-0000-0000-C000-000000000046}']
  14280.     property Application_: Application_ readonly dispid 1000;
  14281.     property Creator: Integer readonly dispid 1001;
  14282.     property Parent: IDispatch readonly dispid 1002;
  14283.     property _NewEnum: IUnknown readonly dispid -4;
  14284.     property Count: Integer readonly dispid 5;
  14285.     function Item(Index: Integer): Revision; dispid 0;
  14286.     procedure AcceptAll; dispid 101;
  14287.     procedure RejectAll; dispid 102;
  14288.   end;
  14289.  
  14290. // *********************************************************************//
  14291. // Interface: Revision
  14292. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14293. // GUID:      {00020981-0000-0000-C000-000000000046}
  14294. // *********************************************************************//
  14295.   Revision = interface(IDispatch)
  14296.     ['{00020981-0000-0000-C000-000000000046}']
  14297.     function Get_Application_: Application_; safecall;
  14298.     function Get_Creator: Integer; safecall;
  14299.     function Get_Parent: IDispatch; safecall;
  14300.     function Get_Author: WideString; safecall;
  14301.     function Get_Date: TDateTime; safecall;
  14302.     function Get_Range: Range; safecall;
  14303.     function Get_Type_: WdRevisionType; safecall;
  14304.     function Get_Index: Integer; safecall;
  14305.     procedure Accept; safecall;
  14306.     procedure Reject; safecall;
  14307.     property Application_: Application_ read Get_Application_;
  14308.     property Creator: Integer read Get_Creator;
  14309.     property Parent: IDispatch read Get_Parent;
  14310.     property Author: WideString read Get_Author;
  14311.     property Date: TDateTime read Get_Date;
  14312.     property Range: Range read Get_Range;
  14313.     property Type_: WdRevisionType read Get_Type_;
  14314.     property Index: Integer read Get_Index;
  14315.   end;
  14316.  
  14317. // *********************************************************************//
  14318. // DispIntf:  RevisionDisp
  14319. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14320. // GUID:      {00020981-0000-0000-C000-000000000046}
  14321. // *********************************************************************//
  14322.   RevisionDisp = dispinterface
  14323.     ['{00020981-0000-0000-C000-000000000046}']
  14324.     property Application_: Application_ readonly dispid 1000;
  14325.     property Creator: Integer readonly dispid 1001;
  14326.     property Parent: IDispatch readonly dispid 1002;
  14327.     property Author: WideString readonly dispid 1;
  14328.     property Date: TDateTime readonly dispid 2;
  14329.     property Range: Range readonly dispid 3;
  14330.     property Type_: WdRevisionType readonly dispid 4;
  14331.     property Index: Integer readonly dispid 5;
  14332.     procedure Accept; dispid 101;
  14333.     procedure Reject; dispid 102;
  14334.   end;
  14335.  
  14336. // *********************************************************************//
  14337. // Interface: Task
  14338. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14339. // GUID:      {00020982-0000-0000-C000-000000000046}
  14340. // *********************************************************************//
  14341.   Task = interface(IDispatch)
  14342.     ['{00020982-0000-0000-C000-000000000046}']
  14343.     function Get_Application_: Application_; safecall;
  14344.     function Get_Creator: Integer; safecall;
  14345.     function Get_Parent: IDispatch; safecall;
  14346.     function Get_Name: WideString; safecall;
  14347.     function Get_Left: Integer; safecall;
  14348.     procedure Set_Left(prop: Integer); safecall;
  14349.     function Get_Top: Integer; safecall;
  14350.     procedure Set_Top(prop: Integer); safecall;
  14351.     function Get_Width: Integer; safecall;
  14352.     procedure Set_Width(prop: Integer); safecall;
  14353.     function Get_Height: Integer; safecall;
  14354.     procedure Set_Height(prop: Integer); safecall;
  14355.     function Get_WindowState: WdWindowState; safecall;
  14356.     procedure Set_WindowState(prop: WdWindowState); safecall;
  14357.     function Get_Visible: WordBool; safecall;
  14358.     procedure Set_Visible(prop: WordBool); safecall;
  14359.     procedure Activate(var Wait: OleVariant); safecall;
  14360.     procedure Close; safecall;
  14361.     procedure Move(Left: Integer; Top: Integer); safecall;
  14362.     procedure Resize(Width: Integer; Height: Integer); safecall;
  14363.     procedure SendWindowMessage(Message: Integer; wParam: Integer; lParam: Integer); safecall;
  14364.     property Application_: Application_ read Get_Application_;
  14365.     property Creator: Integer read Get_Creator;
  14366.     property Parent: IDispatch read Get_Parent;
  14367.     property Name: WideString read Get_Name;
  14368.     property Left: Integer read Get_Left write Set_Left;
  14369.     property Top: Integer read Get_Top write Set_Top;
  14370.     property Width: Integer read Get_Width write Set_Width;
  14371.     property Height: Integer read Get_Height write Set_Height;
  14372.     property WindowState: WdWindowState read Get_WindowState write Set_WindowState;
  14373.     property Visible: WordBool read Get_Visible write Set_Visible;
  14374.   end;
  14375.  
  14376. // *********************************************************************//
  14377. // DispIntf:  TaskDisp
  14378. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14379. // GUID:      {00020982-0000-0000-C000-000000000046}
  14380. // *********************************************************************//
  14381.   TaskDisp = dispinterface
  14382.     ['{00020982-0000-0000-C000-000000000046}']
  14383.     property Application_: Application_ readonly dispid 1000;
  14384.     property Creator: Integer readonly dispid 1001;
  14385.     property Parent: IDispatch readonly dispid 1002;
  14386.     property Name: WideString readonly dispid 0;
  14387.     property Left: Integer dispid 1;
  14388.     property Top: Integer dispid 2;
  14389.     property Width: Integer dispid 3;
  14390.     property Height: Integer dispid 4;
  14391.     property WindowState: WdWindowState dispid 5;
  14392.     property Visible: WordBool dispid 6;
  14393.     procedure Activate(var Wait: OleVariant); dispid 10;
  14394.     procedure Close; dispid 11;
  14395.     procedure Move(Left: Integer; Top: Integer); dispid 12;
  14396.     procedure Resize(Width: Integer; Height: Integer); dispid 13;
  14397.     procedure SendWindowMessage(Message: Integer; wParam: Integer; lParam: Integer); dispid 14;
  14398.   end;
  14399.  
  14400. // *********************************************************************//
  14401. // Interface: Tasks
  14402. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14403. // GUID:      {00020983-0000-0000-C000-000000000046}
  14404. // *********************************************************************//
  14405.   Tasks = interface(IDispatch)
  14406.     ['{00020983-0000-0000-C000-000000000046}']
  14407.     function Get_Application_: Application_; safecall;
  14408.     function Get_Creator: Integer; safecall;
  14409.     function Get_Parent: IDispatch; safecall;
  14410.     function Get__NewEnum: IUnknown; safecall;
  14411.     function Get_Count: Integer; safecall;
  14412.     function Item(var Index: OleVariant): Task; safecall;
  14413.     function Exists(const Name: WideString): WordBool; safecall;
  14414.     procedure ExitWindows_; safecall;
  14415.     property Application_: Application_ read Get_Application_;
  14416.     property Creator: Integer read Get_Creator;
  14417.     property Parent: IDispatch read Get_Parent;
  14418.     property _NewEnum: IUnknown read Get__NewEnum;
  14419.     property Count: Integer read Get_Count;
  14420.   end;
  14421.  
  14422. // *********************************************************************//
  14423. // DispIntf:  TasksDisp
  14424. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14425. // GUID:      {00020983-0000-0000-C000-000000000046}
  14426. // *********************************************************************//
  14427.   TasksDisp = dispinterface
  14428.     ['{00020983-0000-0000-C000-000000000046}']
  14429.     property Application_: Application_ readonly dispid 1000;
  14430.     property Creator: Integer readonly dispid 1001;
  14431.     property Parent: IDispatch readonly dispid 1002;
  14432.     property _NewEnum: IUnknown readonly dispid -4;
  14433.     property Count: Integer readonly dispid 1;
  14434.     function Item(var Index: OleVariant): Task; dispid 0;
  14435.     function Exists(const Name: WideString): WordBool; dispid 2;
  14436.     procedure ExitWindows_; dispid 3;
  14437.   end;
  14438.  
  14439. // *********************************************************************//
  14440. // Interface: HeadersFooters
  14441. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14442. // GUID:      {00020984-0000-0000-C000-000000000046}
  14443. // *********************************************************************//
  14444.   HeadersFooters = interface(IDispatch)
  14445.     ['{00020984-0000-0000-C000-000000000046}']
  14446.     function Get_Application_: Application_; safecall;
  14447.     function Get_Creator: Integer; safecall;
  14448.     function Get_Parent: IDispatch; safecall;
  14449.     function Get__NewEnum: IUnknown; safecall;
  14450.     function Get_Count: Integer; safecall;
  14451.     function Item(Index: WdHeaderFooterIndex): HeaderFooter; safecall;
  14452.     property Application_: Application_ read Get_Application_;
  14453.     property Creator: Integer read Get_Creator;
  14454.     property Parent: IDispatch read Get_Parent;
  14455.     property _NewEnum: IUnknown read Get__NewEnum;
  14456.     property Count: Integer read Get_Count;
  14457.   end;
  14458.  
  14459. // *********************************************************************//
  14460. // DispIntf:  HeadersFootersDisp
  14461. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14462. // GUID:      {00020984-0000-0000-C000-000000000046}
  14463. // *********************************************************************//
  14464.   HeadersFootersDisp = dispinterface
  14465.     ['{00020984-0000-0000-C000-000000000046}']
  14466.     property Application_: Application_ readonly dispid 1000;
  14467.     property Creator: Integer readonly dispid 1001;
  14468.     property Parent: IDispatch readonly dispid 1002;
  14469.     property _NewEnum: IUnknown readonly dispid -4;
  14470.     property Count: Integer readonly dispid 1;
  14471.     function Item(Index: WdHeaderFooterIndex): HeaderFooter; dispid 0;
  14472.   end;
  14473.  
  14474. // *********************************************************************//
  14475. // Interface: HeaderFooter
  14476. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14477. // GUID:      {00020985-0000-0000-C000-000000000046}
  14478. // *********************************************************************//
  14479.   HeaderFooter = interface(IDispatch)
  14480.     ['{00020985-0000-0000-C000-000000000046}']
  14481.     function Get_Application_: Application_; safecall;
  14482.     function Get_Creator: Integer; safecall;
  14483.     function Get_Parent: IDispatch; safecall;
  14484.     function Get_Range: Range; safecall;
  14485.     function Get_Index: WdHeaderFooterIndex; safecall;
  14486.     function Get_IsHeader: WordBool; safecall;
  14487.     function Get_Exists: WordBool; safecall;
  14488.     procedure Set_Exists(prop: WordBool); safecall;
  14489.     function Get_PageNumbers: PageNumbers; safecall;
  14490.     function Get_LinkToPrevious: WordBool; safecall;
  14491.     procedure Set_LinkToPrevious(prop: WordBool); safecall;
  14492.     function Get_Shapes: Shapes; safecall;
  14493.     property Application_: Application_ read Get_Application_;
  14494.     property Creator: Integer read Get_Creator;
  14495.     property Parent: IDispatch read Get_Parent;
  14496.     property Range: Range read Get_Range;
  14497.     property Index: WdHeaderFooterIndex read Get_Index;
  14498.     property IsHeader: WordBool read Get_IsHeader;
  14499.     property Exists: WordBool read Get_Exists write Set_Exists;
  14500.     property PageNumbers: PageNumbers read Get_PageNumbers;
  14501.     property LinkToPrevious: WordBool read Get_LinkToPrevious write Set_LinkToPrevious;
  14502.     property Shapes: Shapes read Get_Shapes;
  14503.   end;
  14504.  
  14505. // *********************************************************************//
  14506. // DispIntf:  HeaderFooterDisp
  14507. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14508. // GUID:      {00020985-0000-0000-C000-000000000046}
  14509. // *********************************************************************//
  14510.   HeaderFooterDisp = dispinterface
  14511.     ['{00020985-0000-0000-C000-000000000046}']
  14512.     property Application_: Application_ readonly dispid 1000;
  14513.     property Creator: Integer readonly dispid 1001;
  14514.     property Parent: IDispatch readonly dispid 1002;
  14515.     property Range: Range readonly dispid 0;
  14516.     property Index: WdHeaderFooterIndex readonly dispid 2;
  14517.     property IsHeader: WordBool readonly dispid 3;
  14518.     property Exists: WordBool dispid 4;
  14519.     property PageNumbers: PageNumbers readonly dispid 5;
  14520.     property LinkToPrevious: WordBool dispid 6;
  14521.     property Shapes: Shapes readonly dispid 7;
  14522.   end;
  14523.  
  14524. // *********************************************************************//
  14525. // Interface: PageNumbers
  14526. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14527. // GUID:      {00020986-0000-0000-C000-000000000046}
  14528. // *********************************************************************//
  14529.   PageNumbers = interface(IDispatch)
  14530.     ['{00020986-0000-0000-C000-000000000046}']
  14531.     function Get_Application_: Application_; safecall;
  14532.     function Get_Creator: Integer; safecall;
  14533.     function Get_Parent: IDispatch; safecall;
  14534.     function Get__NewEnum: IUnknown; safecall;
  14535.     function Get_Count: Integer; safecall;
  14536.     function Get_NumberStyle: WdPageNumberStyle; safecall;
  14537.     procedure Set_NumberStyle(prop: WdPageNumberStyle); safecall;
  14538.     function Get_IncludeChapterNumber: WordBool; safecall;
  14539.     procedure Set_IncludeChapterNumber(prop: WordBool); safecall;
  14540.     function Get_HeadingLevelForChapter: Integer; safecall;
  14541.     procedure Set_HeadingLevelForChapter(prop: Integer); safecall;
  14542.     function Get_ChapterPageSeparator: WdSeparatorType; safecall;
  14543.     procedure Set_ChapterPageSeparator(prop: WdSeparatorType); safecall;
  14544.     function Get_RestartNumberingAtSection: WordBool; safecall;
  14545.     procedure Set_RestartNumberingAtSection(prop: WordBool); safecall;
  14546.     function Get_StartingNumber: Integer; safecall;
  14547.     procedure Set_StartingNumber(prop: Integer); safecall;
  14548.     function Get_ShowFirstPageNumber: WordBool; safecall;
  14549.     procedure Set_ShowFirstPageNumber(prop: WordBool); safecall;
  14550.     function Item(Index: Integer): PageNumber; safecall;
  14551.     function Add(var PageNumberAlignment: OleVariant; var FirstPage: OleVariant): PageNumber; safecall;
  14552.     function Get_DoubleQuote: WordBool; safecall;
  14553.     procedure Set_DoubleQuote(prop: WordBool); safecall;
  14554.     property Application_: Application_ read Get_Application_;
  14555.     property Creator: Integer read Get_Creator;
  14556.     property Parent: IDispatch read Get_Parent;
  14557.     property _NewEnum: IUnknown read Get__NewEnum;
  14558.     property Count: Integer read Get_Count;
  14559.     property NumberStyle: WdPageNumberStyle read Get_NumberStyle write Set_NumberStyle;
  14560.     property IncludeChapterNumber: WordBool read Get_IncludeChapterNumber write Set_IncludeChapterNumber;
  14561.     property HeadingLevelForChapter: Integer read Get_HeadingLevelForChapter write Set_HeadingLevelForChapter;
  14562.     property ChapterPageSeparator: WdSeparatorType read Get_ChapterPageSeparator write Set_ChapterPageSeparator;
  14563.     property RestartNumberingAtSection: WordBool read Get_RestartNumberingAtSection write Set_RestartNumberingAtSection;
  14564.     property StartingNumber: Integer read Get_StartingNumber write Set_StartingNumber;
  14565.     property ShowFirstPageNumber: WordBool read Get_ShowFirstPageNumber write Set_ShowFirstPageNumber;
  14566.     property DoubleQuote: WordBool read Get_DoubleQuote write Set_DoubleQuote;
  14567.   end;
  14568.  
  14569. // *********************************************************************//
  14570. // DispIntf:  PageNumbersDisp
  14571. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14572. // GUID:      {00020986-0000-0000-C000-000000000046}
  14573. // *********************************************************************//
  14574.   PageNumbersDisp = dispinterface
  14575.     ['{00020986-0000-0000-C000-000000000046}']
  14576.     property Application_: Application_ readonly dispid 1000;
  14577.     property Creator: Integer readonly dispid 1001;
  14578.     property Parent: IDispatch readonly dispid 1002;
  14579.     property _NewEnum: IUnknown readonly dispid -4;
  14580.     property Count: Integer readonly dispid 1;
  14581.     property NumberStyle: WdPageNumberStyle dispid 2;
  14582.     property IncludeChapterNumber: WordBool dispid 3;
  14583.     property HeadingLevelForChapter: Integer dispid 4;
  14584.     property ChapterPageSeparator: WdSeparatorType dispid 5;
  14585.     property RestartNumberingAtSection: WordBool dispid 6;
  14586.     property StartingNumber: Integer dispid 7;
  14587.     property ShowFirstPageNumber: WordBool dispid 8;
  14588.     function Item(Index: Integer): PageNumber; dispid 0;
  14589.     function Add(var PageNumberAlignment: OleVariant; var FirstPage: OleVariant): PageNumber; dispid 101;
  14590.     property DoubleQuote: WordBool dispid 10;
  14591.   end;
  14592.  
  14593. // *********************************************************************//
  14594. // Interface: PageNumber
  14595. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14596. // GUID:      {00020987-0000-0000-C000-000000000046}
  14597. // *********************************************************************//
  14598.   PageNumber = interface(IDispatch)
  14599.     ['{00020987-0000-0000-C000-000000000046}']
  14600.     function Get_Application_: Application_; safecall;
  14601.     function Get_Creator: Integer; safecall;
  14602.     function Get_Parent: IDispatch; safecall;
  14603.     function Get_Index: Integer; safecall;
  14604.     function Get_Alignment: WdPageNumberAlignment; safecall;
  14605.     procedure Set_Alignment(prop: WdPageNumberAlignment); safecall;
  14606.     procedure Select; safecall;
  14607.     procedure Copy; safecall;
  14608.     procedure Cut; safecall;
  14609.     procedure Delete; safecall;
  14610.     property Application_: Application_ read Get_Application_;
  14611.     property Creator: Integer read Get_Creator;
  14612.     property Parent: IDispatch read Get_Parent;
  14613.     property Index: Integer read Get_Index;
  14614.     property Alignment: WdPageNumberAlignment read Get_Alignment write Set_Alignment;
  14615.   end;
  14616.  
  14617. // *********************************************************************//
  14618. // DispIntf:  PageNumberDisp
  14619. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14620. // GUID:      {00020987-0000-0000-C000-000000000046}
  14621. // *********************************************************************//
  14622.   PageNumberDisp = dispinterface
  14623.     ['{00020987-0000-0000-C000-000000000046}']
  14624.     property Application_: Application_ readonly dispid 1000;
  14625.     property Creator: Integer readonly dispid 1001;
  14626.     property Parent: IDispatch readonly dispid 1002;
  14627.     property Index: Integer readonly dispid 1;
  14628.     property Alignment: WdPageNumberAlignment dispid 3;
  14629.     procedure Select; dispid 65535;
  14630.     procedure Copy; dispid 101;
  14631.     procedure Cut; dispid 102;
  14632.     procedure Delete; dispid 103;
  14633.   end;
  14634.  
  14635. // *********************************************************************//
  14636. // Interface: Subdocuments
  14637. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14638. // GUID:      {00020988-0000-0000-C000-000000000046}
  14639. // *********************************************************************//
  14640.   Subdocuments = interface(IDispatch)
  14641.     ['{00020988-0000-0000-C000-000000000046}']
  14642.     function Get_Application_: Application_; safecall;
  14643.     function Get_Creator: Integer; safecall;
  14644.     function Get_Parent: IDispatch; safecall;
  14645.     function Get_Count: Integer; safecall;
  14646.     function Get__NewEnum: IUnknown; safecall;
  14647.     function Get_Expanded: WordBool; safecall;
  14648.     procedure Set_Expanded(prop: WordBool); safecall;
  14649.     function Item(Index: Integer): Subdocument; safecall;
  14650.     function AddFromFile(var Name: OleVariant; var ConfirmConversions: OleVariant; 
  14651.                          var ReadOnly: OleVariant; var PasswordDocument: OleVariant; 
  14652.                          var PasswordTemplate: OleVariant; var Revert: OleVariant; 
  14653.                          var WritePasswordDocument: OleVariant; 
  14654.                          var WritePasswordTemplate: OleVariant): Subdocument; safecall;
  14655.     function AddFromRange(const Range: Range): Subdocument; safecall;
  14656.     procedure Merge(var FirstSubdocument: OleVariant; var LastSubdocument: OleVariant); safecall;
  14657.     procedure Delete; safecall;
  14658.     procedure Select; safecall;
  14659.     property Application_: Application_ read Get_Application_;
  14660.     property Creator: Integer read Get_Creator;
  14661.     property Parent: IDispatch read Get_Parent;
  14662.     property Count: Integer read Get_Count;
  14663.     property _NewEnum: IUnknown read Get__NewEnum;
  14664.     property Expanded: WordBool read Get_Expanded write Set_Expanded;
  14665.   end;
  14666.  
  14667. // *********************************************************************//
  14668. // DispIntf:  SubdocumentsDisp
  14669. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14670. // GUID:      {00020988-0000-0000-C000-000000000046}
  14671. // *********************************************************************//
  14672.   SubdocumentsDisp = dispinterface
  14673.     ['{00020988-0000-0000-C000-000000000046}']
  14674.     property Application_: Application_ readonly dispid 1000;
  14675.     property Creator: Integer readonly dispid 1001;
  14676.     property Parent: IDispatch readonly dispid 1002;
  14677.     property Count: Integer readonly dispid 1;
  14678.     property _NewEnum: IUnknown readonly dispid -4;
  14679.     property Expanded: WordBool dispid 2;
  14680.     function Item(Index: Integer): Subdocument; dispid 0;
  14681.     function AddFromFile(var Name: OleVariant; var ConfirmConversions: OleVariant; 
  14682.                          var ReadOnly: OleVariant; var PasswordDocument: OleVariant; 
  14683.                          var PasswordTemplate: OleVariant; var Revert: OleVariant; 
  14684.                          var WritePasswordDocument: OleVariant; 
  14685.                          var WritePasswordTemplate: OleVariant): Subdocument; dispid 100;
  14686.     function AddFromRange(const Range: Range): Subdocument; dispid 101;
  14687.     procedure Merge(var FirstSubdocument: OleVariant; var LastSubdocument: OleVariant); dispid 102;
  14688.     procedure Delete; dispid 103;
  14689.     procedure Select; dispid 104;
  14690.   end;
  14691.  
  14692. // *********************************************************************//
  14693. // Interface: Subdocument
  14694. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14695. // GUID:      {00020989-0000-0000-C000-000000000046}
  14696. // *********************************************************************//
  14697.   Subdocument = interface(IDispatch)
  14698.     ['{00020989-0000-0000-C000-000000000046}']
  14699.     function Get_Application_: Application_; safecall;
  14700.     function Get_Creator: Integer; safecall;
  14701.     function Get_Parent: IDispatch; safecall;
  14702.     function Get_Locked: WordBool; safecall;
  14703.     procedure Set_Locked(prop: WordBool); safecall;
  14704.     function Get_Range: Range; safecall;
  14705.     function Get_Name: WideString; safecall;
  14706.     function Get_Path: WideString; safecall;
  14707.     function Get_HasFile: WordBool; safecall;
  14708.     function Get_Level: Integer; safecall;
  14709.     procedure Delete; safecall;
  14710.     procedure Split(const Range: Range); safecall;
  14711.     function Open: Document; safecall;
  14712.     property Application_: Application_ read Get_Application_;
  14713.     property Creator: Integer read Get_Creator;
  14714.     property Parent: IDispatch read Get_Parent;
  14715.     property Locked: WordBool read Get_Locked write Set_Locked;
  14716.     property Range: Range read Get_Range;
  14717.     property Name: WideString read Get_Name;
  14718.     property Path: WideString read Get_Path;
  14719.     property HasFile: WordBool read Get_HasFile;
  14720.     property Level: Integer read Get_Level;
  14721.   end;
  14722.  
  14723. // *********************************************************************//
  14724. // DispIntf:  SubdocumentDisp
  14725. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14726. // GUID:      {00020989-0000-0000-C000-000000000046}
  14727. // *********************************************************************//
  14728.   SubdocumentDisp = dispinterface
  14729.     ['{00020989-0000-0000-C000-000000000046}']
  14730.     property Application_: Application_ readonly dispid 1000;
  14731.     property Creator: Integer readonly dispid 1001;
  14732.     property Parent: IDispatch readonly dispid 1002;
  14733.     property Locked: WordBool dispid 1;
  14734.     property Range: Range readonly dispid 2;
  14735.     property Name: WideString readonly dispid 3;
  14736.     property Path: WideString readonly dispid 4;
  14737.     property HasFile: WordBool readonly dispid 5;
  14738.     property Level: Integer readonly dispid 6;
  14739.     procedure Delete; dispid 100;
  14740.     procedure Split(const Range: Range); dispid 101;
  14741.     function Open: Document; dispid 102;
  14742.   end;
  14743.  
  14744. // *********************************************************************//
  14745. // Interface: HeadingStyles
  14746. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14747. // GUID:      {0002098A-0000-0000-C000-000000000046}
  14748. // *********************************************************************//
  14749.   HeadingStyles = interface(IDispatch)
  14750.     ['{0002098A-0000-0000-C000-000000000046}']
  14751.     function Get_Application_: Application_; safecall;
  14752.     function Get_Creator: Integer; safecall;
  14753.     function Get_Parent: IDispatch; safecall;
  14754.     function Get__NewEnum: IUnknown; safecall;
  14755.     function Get_Count: Integer; safecall;
  14756.     function Item(Index: Integer): HeadingStyle; safecall;
  14757.     function Add(var Style: OleVariant; Level: Smallint): HeadingStyle; safecall;
  14758.     property Application_: Application_ read Get_Application_;
  14759.     property Creator: Integer read Get_Creator;
  14760.     property Parent: IDispatch read Get_Parent;
  14761.     property _NewEnum: IUnknown read Get__NewEnum;
  14762.     property Count: Integer read Get_Count;
  14763.   end;
  14764.  
  14765. // *********************************************************************//
  14766. // DispIntf:  HeadingStylesDisp
  14767. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14768. // GUID:      {0002098A-0000-0000-C000-000000000046}
  14769. // *********************************************************************//
  14770.   HeadingStylesDisp = dispinterface
  14771.     ['{0002098A-0000-0000-C000-000000000046}']
  14772.     property Application_: Application_ readonly dispid 1000;
  14773.     property Creator: Integer readonly dispid 1001;
  14774.     property Parent: IDispatch readonly dispid 1002;
  14775.     property _NewEnum: IUnknown readonly dispid -4;
  14776.     property Count: Integer readonly dispid 1;
  14777.     function Item(Index: Integer): HeadingStyle; dispid 0;
  14778.     function Add(var Style: OleVariant; Level: Smallint): HeadingStyle; dispid 100;
  14779.   end;
  14780.  
  14781. // *********************************************************************//
  14782. // Interface: HeadingStyle
  14783. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14784. // GUID:      {0002098B-0000-0000-C000-000000000046}
  14785. // *********************************************************************//
  14786.   HeadingStyle = interface(IDispatch)
  14787.     ['{0002098B-0000-0000-C000-000000000046}']
  14788.     function Get_Application_: Application_; safecall;
  14789.     function Get_Creator: Integer; safecall;
  14790.     function Get_Parent: IDispatch; safecall;
  14791.     function Get_Style: OleVariant; safecall;
  14792.     procedure Set_Style(var prop: OleVariant); safecall;
  14793.     function Get_Level: Smallint; safecall;
  14794.     procedure Set_Level(prop: Smallint); safecall;
  14795.     procedure Delete; safecall;
  14796.     property Application_: Application_ read Get_Application_;
  14797.     property Creator: Integer read Get_Creator;
  14798.     property Parent: IDispatch read Get_Parent;
  14799.     property Level: Smallint read Get_Level write Set_Level;
  14800.   end;
  14801.  
  14802. // *********************************************************************//
  14803. // DispIntf:  HeadingStyleDisp
  14804. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14805. // GUID:      {0002098B-0000-0000-C000-000000000046}
  14806. // *********************************************************************//
  14807.   HeadingStyleDisp = dispinterface
  14808.     ['{0002098B-0000-0000-C000-000000000046}']
  14809.     property Application_: Application_ readonly dispid 1000;
  14810.     property Creator: Integer readonly dispid 1001;
  14811.     property Parent: IDispatch readonly dispid 1002;
  14812.     function Style: OleVariant; dispid 0;
  14813.     property Level: Smallint dispid 2;
  14814.     procedure Delete; dispid 100;
  14815.   end;
  14816.  
  14817. // *********************************************************************//
  14818. // Interface: StoryRanges
  14819. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14820. // GUID:      {0002098C-0000-0000-C000-000000000046}
  14821. // *********************************************************************//
  14822.   StoryRanges = interface(IDispatch)
  14823.     ['{0002098C-0000-0000-C000-000000000046}']
  14824.     function Get__NewEnum: IUnknown; safecall;
  14825.     function Get_Count: Integer; safecall;
  14826.     function Get_Application_: Application_; safecall;
  14827.     function Get_Creator: Integer; safecall;
  14828.     function Get_Parent: IDispatch; safecall;
  14829.     function Item(Index: WdStoryType): Range; safecall;
  14830.     property _NewEnum: IUnknown read Get__NewEnum;
  14831.     property Count: Integer read Get_Count;
  14832.     property Application_: Application_ read Get_Application_;
  14833.     property Creator: Integer read Get_Creator;
  14834.     property Parent: IDispatch read Get_Parent;
  14835.   end;
  14836.  
  14837. // *********************************************************************//
  14838. // DispIntf:  StoryRangesDisp
  14839. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14840. // GUID:      {0002098C-0000-0000-C000-000000000046}
  14841. // *********************************************************************//
  14842.   StoryRangesDisp = dispinterface
  14843.     ['{0002098C-0000-0000-C000-000000000046}']
  14844.     property _NewEnum: IUnknown readonly dispid -4;
  14845.     property Count: Integer readonly dispid 2;
  14846.     property Application_: Application_ readonly dispid 1000;
  14847.     property Creator: Integer readonly dispid 1001;
  14848.     property Parent: IDispatch readonly dispid 1002;
  14849.     function Item(Index: WdStoryType): Range; dispid 0;
  14850.   end;
  14851.  
  14852. // *********************************************************************//
  14853. // Interface: ListLevel
  14854. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14855. // GUID:      {0002098D-0000-0000-C000-000000000046}
  14856. // *********************************************************************//
  14857.   ListLevel = interface(IDispatch)
  14858.     ['{0002098D-0000-0000-C000-000000000046}']
  14859.     function Get_Index: Integer; safecall;
  14860.     function Get_NumberFormat: WideString; safecall;
  14861.     procedure Set_NumberFormat(const prop: WideString); safecall;
  14862.     function Get_TrailingCharacter: WdTrailingCharacter; safecall;
  14863.     procedure Set_TrailingCharacter(prop: WdTrailingCharacter); safecall;
  14864.     function Get_NumberStyle: WdListNumberStyle; safecall;
  14865.     procedure Set_NumberStyle(prop: WdListNumberStyle); safecall;
  14866.     function Get_NumberPosition: Single; safecall;
  14867.     procedure Set_NumberPosition(prop: Single); safecall;
  14868.     function Get_Alignment: WdListLevelAlignment; safecall;
  14869.     procedure Set_Alignment(prop: WdListLevelAlignment); safecall;
  14870.     function Get_TextPosition: Single; safecall;
  14871.     procedure Set_TextPosition(prop: Single); safecall;
  14872.     function Get_TabPosition: Single; safecall;
  14873.     procedure Set_TabPosition(prop: Single); safecall;
  14874.     function Get_ResetOnHigherOld: WordBool; safecall;
  14875.     procedure Set_ResetOnHigherOld(prop: WordBool); safecall;
  14876.     function Get_StartAt: Integer; safecall;
  14877.     procedure Set_StartAt(prop: Integer); safecall;
  14878.     function Get_LinkedStyle: WideString; safecall;
  14879.     procedure Set_LinkedStyle(const prop: WideString); safecall;
  14880.     function Get_Font: Font; safecall;
  14881.     procedure Set_Font(const prop: Font); safecall;
  14882.     function Get_Application_: Application_; safecall;
  14883.     function Get_Creator: Integer; safecall;
  14884.     function Get_Parent: IDispatch; safecall;
  14885.     function Get_ResetOnHigher: Integer; safecall;
  14886.     procedure Set_ResetOnHigher(prop: Integer); safecall;
  14887.     property Index: Integer read Get_Index;
  14888.     property NumberFormat: WideString read Get_NumberFormat write Set_NumberFormat;
  14889.     property TrailingCharacter: WdTrailingCharacter read Get_TrailingCharacter write Set_TrailingCharacter;
  14890.     property NumberStyle: WdListNumberStyle read Get_NumberStyle write Set_NumberStyle;
  14891.     property NumberPosition: Single read Get_NumberPosition write Set_NumberPosition;
  14892.     property Alignment: WdListLevelAlignment read Get_Alignment write Set_Alignment;
  14893.     property TextPosition: Single read Get_TextPosition write Set_TextPosition;
  14894.     property TabPosition: Single read Get_TabPosition write Set_TabPosition;
  14895.     property ResetOnHigherOld: WordBool read Get_ResetOnHigherOld write Set_ResetOnHigherOld;
  14896.     property StartAt: Integer read Get_StartAt write Set_StartAt;
  14897.     property LinkedStyle: WideString read Get_LinkedStyle write Set_LinkedStyle;
  14898.     property Font: Font read Get_Font write Set_Font;
  14899.     property Application_: Application_ read Get_Application_;
  14900.     property Creator: Integer read Get_Creator;
  14901.     property Parent: IDispatch read Get_Parent;
  14902.     property ResetOnHigher: Integer read Get_ResetOnHigher write Set_ResetOnHigher;
  14903.   end;
  14904.  
  14905. // *********************************************************************//
  14906. // DispIntf:  ListLevelDisp
  14907. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14908. // GUID:      {0002098D-0000-0000-C000-000000000046}
  14909. // *********************************************************************//
  14910.   ListLevelDisp = dispinterface
  14911.     ['{0002098D-0000-0000-C000-000000000046}']
  14912.     property Index: Integer readonly dispid 1;
  14913.     property NumberFormat: WideString dispid 2;
  14914.     property TrailingCharacter: WdTrailingCharacter dispid 3;
  14915.     property NumberStyle: WdListNumberStyle dispid 4;
  14916.     property NumberPosition: Single dispid 5;
  14917.     property Alignment: WdListLevelAlignment dispid 6;
  14918.     property TextPosition: Single dispid 7;
  14919.     property TabPosition: Single dispid 8;
  14920.     property ResetOnHigherOld: WordBool dispid 9;
  14921.     property StartAt: Integer dispid 10;
  14922.     property LinkedStyle: WideString dispid 11;
  14923.     property Font: Font dispid 12;
  14924.     property Application_: Application_ readonly dispid 1000;
  14925.     property Creator: Integer readonly dispid 1001;
  14926.     property Parent: IDispatch readonly dispid 1002;
  14927.     property ResetOnHigher: Integer dispid 13;
  14928.   end;
  14929.  
  14930. // *********************************************************************//
  14931. // Interface: ListLevels
  14932. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14933. // GUID:      {0002098E-0000-0000-C000-000000000046}
  14934. // *********************************************************************//
  14935.   ListLevels = interface(IDispatch)
  14936.     ['{0002098E-0000-0000-C000-000000000046}']
  14937.     function Get__NewEnum: IUnknown; safecall;
  14938.     function Get_Count: Integer; safecall;
  14939.     function Get_Application_: Application_; safecall;
  14940.     function Get_Creator: Integer; safecall;
  14941.     function Get_Parent: IDispatch; safecall;
  14942.     function Item(Index: Integer): ListLevel; safecall;
  14943.     property _NewEnum: IUnknown read Get__NewEnum;
  14944.     property Count: Integer read Get_Count;
  14945.     property Application_: Application_ read Get_Application_;
  14946.     property Creator: Integer read Get_Creator;
  14947.     property Parent: IDispatch read Get_Parent;
  14948.   end;
  14949.  
  14950. // *********************************************************************//
  14951. // DispIntf:  ListLevelsDisp
  14952. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14953. // GUID:      {0002098E-0000-0000-C000-000000000046}
  14954. // *********************************************************************//
  14955.   ListLevelsDisp = dispinterface
  14956.     ['{0002098E-0000-0000-C000-000000000046}']
  14957.     property _NewEnum: IUnknown readonly dispid -4;
  14958.     property Count: Integer readonly dispid 2;
  14959.     property Application_: Application_ readonly dispid 1000;
  14960.     property Creator: Integer readonly dispid 1001;
  14961.     property Parent: IDispatch readonly dispid 1002;
  14962.     function Item(Index: Integer): ListLevel; dispid 0;
  14963.   end;
  14964.  
  14965. // *********************************************************************//
  14966. // Interface: ListTemplate
  14967. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14968. // GUID:      {0002098F-0000-0000-C000-000000000046}
  14969. // *********************************************************************//
  14970.   ListTemplate = interface(IDispatch)
  14971.     ['{0002098F-0000-0000-C000-000000000046}']
  14972.     function Get_Application_: Application_; safecall;
  14973.     function Get_Creator: Integer; safecall;
  14974.     function Get_Parent: IDispatch; safecall;
  14975.     function Get_OutlineNumbered: WordBool; safecall;
  14976.     procedure Set_OutlineNumbered(prop: WordBool); safecall;
  14977.     function Get_Name: WideString; safecall;
  14978.     procedure Set_Name(const prop: WideString); safecall;
  14979.     function Get_ListLevels: ListLevels; safecall;
  14980.     function Convert(var Level: OleVariant): ListTemplate; safecall;
  14981.     property Application_: Application_ read Get_Application_;
  14982.     property Creator: Integer read Get_Creator;
  14983.     property Parent: IDispatch read Get_Parent;
  14984.     property OutlineNumbered: WordBool read Get_OutlineNumbered write Set_OutlineNumbered;
  14985.     property Name: WideString read Get_Name write Set_Name;
  14986.     property ListLevels: ListLevels read Get_ListLevels;
  14987.   end;
  14988.  
  14989. // *********************************************************************//
  14990. // DispIntf:  ListTemplateDisp
  14991. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  14992. // GUID:      {0002098F-0000-0000-C000-000000000046}
  14993. // *********************************************************************//
  14994.   ListTemplateDisp = dispinterface
  14995.     ['{0002098F-0000-0000-C000-000000000046}']
  14996.     property Application_: Application_ readonly dispid 1000;
  14997.     property Creator: Integer readonly dispid 1001;
  14998.     property Parent: IDispatch readonly dispid 1002;
  14999.     property OutlineNumbered: WordBool dispid 1;
  15000.     property Name: WideString dispid 3;
  15001.     property ListLevels: ListLevels readonly dispid 2;
  15002.     function Convert(var Level: OleVariant): ListTemplate; dispid 101;
  15003.   end;
  15004.  
  15005. // *********************************************************************//
  15006. // Interface: ListTemplates
  15007. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15008. // GUID:      {00020990-0000-0000-C000-000000000046}
  15009. // *********************************************************************//
  15010.   ListTemplates = interface(IDispatch)
  15011.     ['{00020990-0000-0000-C000-000000000046}']
  15012.     function Get__NewEnum: IUnknown; safecall;
  15013.     function Get_Count: Integer; safecall;
  15014.     function Get_Application_: Application_; safecall;
  15015.     function Get_Creator: Integer; safecall;
  15016.     function Get_Parent: IDispatch; safecall;
  15017.     function Item(var Index: OleVariant): ListTemplate; safecall;
  15018.     function Add(var OutlineNumbered: OleVariant; var Name: OleVariant): ListTemplate; safecall;
  15019.     property _NewEnum: IUnknown read Get__NewEnum;
  15020.     property Count: Integer read Get_Count;
  15021.     property Application_: Application_ read Get_Application_;
  15022.     property Creator: Integer read Get_Creator;
  15023.     property Parent: IDispatch read Get_Parent;
  15024.   end;
  15025.  
  15026. // *********************************************************************//
  15027. // DispIntf:  ListTemplatesDisp
  15028. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15029. // GUID:      {00020990-0000-0000-C000-000000000046}
  15030. // *********************************************************************//
  15031.   ListTemplatesDisp = dispinterface
  15032.     ['{00020990-0000-0000-C000-000000000046}']
  15033.     property _NewEnum: IUnknown readonly dispid -4;
  15034.     property Count: Integer readonly dispid 2;
  15035.     property Application_: Application_ readonly dispid 1000;
  15036.     property Creator: Integer readonly dispid 1001;
  15037.     property Parent: IDispatch readonly dispid 1002;
  15038.     function Item(var Index: OleVariant): ListTemplate; dispid 0;
  15039.     function Add(var OutlineNumbered: OleVariant; var Name: OleVariant): ListTemplate; dispid 100;
  15040.   end;
  15041.  
  15042. // *********************************************************************//
  15043. // Interface: ListParagraphs
  15044. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15045. // GUID:      {00020991-0000-0000-C000-000000000046}
  15046. // *********************************************************************//
  15047.   ListParagraphs = interface(IDispatch)
  15048.     ['{00020991-0000-0000-C000-000000000046}']
  15049.     function Get__NewEnum: IUnknown; safecall;
  15050.     function Get_Count: Integer; safecall;
  15051.     function Get_Application_: Application_; safecall;
  15052.     function Get_Creator: Integer; safecall;
  15053.     function Get_Parent: IDispatch; safecall;
  15054.     function Item(Index: Integer): Paragraph; safecall;
  15055.     property _NewEnum: IUnknown read Get__NewEnum;
  15056.     property Count: Integer read Get_Count;
  15057.     property Application_: Application_ read Get_Application_;
  15058.     property Creator: Integer read Get_Creator;
  15059.     property Parent: IDispatch read Get_Parent;
  15060.   end;
  15061.  
  15062. // *********************************************************************//
  15063. // DispIntf:  ListParagraphsDisp
  15064. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15065. // GUID:      {00020991-0000-0000-C000-000000000046}
  15066. // *********************************************************************//
  15067.   ListParagraphsDisp = dispinterface
  15068.     ['{00020991-0000-0000-C000-000000000046}']
  15069.     property _NewEnum: IUnknown readonly dispid -4;
  15070.     property Count: Integer readonly dispid 2;
  15071.     property Application_: Application_ readonly dispid 1000;
  15072.     property Creator: Integer readonly dispid 1001;
  15073.     property Parent: IDispatch readonly dispid 1002;
  15074.     function Item(Index: Integer): Paragraph; dispid 0;
  15075.   end;
  15076.  
  15077. // *********************************************************************//
  15078. // Interface: List
  15079. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15080. // GUID:      {00020992-0000-0000-C000-000000000046}
  15081. // *********************************************************************//
  15082.   List = interface(IDispatch)
  15083.     ['{00020992-0000-0000-C000-000000000046}']
  15084.     function Get_Range: Range; safecall;
  15085.     function Get_ListParagraphs: ListParagraphs; safecall;
  15086.     function Get_SingleListTemplate: WordBool; safecall;
  15087.     function Get_Application_: Application_; safecall;
  15088.     function Get_Creator: Integer; safecall;
  15089.     function Get_Parent: IDispatch; safecall;
  15090.     procedure ConvertNumbersToText(var NumberType: OleVariant); safecall;
  15091.     procedure RemoveNumbers(var NumberType: OleVariant); safecall;
  15092.     function CountNumberedItems(var NumberType: OleVariant; var Level: OleVariant): Integer; safecall;
  15093.     procedure ApplyListTemplateOld(const ListTemplate: ListTemplate; 
  15094.                                    var ContinuePreviousList: OleVariant); safecall;
  15095.     function CanContinuePreviousList(const ListTemplate: ListTemplate): WdContinue; safecall;
  15096.     procedure ApplyListTemplate(const ListTemplate: ListTemplate; 
  15097.                                 var ContinuePreviousList: OleVariant; 
  15098.                                 var DefaultListBehavior: OleVariant); safecall;
  15099.     property Range: Range read Get_Range;
  15100.     property ListParagraphs: ListParagraphs read Get_ListParagraphs;
  15101.     property SingleListTemplate: WordBool read Get_SingleListTemplate;
  15102.     property Application_: Application_ read Get_Application_;
  15103.     property Creator: Integer read Get_Creator;
  15104.     property Parent: IDispatch read Get_Parent;
  15105.   end;
  15106.  
  15107. // *********************************************************************//
  15108. // DispIntf:  ListDisp
  15109. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15110. // GUID:      {00020992-0000-0000-C000-000000000046}
  15111. // *********************************************************************//
  15112.   ListDisp = dispinterface
  15113.     ['{00020992-0000-0000-C000-000000000046}']
  15114.     property Range: Range readonly dispid 1;
  15115.     property ListParagraphs: ListParagraphs readonly dispid 2;
  15116.     property SingleListTemplate: WordBool readonly dispid 3;
  15117.     property Application_: Application_ readonly dispid 1000;
  15118.     property Creator: Integer readonly dispid 1001;
  15119.     property Parent: IDispatch readonly dispid 1002;
  15120.     procedure ConvertNumbersToText(var NumberType: OleVariant); dispid 101;
  15121.     procedure RemoveNumbers(var NumberType: OleVariant); dispid 102;
  15122.     function CountNumberedItems(var NumberType: OleVariant; var Level: OleVariant): Integer; dispid 103;
  15123.     procedure ApplyListTemplateOld(const ListTemplate: ListTemplate; 
  15124.                                    var ContinuePreviousList: OleVariant); dispid 104;
  15125.     function CanContinuePreviousList(const ListTemplate: ListTemplate): WdContinue; dispid 105;
  15126.     procedure ApplyListTemplate(const ListTemplate: ListTemplate; 
  15127.                                 var ContinuePreviousList: OleVariant; 
  15128.                                 var DefaultListBehavior: OleVariant); dispid 106;
  15129.   end;
  15130.  
  15131. // *********************************************************************//
  15132. // Interface: Lists
  15133. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15134. // GUID:      {00020993-0000-0000-C000-000000000046}
  15135. // *********************************************************************//
  15136.   Lists = interface(IDispatch)
  15137.     ['{00020993-0000-0000-C000-000000000046}']
  15138.     function Get__NewEnum: IUnknown; safecall;
  15139.     function Get_Count: Integer; safecall;
  15140.     function Get_Application_: Application_; safecall;
  15141.     function Get_Creator: Integer; safecall;
  15142.     function Get_Parent: IDispatch; safecall;
  15143.     function Item(Index: Integer): List; safecall;
  15144.     property _NewEnum: IUnknown read Get__NewEnum;
  15145.     property Count: Integer read Get_Count;
  15146.     property Application_: Application_ read Get_Application_;
  15147.     property Creator: Integer read Get_Creator;
  15148.     property Parent: IDispatch read Get_Parent;
  15149.   end;
  15150.  
  15151. // *********************************************************************//
  15152. // DispIntf:  ListsDisp
  15153. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15154. // GUID:      {00020993-0000-0000-C000-000000000046}
  15155. // *********************************************************************//
  15156.   ListsDisp = dispinterface
  15157.     ['{00020993-0000-0000-C000-000000000046}']
  15158.     property _NewEnum: IUnknown readonly dispid -4;
  15159.     property Count: Integer readonly dispid 2;
  15160.     property Application_: Application_ readonly dispid 1000;
  15161.     property Creator: Integer readonly dispid 1001;
  15162.     property Parent: IDispatch readonly dispid 1002;
  15163.     function Item(Index: Integer): List; dispid 0;
  15164.   end;
  15165.  
  15166. // *********************************************************************//
  15167. // Interface: ListGallery
  15168. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15169. // GUID:      {00020994-0000-0000-C000-000000000046}
  15170. // *********************************************************************//
  15171.   ListGallery = interface(IDispatch)
  15172.     ['{00020994-0000-0000-C000-000000000046}']
  15173.     function Get_ListTemplates: ListTemplates; safecall;
  15174.     function Get_Application_: Application_; safecall;
  15175.     function Get_Creator: Integer; safecall;
  15176.     function Get_Parent: IDispatch; safecall;
  15177.     function Get_Modified(Index: Integer): WordBool; safecall;
  15178.     procedure Reset(Index: Integer); safecall;
  15179.     property ListTemplates: ListTemplates read Get_ListTemplates;
  15180.     property Application_: Application_ read Get_Application_;
  15181.     property Creator: Integer read Get_Creator;
  15182.     property Parent: IDispatch read Get_Parent;
  15183.     property Modified[Index: Integer]: WordBool read Get_Modified;
  15184.   end;
  15185.  
  15186. // *********************************************************************//
  15187. // DispIntf:  ListGalleryDisp
  15188. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15189. // GUID:      {00020994-0000-0000-C000-000000000046}
  15190. // *********************************************************************//
  15191.   ListGalleryDisp = dispinterface
  15192.     ['{00020994-0000-0000-C000-000000000046}']
  15193.     property ListTemplates: ListTemplates readonly dispid 1;
  15194.     property Application_: Application_ readonly dispid 1000;
  15195.     property Creator: Integer readonly dispid 1001;
  15196.     property Parent: IDispatch readonly dispid 1002;
  15197.     property Modified[Index: Integer]: WordBool readonly dispid 101;
  15198.     procedure Reset(Index: Integer); dispid 100;
  15199.   end;
  15200.  
  15201. // *********************************************************************//
  15202. // Interface: ListGalleries
  15203. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15204. // GUID:      {00020995-0000-0000-C000-000000000046}
  15205. // *********************************************************************//
  15206.   ListGalleries = interface(IDispatch)
  15207.     ['{00020995-0000-0000-C000-000000000046}']
  15208.     function Get__NewEnum: IUnknown; safecall;
  15209.     function Get_Count: Integer; safecall;
  15210.     function Get_Application_: Application_; safecall;
  15211.     function Get_Creator: Integer; safecall;
  15212.     function Get_Parent: IDispatch; safecall;
  15213.     function Item(Index: WdListGalleryType): ListGallery; safecall;
  15214.     property _NewEnum: IUnknown read Get__NewEnum;
  15215.     property Count: Integer read Get_Count;
  15216.     property Application_: Application_ read Get_Application_;
  15217.     property Creator: Integer read Get_Creator;
  15218.     property Parent: IDispatch read Get_Parent;
  15219.   end;
  15220.  
  15221. // *********************************************************************//
  15222. // DispIntf:  ListGalleriesDisp
  15223. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15224. // GUID:      {00020995-0000-0000-C000-000000000046}
  15225. // *********************************************************************//
  15226.   ListGalleriesDisp = dispinterface
  15227.     ['{00020995-0000-0000-C000-000000000046}']
  15228.     property _NewEnum: IUnknown readonly dispid -4;
  15229.     property Count: Integer readonly dispid 2;
  15230.     property Application_: Application_ readonly dispid 1000;
  15231.     property Creator: Integer readonly dispid 1001;
  15232.     property Parent: IDispatch readonly dispid 1002;
  15233.     function Item(Index: WdListGalleryType): ListGallery; dispid 0;
  15234.   end;
  15235.  
  15236. // *********************************************************************//
  15237. // Interface: KeyBindings
  15238. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15239. // GUID:      {00020996-0000-0000-C000-000000000046}
  15240. // *********************************************************************//
  15241.   KeyBindings = interface(IDispatch)
  15242.     ['{00020996-0000-0000-C000-000000000046}']
  15243.     function Get_Application_: Application_; safecall;
  15244.     function Get_Creator: Integer; safecall;
  15245.     function Get_Parent: IDispatch; safecall;
  15246.     function Get__NewEnum: IUnknown; safecall;
  15247.     function Get_Count: Integer; safecall;
  15248.     function Get_Context: IDispatch; safecall;
  15249.     function Item(Index: Integer): KeyBinding; safecall;
  15250.     function Add(KeyCategory: WdKeyCategory; const Command: WideString; KeyCode: Integer; 
  15251.                  var KeyCode2: OleVariant; var CommandParameter: OleVariant): KeyBinding; safecall;
  15252.     procedure ClearAll; safecall;
  15253.     function Key(KeyCode: Integer; var KeyCode2: OleVariant): KeyBinding; safecall;
  15254.     property Application_: Application_ read Get_Application_;
  15255.     property Creator: Integer read Get_Creator;
  15256.     property Parent: IDispatch read Get_Parent;
  15257.     property _NewEnum: IUnknown read Get__NewEnum;
  15258.     property Count: Integer read Get_Count;
  15259.     property Context: IDispatch read Get_Context;
  15260.   end;
  15261.  
  15262. // *********************************************************************//
  15263. // DispIntf:  KeyBindingsDisp
  15264. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15265. // GUID:      {00020996-0000-0000-C000-000000000046}
  15266. // *********************************************************************//
  15267.   KeyBindingsDisp = dispinterface
  15268.     ['{00020996-0000-0000-C000-000000000046}']
  15269.     property Application_: Application_ readonly dispid 1000;
  15270.     property Creator: Integer readonly dispid 1001;
  15271.     property Parent: IDispatch readonly dispid 1002;
  15272.     property _NewEnum: IUnknown readonly dispid -4;
  15273.     property Count: Integer readonly dispid 2;
  15274.     property Context: IDispatch readonly dispid 10;
  15275.     function Item(Index: Integer): KeyBinding; dispid 0;
  15276.     function Add(KeyCategory: WdKeyCategory; const Command: WideString; KeyCode: Integer; 
  15277.                  var KeyCode2: OleVariant; var CommandParameter: OleVariant): KeyBinding; dispid 101;
  15278.     procedure ClearAll; dispid 102;
  15279.     function Key(KeyCode: Integer; var KeyCode2: OleVariant): KeyBinding; dispid 110;
  15280.   end;
  15281.  
  15282. // *********************************************************************//
  15283. // Interface: KeysBoundTo
  15284. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15285. // GUID:      {00020997-0000-0000-C000-000000000046}
  15286. // *********************************************************************//
  15287.   KeysBoundTo = interface(IDispatch)
  15288.     ['{00020997-0000-0000-C000-000000000046}']
  15289.     function Get_Application_: Application_; safecall;
  15290.     function Get_Creator: Integer; safecall;
  15291.     function Get_Parent: IDispatch; safecall;
  15292.     function Get__NewEnum: IUnknown; safecall;
  15293.     function Get_Count: Integer; safecall;
  15294.     function Get_KeyCategory: WdKeyCategory; safecall;
  15295.     function Get_Command: WideString; safecall;
  15296.     function Get_CommandParameter: WideString; safecall;
  15297.     function Get_Context: IDispatch; safecall;
  15298.     function Item(Index: Integer): KeyBinding; safecall;
  15299.     function Key(KeyCode: Integer; var KeyCode2: OleVariant): KeyBinding; safecall;
  15300.     property Application_: Application_ read Get_Application_;
  15301.     property Creator: Integer read Get_Creator;
  15302.     property Parent: IDispatch read Get_Parent;
  15303.     property _NewEnum: IUnknown read Get__NewEnum;
  15304.     property Count: Integer read Get_Count;
  15305.     property KeyCategory: WdKeyCategory read Get_KeyCategory;
  15306.     property Command: WideString read Get_Command;
  15307.     property CommandParameter: WideString read Get_CommandParameter;
  15308.     property Context: IDispatch read Get_Context;
  15309.   end;
  15310.  
  15311. // *********************************************************************//
  15312. // DispIntf:  KeysBoundToDisp
  15313. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15314. // GUID:      {00020997-0000-0000-C000-000000000046}
  15315. // *********************************************************************//
  15316.   KeysBoundToDisp = dispinterface
  15317.     ['{00020997-0000-0000-C000-000000000046}']
  15318.     property Application_: Application_ readonly dispid 1000;
  15319.     property Creator: Integer readonly dispid 1001;
  15320.     property Parent: IDispatch readonly dispid 1002;
  15321.     property _NewEnum: IUnknown readonly dispid -4;
  15322.     property Count: Integer readonly dispid 2;
  15323.     property KeyCategory: WdKeyCategory readonly dispid 3;
  15324.     property Command: WideString readonly dispid 4;
  15325.     property CommandParameter: WideString readonly dispid 5;
  15326.     property Context: IDispatch readonly dispid 10;
  15327.     function Item(Index: Integer): KeyBinding; dispid 0;
  15328.     function Key(KeyCode: Integer; var KeyCode2: OleVariant): KeyBinding; dispid 1;
  15329.   end;
  15330.  
  15331. // *********************************************************************//
  15332. // Interface: KeyBinding
  15333. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15334. // GUID:      {00020998-0000-0000-C000-000000000046}
  15335. // *********************************************************************//
  15336.   KeyBinding = interface(IDispatch)
  15337.     ['{00020998-0000-0000-C000-000000000046}']
  15338.     function Get_Application_: Application_; safecall;
  15339.     function Get_Creator: Integer; safecall;
  15340.     function Get_Parent: IDispatch; safecall;
  15341.     function Get_Command: WideString; safecall;
  15342.     function Get_KeyString: WideString; safecall;
  15343.     function Get_Protected_: WordBool; safecall;
  15344.     function Get_KeyCategory: WdKeyCategory; safecall;
  15345.     function Get_KeyCode: Integer; safecall;
  15346.     function Get_KeyCode2: Integer; safecall;
  15347.     function Get_CommandParameter: WideString; safecall;
  15348.     function Get_Context: IDispatch; safecall;
  15349.     procedure Clear; safecall;
  15350.     procedure Disable; safecall;
  15351.     procedure Execute; safecall;
  15352.     procedure Rebind(KeyCategory: WdKeyCategory; const Command: WideString; 
  15353.                      var CommandParameter: OleVariant); safecall;
  15354.     property Application_: Application_ read Get_Application_;
  15355.     property Creator: Integer read Get_Creator;
  15356.     property Parent: IDispatch read Get_Parent;
  15357.     property Command: WideString read Get_Command;
  15358.     property KeyString: WideString read Get_KeyString;
  15359.     property Protected_: WordBool read Get_Protected_;
  15360.     property KeyCategory: WdKeyCategory read Get_KeyCategory;
  15361.     property KeyCode: Integer read Get_KeyCode;
  15362.     property KeyCode2: Integer read Get_KeyCode2;
  15363.     property CommandParameter: WideString read Get_CommandParameter;
  15364.     property Context: IDispatch read Get_Context;
  15365.   end;
  15366.  
  15367. // *********************************************************************//
  15368. // DispIntf:  KeyBindingDisp
  15369. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15370. // GUID:      {00020998-0000-0000-C000-000000000046}
  15371. // *********************************************************************//
  15372.   KeyBindingDisp = dispinterface
  15373.     ['{00020998-0000-0000-C000-000000000046}']
  15374.     property Application_: Application_ readonly dispid 1000;
  15375.     property Creator: Integer readonly dispid 1001;
  15376.     property Parent: IDispatch readonly dispid 1002;
  15377.     property Command: WideString readonly dispid 1;
  15378.     property KeyString: WideString readonly dispid 2;
  15379.     property Protected_: WordBool readonly dispid 3;
  15380.     property KeyCategory: WdKeyCategory readonly dispid 4;
  15381.     property KeyCode: Integer readonly dispid 6;
  15382.     property KeyCode2: Integer readonly dispid 7;
  15383.     property CommandParameter: WideString readonly dispid 8;
  15384.     property Context: IDispatch readonly dispid 10;
  15385.     procedure Clear; dispid 101;
  15386.     procedure Disable; dispid 102;
  15387.     procedure Execute; dispid 103;
  15388.     procedure Rebind(KeyCategory: WdKeyCategory; const Command: WideString; 
  15389.                      var CommandParameter: OleVariant); dispid 104;
  15390.   end;
  15391.  
  15392. // *********************************************************************//
  15393. // Interface: FileConverter
  15394. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15395. // GUID:      {00020999-0000-0000-C000-000000000046}
  15396. // *********************************************************************//
  15397.   FileConverter = interface(IDispatch)
  15398.     ['{00020999-0000-0000-C000-000000000046}']
  15399.     function Get_Application_: Application_; safecall;
  15400.     function Get_Creator: Integer; safecall;
  15401.     function Get_Parent: IDispatch; safecall;
  15402.     function Get_FormatName: WideString; safecall;
  15403.     function Get_ClassName: WideString; safecall;
  15404.     function Get_SaveFormat: Integer; safecall;
  15405.     function Get_OpenFormat: Integer; safecall;
  15406.     function Get_CanSave: WordBool; safecall;
  15407.     function Get_CanOpen: WordBool; safecall;
  15408.     function Get_Path: WideString; safecall;
  15409.     function Get_Name: WideString; safecall;
  15410.     function Get_Extensions: WideString; safecall;
  15411.     property Application_: Application_ read Get_Application_;
  15412.     property Creator: Integer read Get_Creator;
  15413.     property Parent: IDispatch read Get_Parent;
  15414.     property FormatName: WideString read Get_FormatName;
  15415.     property ClassName: WideString read Get_ClassName;
  15416.     property SaveFormat: Integer read Get_SaveFormat;
  15417.     property OpenFormat: Integer read Get_OpenFormat;
  15418.     property CanSave: WordBool read Get_CanSave;
  15419.     property CanOpen: WordBool read Get_CanOpen;
  15420.     property Path: WideString read Get_Path;
  15421.     property Name: WideString read Get_Name;
  15422.     property Extensions: WideString read Get_Extensions;
  15423.   end;
  15424.  
  15425. // *********************************************************************//
  15426. // DispIntf:  FileConverterDisp
  15427. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15428. // GUID:      {00020999-0000-0000-C000-000000000046}
  15429. // *********************************************************************//
  15430.   FileConverterDisp = dispinterface
  15431.     ['{00020999-0000-0000-C000-000000000046}']
  15432.     property Application_: Application_ readonly dispid 1000;
  15433.     property Creator: Integer readonly dispid 1001;
  15434.     property Parent: IDispatch readonly dispid 1002;
  15435.     property FormatName: WideString readonly dispid 0;
  15436.     property ClassName: WideString readonly dispid 1;
  15437.     property SaveFormat: Integer readonly dispid 2;
  15438.     property OpenFormat: Integer readonly dispid 3;
  15439.     property CanSave: WordBool readonly dispid 4;
  15440.     property CanOpen: WordBool readonly dispid 5;
  15441.     property Path: WideString readonly dispid 6;
  15442.     property Name: WideString readonly dispid 7;
  15443.     property Extensions: WideString readonly dispid 8;
  15444.   end;
  15445.  
  15446. // *********************************************************************//
  15447. // Interface: FileConverters
  15448. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15449. // GUID:      {0002099A-0000-0000-C000-000000000046}
  15450. // *********************************************************************//
  15451.   FileConverters = interface(IDispatch)
  15452.     ['{0002099A-0000-0000-C000-000000000046}']
  15453.     function Get_Application_: Application_; safecall;
  15454.     function Get_Creator: Integer; safecall;
  15455.     function Get_Parent: IDispatch; safecall;
  15456.     function Get_Count: Integer; safecall;
  15457.     function Get__NewEnum: IUnknown; safecall;
  15458.     function Get_ConvertMacWordChevrons: WdChevronConvertRule; safecall;
  15459.     procedure Set_ConvertMacWordChevrons(prop: WdChevronConvertRule); safecall;
  15460.     function Item(var Index: OleVariant): FileConverter; safecall;
  15461.     property Application_: Application_ read Get_Application_;
  15462.     property Creator: Integer read Get_Creator;
  15463.     property Parent: IDispatch read Get_Parent;
  15464.     property Count: Integer read Get_Count;
  15465.     property _NewEnum: IUnknown read Get__NewEnum;
  15466.     property ConvertMacWordChevrons: WdChevronConvertRule read Get_ConvertMacWordChevrons write Set_ConvertMacWordChevrons;
  15467.   end;
  15468.  
  15469. // *********************************************************************//
  15470. // DispIntf:  FileConvertersDisp
  15471. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15472. // GUID:      {0002099A-0000-0000-C000-000000000046}
  15473. // *********************************************************************//
  15474.   FileConvertersDisp = dispinterface
  15475.     ['{0002099A-0000-0000-C000-000000000046}']
  15476.     property Application_: Application_ readonly dispid 1000;
  15477.     property Creator: Integer readonly dispid 1001;
  15478.     property Parent: IDispatch readonly dispid 1002;
  15479.     property Count: Integer readonly dispid 1;
  15480.     property _NewEnum: IUnknown readonly dispid -4;
  15481.     property ConvertMacWordChevrons: WdChevronConvertRule dispid 2;
  15482.     function Item(var Index: OleVariant): FileConverter; dispid 0;
  15483.   end;
  15484.  
  15485. // *********************************************************************//
  15486. // Interface: SynonymInfo
  15487. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15488. // GUID:      {0002099B-0000-0000-C000-000000000046}
  15489. // *********************************************************************//
  15490.   SynonymInfo = interface(IDispatch)
  15491.     ['{0002099B-0000-0000-C000-000000000046}']
  15492.     function Get_Application_: Application_; safecall;
  15493.     function Get_Creator: Integer; safecall;
  15494.     function Get_Parent: IDispatch; safecall;
  15495.     function Get_Word: WideString; safecall;
  15496.     function Get_Found: WordBool; safecall;
  15497.     function Get_MeaningCount: Integer; safecall;
  15498.     function Get_MeaningList: OleVariant; safecall;
  15499.     function Get_PartOfSpeechList: OleVariant; safecall;
  15500.     function Get_SynonymList(var Meaning: OleVariant): OleVariant; safecall;
  15501.     function Get_AntonymList: OleVariant; safecall;
  15502.     function Get_RelatedExpressionList: OleVariant; safecall;
  15503.     function Get_RelatedWordList: OleVariant; safecall;
  15504.     property Application_: Application_ read Get_Application_;
  15505.     property Creator: Integer read Get_Creator;
  15506.     property Parent: IDispatch read Get_Parent;
  15507.     property Word: WideString read Get_Word;
  15508.     property Found: WordBool read Get_Found;
  15509.     property MeaningCount: Integer read Get_MeaningCount;
  15510.     property MeaningList: OleVariant read Get_MeaningList;
  15511.     property PartOfSpeechList: OleVariant read Get_PartOfSpeechList;
  15512.     property SynonymList[var Meaning: OleVariant]: OleVariant read Get_SynonymList;
  15513.     property AntonymList: OleVariant read Get_AntonymList;
  15514.     property RelatedExpressionList: OleVariant read Get_RelatedExpressionList;
  15515.     property RelatedWordList: OleVariant read Get_RelatedWordList;
  15516.   end;
  15517.  
  15518. // *********************************************************************//
  15519. // DispIntf:  SynonymInfoDisp
  15520. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15521. // GUID:      {0002099B-0000-0000-C000-000000000046}
  15522. // *********************************************************************//
  15523.   SynonymInfoDisp = dispinterface
  15524.     ['{0002099B-0000-0000-C000-000000000046}']
  15525.     property Application_: Application_ readonly dispid 1000;
  15526.     property Creator: Integer readonly dispid 1001;
  15527.     property Parent: IDispatch readonly dispid 1002;
  15528.     property Word: WideString readonly dispid 1;
  15529.     property Found: WordBool readonly dispid 2;
  15530.     property MeaningCount: Integer readonly dispid 3;
  15531.     property MeaningList: OleVariant readonly dispid 4;
  15532.     property PartOfSpeechList: OleVariant readonly dispid 5;
  15533.     property SynonymList[var Meaning: OleVariant]: OleVariant readonly dispid 7;
  15534.     property AntonymList: OleVariant readonly dispid 8;
  15535.     property RelatedExpressionList: OleVariant readonly dispid 9;
  15536.     property RelatedWordList: OleVariant readonly dispid 10;
  15537.   end;
  15538.  
  15539. // *********************************************************************//
  15540. // Interface: Hyperlinks
  15541. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15542. // GUID:      {0002099C-0000-0000-C000-000000000046}
  15543. // *********************************************************************//
  15544.   Hyperlinks = interface(IDispatch)
  15545.     ['{0002099C-0000-0000-C000-000000000046}']
  15546.     function Get_Application_: Application_; safecall;
  15547.     function Get_Creator: Integer; safecall;
  15548.     function Get_Parent: IDispatch; safecall;
  15549.     function Get_Count: Integer; safecall;
  15550.     function Get__NewEnum: IUnknown; safecall;
  15551.     function Item(var Index: OleVariant): Hyperlink; safecall;
  15552.     function _Add(const Anchor: IDispatch; var Address: OleVariant; var SubAddress: OleVariant): Hyperlink; safecall;
  15553.     function Add(const Anchor: IDispatch; var Address: OleVariant; var SubAddress: OleVariant; 
  15554.                  var ScreenTip: OleVariant; var TextToDisplay: OleVariant; var Target: OleVariant): Hyperlink; safecall;
  15555.     property Application_: Application_ read Get_Application_;
  15556.     property Creator: Integer read Get_Creator;
  15557.     property Parent: IDispatch read Get_Parent;
  15558.     property Count: Integer read Get_Count;
  15559.     property _NewEnum: IUnknown read Get__NewEnum;
  15560.   end;
  15561.  
  15562. // *********************************************************************//
  15563. // DispIntf:  HyperlinksDisp
  15564. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15565. // GUID:      {0002099C-0000-0000-C000-000000000046}
  15566. // *********************************************************************//
  15567.   HyperlinksDisp = dispinterface
  15568.     ['{0002099C-0000-0000-C000-000000000046}']
  15569.     property Application_: Application_ readonly dispid 1000;
  15570.     property Creator: Integer readonly dispid 1001;
  15571.     property Parent: IDispatch readonly dispid 1002;
  15572.     property Count: Integer readonly dispid 1;
  15573.     property _NewEnum: IUnknown readonly dispid -4;
  15574.     function Item(var Index: OleVariant): Hyperlink; dispid 0;
  15575.     function _Add(const Anchor: IDispatch; var Address: OleVariant; var SubAddress: OleVariant): Hyperlink; dispid 100;
  15576.     function Add(const Anchor: IDispatch; var Address: OleVariant; var SubAddress: OleVariant; 
  15577.                  var ScreenTip: OleVariant; var TextToDisplay: OleVariant; var Target: OleVariant): Hyperlink; dispid 101;
  15578.   end;
  15579.  
  15580. // *********************************************************************//
  15581. // Interface: Hyperlink
  15582. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15583. // GUID:      {0002099D-0000-0000-C000-000000000046}
  15584. // *********************************************************************//
  15585.   Hyperlink = interface(IDispatch)
  15586.     ['{0002099D-0000-0000-C000-000000000046}']
  15587.     function Get_Application_: Application_; safecall;
  15588.     function Get_Creator: Integer; safecall;
  15589.     function Get_Parent: IDispatch; safecall;
  15590.     function Get_Name: WideString; safecall;
  15591.     function Get_AddressOld: WideString; safecall;
  15592.     function Get_Type_: MsoHyperlinkType; safecall;
  15593.     function Get_Range: Range; safecall;
  15594.     function Get_Shape: Shape; safecall;
  15595.     function Get_SubAddressOld: WideString; safecall;
  15596.     function Get_ExtraInfoRequired: WordBool; safecall;
  15597.     procedure Delete; safecall;
  15598.     procedure Follow(var NewWindow: OleVariant; var AddHistory: OleVariant; 
  15599.                      var ExtraInfo: OleVariant; var Method: OleVariant; var HeaderInfo: OleVariant); safecall;
  15600.     procedure AddToFavorites; safecall;
  15601.     procedure CreateNewDocument(const FileName: WideString; EditNow: WordBool; Overwrite: WordBool); safecall;
  15602.     function Get_Address: WideString; safecall;
  15603.     procedure Set_Address(const prop: WideString); safecall;
  15604.     function Get_SubAddress: WideString; safecall;
  15605.     procedure Set_SubAddress(const prop: WideString); safecall;
  15606.     function Get_EmailSubject: WideString; safecall;
  15607.     procedure Set_EmailSubject(const prop: WideString); safecall;
  15608.     function Get_ScreenTip: WideString; safecall;
  15609.     procedure Set_ScreenTip(const prop: WideString); safecall;
  15610.     function Get_TextToDisplay: WideString; safecall;
  15611.     procedure Set_TextToDisplay(const prop: WideString); safecall;
  15612.     function Get_Target: WideString; safecall;
  15613.     procedure Set_Target(const prop: WideString); safecall;
  15614.     property Application_: Application_ read Get_Application_;
  15615.     property Creator: Integer read Get_Creator;
  15616.     property Parent: IDispatch read Get_Parent;
  15617.     property Name: WideString read Get_Name;
  15618.     property AddressOld: WideString read Get_AddressOld;
  15619.     property Type_: MsoHyperlinkType read Get_Type_;
  15620.     property Range: Range read Get_Range;
  15621.     property Shape: Shape read Get_Shape;
  15622.     property SubAddressOld: WideString read Get_SubAddressOld;
  15623.     property ExtraInfoRequired: WordBool read Get_ExtraInfoRequired;
  15624.     property Address: WideString read Get_Address write Set_Address;
  15625.     property SubAddress: WideString read Get_SubAddress write Set_SubAddress;
  15626.     property EmailSubject: WideString read Get_EmailSubject write Set_EmailSubject;
  15627.     property ScreenTip: WideString read Get_ScreenTip write Set_ScreenTip;
  15628.     property TextToDisplay: WideString read Get_TextToDisplay write Set_TextToDisplay;
  15629.     property Target: WideString read Get_Target write Set_Target;
  15630.   end;
  15631.  
  15632. // *********************************************************************//
  15633. // DispIntf:  HyperlinkDisp
  15634. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15635. // GUID:      {0002099D-0000-0000-C000-000000000046}
  15636. // *********************************************************************//
  15637.   HyperlinkDisp = dispinterface
  15638.     ['{0002099D-0000-0000-C000-000000000046}']
  15639.     property Application_: Application_ readonly dispid 1000;
  15640.     property Creator: Integer readonly dispid 1001;
  15641.     property Parent: IDispatch readonly dispid 1002;
  15642.     property Name: WideString readonly dispid 1003;
  15643.     property AddressOld: WideString readonly dispid 1004;
  15644.     property Type_: MsoHyperlinkType readonly dispid 1005;
  15645.     property Range: Range readonly dispid 1006;
  15646.     property Shape: Shape readonly dispid 1007;
  15647.     property SubAddressOld: WideString readonly dispid 1008;
  15648.     property ExtraInfoRequired: WordBool readonly dispid 1009;
  15649.     procedure Delete; dispid 103;
  15650.     procedure Follow(var NewWindow: OleVariant; var AddHistory: OleVariant; 
  15651.                      var ExtraInfo: OleVariant; var Method: OleVariant; var HeaderInfo: OleVariant); dispid 104;
  15652.     procedure AddToFavorites; dispid 105;
  15653.     procedure CreateNewDocument(const FileName: WideString; EditNow: WordBool; Overwrite: WordBool); dispid 106;
  15654.     property Address: WideString dispid 1100;
  15655.     property SubAddress: WideString dispid 1101;
  15656.     property EmailSubject: WideString dispid 1010;
  15657.     property ScreenTip: WideString dispid 1011;
  15658.     property TextToDisplay: WideString dispid 1012;
  15659.     property Target: WideString dispid 1013;
  15660.   end;
  15661.  
  15662. // *********************************************************************//
  15663. // Interface: Shapes
  15664. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15665. // GUID:      {0002099F-0000-0000-C000-000000000046}
  15666. // *********************************************************************//
  15667.   Shapes = interface(IDispatch)
  15668.     ['{0002099F-0000-0000-C000-000000000046}']
  15669.     function Get_Application_: Application_; safecall;
  15670.     function Get_Creator: Integer; safecall;
  15671.     function Get_Parent: IDispatch; safecall;
  15672.     function Get_Count: Integer; safecall;
  15673.     function Get__NewEnum: IUnknown; safecall;
  15674.     function Item(var Index: OleVariant): Shape; safecall;
  15675.     function AddCallout(Type_: MsoCalloutType; Left: Single; Top: Single; Width: Single; 
  15676.                         Height: Single; var Anchor: OleVariant): Shape; safecall;
  15677.     function AddConnector(Type_: MsoConnectorType; BeginX: Single; BeginY: Single; EndX: Single; 
  15678.                           EndY: Single): Shape; safecall;
  15679.     function AddCurve(var SafeArrayOfPoints: OleVariant; var Anchor: OleVariant): Shape; safecall;
  15680.     function AddLabel(Orientation: MsoTextOrientation; Left: Single; Top: Single; Width: Single; 
  15681.                       Height: Single; var Anchor: OleVariant): Shape; safecall;
  15682.     function AddLine(BeginX: Single; BeginY: Single; EndX: Single; EndY: Single; 
  15683.                      var Anchor: OleVariant): Shape; safecall;
  15684.     function AddPicture(const FileName: WideString; var LinkToFile: OleVariant; 
  15685.                         var SaveWithDocument: OleVariant; var Left: OleVariant; 
  15686.                         var Top: OleVariant; var Width: OleVariant; var Height: OleVariant; 
  15687.                         var Anchor: OleVariant): Shape; safecall;
  15688.     function AddPolyline(var SafeArrayOfPoints: OleVariant; var Anchor: OleVariant): Shape; safecall;
  15689.     function AddShape(Type_: Integer; Left: Single; Top: Single; Width: Single; Height: Single; 
  15690.                       var Anchor: OleVariant): Shape; safecall;
  15691.     function AddTextEffect(PresetTextEffect: MsoPresetTextEffect; const Text: WideString; 
  15692.                            const FontName: WideString; FontSize: Single; FontBold: MsoTriState; 
  15693.                            FontItalic: MsoTriState; Left: Single; Top: Single; 
  15694.                            var Anchor: OleVariant): Shape; safecall;
  15695.     function AddTextbox(Orientation: MsoTextOrientation; Left: Single; Top: Single; Width: Single; 
  15696.                         Height: Single; var Anchor: OleVariant): Shape; safecall;
  15697.     function BuildFreeform(EditingType: MsoEditingType; X1: Single; Y1: Single): FreeformBuilder; safecall;
  15698.     function Range(var Index: OleVariant): ShapeRange; safecall;
  15699.     procedure SelectAll; safecall;
  15700.     function AddOLEObject(var ClassType: OleVariant; var FileName: OleVariant; 
  15701.                           var LinkToFile: OleVariant; var DisplayAsIcon: OleVariant; 
  15702.                           var IconFileName: OleVariant; var IconIndex: OleVariant; 
  15703.                           var IconLabel: OleVariant; var Left: OleVariant; var Top: OleVariant; 
  15704.                           var Width: OleVariant; var Height: OleVariant; var Anchor: OleVariant): Shape; safecall;
  15705.     function AddOLEControl(var ClassType: OleVariant; var Left: OleVariant; var Top: OleVariant; 
  15706.                            var Width: OleVariant; var Height: OleVariant; var Anchor: OleVariant): Shape; safecall;
  15707.     property Application_: Application_ read Get_Application_;
  15708.     property Creator: Integer read Get_Creator;
  15709.     property Parent: IDispatch read Get_Parent;
  15710.     property Count: Integer read Get_Count;
  15711.     property _NewEnum: IUnknown read Get__NewEnum;
  15712.   end;
  15713.  
  15714. // *********************************************************************//
  15715. // DispIntf:  ShapesDisp
  15716. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15717. // GUID:      {0002099F-0000-0000-C000-000000000046}
  15718. // *********************************************************************//
  15719.   ShapesDisp = dispinterface
  15720.     ['{0002099F-0000-0000-C000-000000000046}']
  15721.     property Application_: Application_ readonly dispid 8000;
  15722.     property Creator: Integer readonly dispid 8001;
  15723.     property Parent: IDispatch readonly dispid 1;
  15724.     property Count: Integer readonly dispid 2;
  15725.     property _NewEnum: IUnknown readonly dispid -4;
  15726.     function Item(var Index: OleVariant): Shape; dispid 0;
  15727.     function AddCallout(Type_: MsoCalloutType; Left: Single; Top: Single; Width: Single; 
  15728.                         Height: Single; var Anchor: OleVariant): Shape; dispid 10;
  15729.     function AddConnector(Type_: MsoConnectorType; BeginX: Single; BeginY: Single; EndX: Single; 
  15730.                           EndY: Single): Shape; dispid 11;
  15731.     function AddCurve(var SafeArrayOfPoints: OleVariant; var Anchor: OleVariant): Shape; dispid 12;
  15732.     function AddLabel(Orientation: MsoTextOrientation; Left: Single; Top: Single; Width: Single; 
  15733.                       Height: Single; var Anchor: OleVariant): Shape; dispid 13;
  15734.     function AddLine(BeginX: Single; BeginY: Single; EndX: Single; EndY: Single; 
  15735.                      var Anchor: OleVariant): Shape; dispid 14;
  15736.     function AddPicture(const FileName: WideString; var LinkToFile: OleVariant; 
  15737.                         var SaveWithDocument: OleVariant; var Left: OleVariant; 
  15738.                         var Top: OleVariant; var Width: OleVariant; var Height: OleVariant; 
  15739.                         var Anchor: OleVariant): Shape; dispid 15;
  15740.     function AddPolyline(var SafeArrayOfPoints: OleVariant; var Anchor: OleVariant): Shape; dispid 16;
  15741.     function AddShape(Type_: Integer; Left: Single; Top: Single; Width: Single; Height: Single; 
  15742.                       var Anchor: OleVariant): Shape; dispid 17;
  15743.     function AddTextEffect(PresetTextEffect: MsoPresetTextEffect; const Text: WideString; 
  15744.                            const FontName: WideString; FontSize: Single; FontBold: MsoTriState; 
  15745.                            FontItalic: MsoTriState; Left: Single; Top: Single; 
  15746.                            var Anchor: OleVariant): Shape; dispid 18;
  15747.     function AddTextbox(Orientation: MsoTextOrientation; Left: Single; Top: Single; Width: Single; 
  15748.                         Height: Single; var Anchor: OleVariant): Shape; dispid 19;
  15749.     function BuildFreeform(EditingType: MsoEditingType; X1: Single; Y1: Single): FreeformBuilder; dispid 20;
  15750.     function Range(var Index: OleVariant): ShapeRange; dispid 21;
  15751.     procedure SelectAll; dispid 22;
  15752.     function AddOLEObject(var ClassType: OleVariant; var FileName: OleVariant; 
  15753.                           var LinkToFile: OleVariant; var DisplayAsIcon: OleVariant; 
  15754.                           var IconFileName: OleVariant; var IconIndex: OleVariant; 
  15755.                           var IconLabel: OleVariant; var Left: OleVariant; var Top: OleVariant; 
  15756.                           var Width: OleVariant; var Height: OleVariant; var Anchor: OleVariant): Shape; dispid 24;
  15757.     function AddOLEControl(var ClassType: OleVariant; var Left: OleVariant; var Top: OleVariant; 
  15758.                            var Width: OleVariant; var Height: OleVariant; var Anchor: OleVariant): Shape; dispid 102;
  15759.   end;
  15760.  
  15761. // *********************************************************************//
  15762. // Interface: ShapeRange
  15763. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15764. // GUID:      {000209B5-0000-0000-C000-000000000046}
  15765. // *********************************************************************//
  15766.   ShapeRange = interface(IDispatch)
  15767.     ['{000209B5-0000-0000-C000-000000000046}']
  15768.     function Get_Application_: Application_; safecall;
  15769.     function Get_Creator: Integer; safecall;
  15770.     function Get_Parent: IDispatch; safecall;
  15771.     function Get_Count: Integer; safecall;
  15772.     function Get__NewEnum: IUnknown; safecall;
  15773.     function Get_Adjustments: Adjustments; safecall;
  15774.     function Get_AutoShapeType: MsoAutoShapeType; safecall;
  15775.     procedure Set_AutoShapeType(prop: MsoAutoShapeType); safecall;
  15776.     function Get_Callout: CalloutFormat; safecall;
  15777.     function Get_ConnectionSiteCount: Integer; safecall;
  15778.     function Get_Connector: MsoTriState; safecall;
  15779.     function Get_ConnectorFormat: ConnectorFormat; safecall;
  15780.     function Get_Fill: FillFormat; safecall;
  15781.     function Get_GroupItems: GroupShapes; safecall;
  15782.     function Get_Height: Single; safecall;
  15783.     procedure Set_Height(prop: Single); safecall;
  15784.     function Get_HorizontalFlip: MsoTriState; safecall;
  15785.     function Get_Left: Single; safecall;
  15786.     procedure Set_Left(prop: Single); safecall;
  15787.     function Get_Line: LineFormat; safecall;
  15788.     function Get_LockAspectRatio: MsoTriState; safecall;
  15789.     procedure Set_LockAspectRatio(prop: MsoTriState); safecall;
  15790.     function Get_Name: WideString; safecall;
  15791.     procedure Set_Name(const prop: WideString); safecall;
  15792.     function Get_Nodes: ShapeNodes; safecall;
  15793.     function Get_Rotation: Single; safecall;
  15794.     procedure Set_Rotation(prop: Single); safecall;
  15795.     function Get_PictureFormat: PictureFormat; safecall;
  15796.     function Get_Shadow: ShadowFormat; safecall;
  15797.     function Get_TextEffect: TextEffectFormat; safecall;
  15798.     function Get_TextFrame: TextFrame; safecall;
  15799.     function Get_ThreeD: ThreeDFormat; safecall;
  15800.     function Get_Top: Single; safecall;
  15801.     procedure Set_Top(prop: Single); safecall;
  15802.     function Get_Type_: MsoShapeType; safecall;
  15803.     function Get_VerticalFlip: MsoTriState; safecall;
  15804.     function Get_Vertices: OleVariant; safecall;
  15805.     function Get_Visible: MsoTriState; safecall;
  15806.     procedure Set_Visible(prop: MsoTriState); safecall;
  15807.     function Get_Width: Single; safecall;
  15808.     procedure Set_Width(prop: Single); safecall;
  15809.     function Get_ZOrderPosition: Integer; safecall;
  15810.     function Get_Hyperlink: Hyperlink; safecall;
  15811.     function Get_RelativeHorizontalPosition: WdRelativeHorizontalPosition; safecall;
  15812.     procedure Set_RelativeHorizontalPosition(prop: WdRelativeHorizontalPosition); safecall;
  15813.     function Get_RelativeVerticalPosition: WdRelativeVerticalPosition; safecall;
  15814.     procedure Set_RelativeVerticalPosition(prop: WdRelativeVerticalPosition); safecall;
  15815.     function Get_LockAnchor: Integer; safecall;
  15816.     procedure Set_LockAnchor(prop: Integer); safecall;
  15817.     function Get_WrapFormat: WrapFormat; safecall;
  15818.     function Get_Anchor: Range; safecall;
  15819.     function Item(var Index: OleVariant): Shape; safecall;
  15820.     procedure Align(Align: MsoAlignCmd; RelativeTo: Integer); safecall;
  15821.     procedure Apply; safecall;
  15822.     procedure Delete; safecall;
  15823.     procedure Distribute(Distribute: MsoDistributeCmd; RelativeTo: Integer); safecall;
  15824.     function Duplicate: ShapeRange; safecall;
  15825.     procedure Flip(FlipCmd: MsoFlipCmd); safecall;
  15826.     procedure IncrementLeft(Increment: Single); safecall;
  15827.     procedure IncrementRotation(Increment: Single); safecall;
  15828.     procedure IncrementTop(Increment: Single); safecall;
  15829.     function Group: Shape; safecall;
  15830.     procedure PickUp; safecall;
  15831.     function Regroup: Shape; safecall;
  15832.     procedure RerouteConnections; safecall;
  15833.     procedure ScaleHeight(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); safecall;
  15834.     procedure ScaleWidth(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); safecall;
  15835.     procedure Select(var Replace: OleVariant); safecall;
  15836.     procedure SetShapesDefaultProperties; safecall;
  15837.     function Ungroup: ShapeRange; safecall;
  15838.     procedure ZOrder(ZOrderCmd: MsoZOrderCmd); safecall;
  15839.     function ConvertToFrame: Frame; safecall;
  15840.     function ConvertToInlineShape: InlineShape; safecall;
  15841.     procedure Activate; safecall;
  15842.     function Get_AlternativeText: WideString; safecall;
  15843.     procedure Set_AlternativeText(const prop: WideString); safecall;
  15844.     property Application_: Application_ read Get_Application_;
  15845.     property Creator: Integer read Get_Creator;
  15846.     property Parent: IDispatch read Get_Parent;
  15847.     property Count: Integer read Get_Count;
  15848.     property _NewEnum: IUnknown read Get__NewEnum;
  15849.     property Adjustments: Adjustments read Get_Adjustments;
  15850.     property AutoShapeType: MsoAutoShapeType read Get_AutoShapeType write Set_AutoShapeType;
  15851.     property Callout: CalloutFormat read Get_Callout;
  15852.     property ConnectionSiteCount: Integer read Get_ConnectionSiteCount;
  15853.     property Connector: MsoTriState read Get_Connector;
  15854.     property ConnectorFormat: ConnectorFormat read Get_ConnectorFormat;
  15855.     property Fill: FillFormat read Get_Fill;
  15856.     property GroupItems: GroupShapes read Get_GroupItems;
  15857.     property Height: Single read Get_Height write Set_Height;
  15858.     property HorizontalFlip: MsoTriState read Get_HorizontalFlip;
  15859.     property Left: Single read Get_Left write Set_Left;
  15860.     property Line: LineFormat read Get_Line;
  15861.     property LockAspectRatio: MsoTriState read Get_LockAspectRatio write Set_LockAspectRatio;
  15862.     property Name: WideString read Get_Name write Set_Name;
  15863.     property Nodes: ShapeNodes read Get_Nodes;
  15864.     property Rotation: Single read Get_Rotation write Set_Rotation;
  15865.     property PictureFormat: PictureFormat read Get_PictureFormat;
  15866.     property Shadow: ShadowFormat read Get_Shadow;
  15867.     property TextEffect: TextEffectFormat read Get_TextEffect;
  15868.     property TextFrame: TextFrame read Get_TextFrame;
  15869.     property ThreeD: ThreeDFormat read Get_ThreeD;
  15870.     property Top: Single read Get_Top write Set_Top;
  15871.     property Type_: MsoShapeType read Get_Type_;
  15872.     property VerticalFlip: MsoTriState read Get_VerticalFlip;
  15873.     property Vertices: OleVariant read Get_Vertices;
  15874.     property Visible: MsoTriState read Get_Visible write Set_Visible;
  15875.     property Width: Single read Get_Width write Set_Width;
  15876.     property ZOrderPosition: Integer read Get_ZOrderPosition;
  15877.     property Hyperlink: Hyperlink read Get_Hyperlink;
  15878.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition read Get_RelativeHorizontalPosition write Set_RelativeHorizontalPosition;
  15879.     property RelativeVerticalPosition: WdRelativeVerticalPosition read Get_RelativeVerticalPosition write Set_RelativeVerticalPosition;
  15880.     property LockAnchor: Integer read Get_LockAnchor write Set_LockAnchor;
  15881.     property WrapFormat: WrapFormat read Get_WrapFormat;
  15882.     property Anchor: Range read Get_Anchor;
  15883.     property AlternativeText: WideString read Get_AlternativeText write Set_AlternativeText;
  15884.   end;
  15885.  
  15886. // *********************************************************************//
  15887. // DispIntf:  ShapeRangeDisp
  15888. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15889. // GUID:      {000209B5-0000-0000-C000-000000000046}
  15890. // *********************************************************************//
  15891.   ShapeRangeDisp = dispinterface
  15892.     ['{000209B5-0000-0000-C000-000000000046}']
  15893.     property Application_: Application_ readonly dispid 8000;
  15894.     property Creator: Integer readonly dispid 8001;
  15895.     property Parent: IDispatch readonly dispid 1;
  15896.     property Count: Integer readonly dispid 2;
  15897.     property _NewEnum: IUnknown readonly dispid -4;
  15898.     property Adjustments: Adjustments readonly dispid 100;
  15899.     property AutoShapeType: MsoAutoShapeType dispid 101;
  15900.     property Callout: CalloutFormat readonly dispid 103;
  15901.     property ConnectionSiteCount: Integer readonly dispid 104;
  15902.     property Connector: MsoTriState readonly dispid 105;
  15903.     property ConnectorFormat: ConnectorFormat readonly dispid 106;
  15904.     property Fill: FillFormat readonly dispid 107;
  15905.     property GroupItems: GroupShapes readonly dispid 108;
  15906.     property Height: Single dispid 109;
  15907.     property HorizontalFlip: MsoTriState readonly dispid 110;
  15908.     property Left: Single dispid 111;
  15909.     property Line: LineFormat readonly dispid 112;
  15910.     property LockAspectRatio: MsoTriState dispid 113;
  15911.     property Name: WideString dispid 115;
  15912.     property Nodes: ShapeNodes readonly dispid 116;
  15913.     property Rotation: Single dispid 117;
  15914.     property PictureFormat: PictureFormat readonly dispid 118;
  15915.     property Shadow: ShadowFormat readonly dispid 119;
  15916.     property TextEffect: TextEffectFormat readonly dispid 120;
  15917.     property TextFrame: TextFrame readonly dispid 121;
  15918.     property ThreeD: ThreeDFormat readonly dispid 122;
  15919.     property Top: Single dispid 123;
  15920.     property Type_: MsoShapeType readonly dispid 124;
  15921.     property VerticalFlip: MsoTriState readonly dispid 125;
  15922.     property Vertices: OleVariant readonly dispid 126;
  15923.     property Visible: MsoTriState dispid 127;
  15924.     property Width: Single dispid 128;
  15925.     property ZOrderPosition: Integer readonly dispid 129;
  15926.     property Hyperlink: Hyperlink readonly dispid 1001;
  15927.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition dispid 300;
  15928.     property RelativeVerticalPosition: WdRelativeVerticalPosition dispid 301;
  15929.     property LockAnchor: Integer dispid 302;
  15930.     property WrapFormat: WrapFormat readonly dispid 303;
  15931.     property Anchor: Range readonly dispid 304;
  15932.     function Item(var Index: OleVariant): Shape; dispid 0;
  15933.     procedure Align(Align: MsoAlignCmd; RelativeTo: Integer); dispid 10;
  15934.     procedure Apply; dispid 11;
  15935.     procedure Delete; dispid 12;
  15936.     procedure Distribute(Distribute: MsoDistributeCmd; RelativeTo: Integer); dispid 13;
  15937.     function Duplicate: ShapeRange; dispid 14;
  15938.     procedure Flip(FlipCmd: MsoFlipCmd); dispid 15;
  15939.     procedure IncrementLeft(Increment: Single); dispid 16;
  15940.     procedure IncrementRotation(Increment: Single); dispid 17;
  15941.     procedure IncrementTop(Increment: Single); dispid 18;
  15942.     function Group: Shape; dispid 19;
  15943.     procedure PickUp; dispid 20;
  15944.     function Regroup: Shape; dispid 21;
  15945.     procedure RerouteConnections; dispid 22;
  15946.     procedure ScaleHeight(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); dispid 23;
  15947.     procedure ScaleWidth(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); dispid 24;
  15948.     procedure Select(var Replace: OleVariant); dispid 25;
  15949.     procedure SetShapesDefaultProperties; dispid 26;
  15950.     function Ungroup: ShapeRange; dispid 27;
  15951.     procedure ZOrder(ZOrderCmd: MsoZOrderCmd); dispid 28;
  15952.     function ConvertToFrame: Frame; dispid 29;
  15953.     function ConvertToInlineShape: InlineShape; dispid 30;
  15954.     procedure Activate; dispid 50;
  15955.     property AlternativeText: WideString dispid 131;
  15956.   end;
  15957.  
  15958. // *********************************************************************//
  15959. // Interface: GroupShapes
  15960. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15961. // GUID:      {000209B6-0000-0000-C000-000000000046}
  15962. // *********************************************************************//
  15963.   GroupShapes = interface(IDispatch)
  15964.     ['{000209B6-0000-0000-C000-000000000046}']
  15965.     function Get_Application_: Application_; safecall;
  15966.     function Get_Creator: Integer; safecall;
  15967.     function Get_Parent: IDispatch; safecall;
  15968.     function Get_Count: Integer; safecall;
  15969.     function Get__NewEnum: IUnknown; safecall;
  15970.     function Item(var Index: OleVariant): Shape; safecall;
  15971.     property Application_: Application_ read Get_Application_;
  15972.     property Creator: Integer read Get_Creator;
  15973.     property Parent: IDispatch read Get_Parent;
  15974.     property Count: Integer read Get_Count;
  15975.     property _NewEnum: IUnknown read Get__NewEnum;
  15976.   end;
  15977.  
  15978. // *********************************************************************//
  15979. // DispIntf:  GroupShapesDisp
  15980. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15981. // GUID:      {000209B6-0000-0000-C000-000000000046}
  15982. // *********************************************************************//
  15983.   GroupShapesDisp = dispinterface
  15984.     ['{000209B6-0000-0000-C000-000000000046}']
  15985.     property Application_: Application_ readonly dispid 8000;
  15986.     property Creator: Integer readonly dispid 8001;
  15987.     property Parent: IDispatch readonly dispid 1;
  15988.     property Count: Integer readonly dispid 2;
  15989.     property _NewEnum: IUnknown readonly dispid -4;
  15990.     function Item(var Index: OleVariant): Shape; dispid 0;
  15991.   end;
  15992.  
  15993. // *********************************************************************//
  15994. // Interface: Shape
  15995. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  15996. // GUID:      {000209A0-0000-0000-C000-000000000046}
  15997. // *********************************************************************//
  15998.   Shape = interface(IDispatch)
  15999.     ['{000209A0-0000-0000-C000-000000000046}']
  16000.     function Get_Application_: Application_; safecall;
  16001.     function Get_Creator: Integer; safecall;
  16002.     function Get_Parent: IDispatch; safecall;
  16003.     function Get_Adjustments: Adjustments; safecall;
  16004.     function Get_AutoShapeType: MsoAutoShapeType; safecall;
  16005.     procedure Set_AutoShapeType(prop: MsoAutoShapeType); safecall;
  16006.     function Get_Callout: CalloutFormat; safecall;
  16007.     function Get_ConnectionSiteCount: Integer; safecall;
  16008.     function Get_Connector: MsoTriState; safecall;
  16009.     function Get_ConnectorFormat: ConnectorFormat; safecall;
  16010.     function Get_Fill: FillFormat; safecall;
  16011.     function Get_GroupItems: GroupShapes; safecall;
  16012.     function Get_Height: Single; safecall;
  16013.     procedure Set_Height(prop: Single); safecall;
  16014.     function Get_HorizontalFlip: MsoTriState; safecall;
  16015.     function Get_Left: Single; safecall;
  16016.     procedure Set_Left(prop: Single); safecall;
  16017.     function Get_Line: LineFormat; safecall;
  16018.     function Get_LockAspectRatio: MsoTriState; safecall;
  16019.     procedure Set_LockAspectRatio(prop: MsoTriState); safecall;
  16020.     function Get_Name: WideString; safecall;
  16021.     procedure Set_Name(const prop: WideString); safecall;
  16022.     function Get_Nodes: ShapeNodes; safecall;
  16023.     function Get_Rotation: Single; safecall;
  16024.     procedure Set_Rotation(prop: Single); safecall;
  16025.     function Get_PictureFormat: PictureFormat; safecall;
  16026.     function Get_Shadow: ShadowFormat; safecall;
  16027.     function Get_TextEffect: TextEffectFormat; safecall;
  16028.     function Get_TextFrame: TextFrame; safecall;
  16029.     function Get_ThreeD: ThreeDFormat; safecall;
  16030.     function Get_Top: Single; safecall;
  16031.     procedure Set_Top(prop: Single); safecall;
  16032.     function Get_Type_: MsoShapeType; safecall;
  16033.     function Get_VerticalFlip: MsoTriState; safecall;
  16034.     function Get_Vertices: OleVariant; safecall;
  16035.     function Get_Visible: MsoTriState; safecall;
  16036.     procedure Set_Visible(prop: MsoTriState); safecall;
  16037.     function Get_Width: Single; safecall;
  16038.     procedure Set_Width(prop: Single); safecall;
  16039.     function Get_ZOrderPosition: Integer; safecall;
  16040.     function Get_Hyperlink: Hyperlink; safecall;
  16041.     function Get_RelativeHorizontalPosition: WdRelativeHorizontalPosition; safecall;
  16042.     procedure Set_RelativeHorizontalPosition(prop: WdRelativeHorizontalPosition); safecall;
  16043.     function Get_RelativeVerticalPosition: WdRelativeVerticalPosition; safecall;
  16044.     procedure Set_RelativeVerticalPosition(prop: WdRelativeVerticalPosition); safecall;
  16045.     function Get_LockAnchor: Integer; safecall;
  16046.     procedure Set_LockAnchor(prop: Integer); safecall;
  16047.     function Get_WrapFormat: WrapFormat; safecall;
  16048.     function Get_OLEFormat: OLEFormat; safecall;
  16049.     function Get_Anchor: Range; safecall;
  16050.     function Get_LinkFormat: LinkFormat; safecall;
  16051.     procedure Apply; safecall;
  16052.     procedure Delete; safecall;
  16053.     function Duplicate: Shape; safecall;
  16054.     procedure Flip(FlipCmd: MsoFlipCmd); safecall;
  16055.     procedure IncrementLeft(Increment: Single); safecall;
  16056.     procedure IncrementRotation(Increment: Single); safecall;
  16057.     procedure IncrementTop(Increment: Single); safecall;
  16058.     procedure PickUp; safecall;
  16059.     procedure RerouteConnections; safecall;
  16060.     procedure ScaleHeight(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); safecall;
  16061.     procedure ScaleWidth(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); safecall;
  16062.     procedure Select(var Replace: OleVariant); safecall;
  16063.     procedure SetShapesDefaultProperties; safecall;
  16064.     function Ungroup: ShapeRange; safecall;
  16065.     procedure ZOrder(ZOrderCmd: MsoZOrderCmd); safecall;
  16066.     function ConvertToInlineShape: InlineShape; safecall;
  16067.     function ConvertToFrame: Frame; safecall;
  16068.     procedure Activate; safecall;
  16069.     function Get_AlternativeText: WideString; safecall;
  16070.     procedure Set_AlternativeText(const prop: WideString); safecall;
  16071.     function Get_Script: Script; safecall;
  16072.     property Application_: Application_ read Get_Application_;
  16073.     property Creator: Integer read Get_Creator;
  16074.     property Parent: IDispatch read Get_Parent;
  16075.     property Adjustments: Adjustments read Get_Adjustments;
  16076.     property AutoShapeType: MsoAutoShapeType read Get_AutoShapeType write Set_AutoShapeType;
  16077.     property Callout: CalloutFormat read Get_Callout;
  16078.     property ConnectionSiteCount: Integer read Get_ConnectionSiteCount;
  16079.     property Connector: MsoTriState read Get_Connector;
  16080.     property ConnectorFormat: ConnectorFormat read Get_ConnectorFormat;
  16081.     property Fill: FillFormat read Get_Fill;
  16082.     property GroupItems: GroupShapes read Get_GroupItems;
  16083.     property Height: Single read Get_Height write Set_Height;
  16084.     property HorizontalFlip: MsoTriState read Get_HorizontalFlip;
  16085.     property Left: Single read Get_Left write Set_Left;
  16086.     property Line: LineFormat read Get_Line;
  16087.     property LockAspectRatio: MsoTriState read Get_LockAspectRatio write Set_LockAspectRatio;
  16088.     property Name: WideString read Get_Name write Set_Name;
  16089.     property Nodes: ShapeNodes read Get_Nodes;
  16090.     property Rotation: Single read Get_Rotation write Set_Rotation;
  16091.     property PictureFormat: PictureFormat read Get_PictureFormat;
  16092.     property Shadow: ShadowFormat read Get_Shadow;
  16093.     property TextEffect: TextEffectFormat read Get_TextEffect;
  16094.     property TextFrame: TextFrame read Get_TextFrame;
  16095.     property ThreeD: ThreeDFormat read Get_ThreeD;
  16096.     property Top: Single read Get_Top write Set_Top;
  16097.     property Type_: MsoShapeType read Get_Type_;
  16098.     property VerticalFlip: MsoTriState read Get_VerticalFlip;
  16099.     property Vertices: OleVariant read Get_Vertices;
  16100.     property Visible: MsoTriState read Get_Visible write Set_Visible;
  16101.     property Width: Single read Get_Width write Set_Width;
  16102.     property ZOrderPosition: Integer read Get_ZOrderPosition;
  16103.     property Hyperlink: Hyperlink read Get_Hyperlink;
  16104.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition read Get_RelativeHorizontalPosition write Set_RelativeHorizontalPosition;
  16105.     property RelativeVerticalPosition: WdRelativeVerticalPosition read Get_RelativeVerticalPosition write Set_RelativeVerticalPosition;
  16106.     property LockAnchor: Integer read Get_LockAnchor write Set_LockAnchor;
  16107.     property WrapFormat: WrapFormat read Get_WrapFormat;
  16108.     property OLEFormat: OLEFormat read Get_OLEFormat;
  16109.     property Anchor: Range read Get_Anchor;
  16110.     property LinkFormat: LinkFormat read Get_LinkFormat;
  16111.     property AlternativeText: WideString read Get_AlternativeText write Set_AlternativeText;
  16112.     property Script: Script read Get_Script;
  16113.   end;
  16114.  
  16115. // *********************************************************************//
  16116. // DispIntf:  ShapeDisp
  16117. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16118. // GUID:      {000209A0-0000-0000-C000-000000000046}
  16119. // *********************************************************************//
  16120.   ShapeDisp = dispinterface
  16121.     ['{000209A0-0000-0000-C000-000000000046}']
  16122.     property Application_: Application_ readonly dispid 8000;
  16123.     property Creator: Integer readonly dispid 8001;
  16124.     property Parent: IDispatch readonly dispid 1;
  16125.     property Adjustments: Adjustments readonly dispid 100;
  16126.     property AutoShapeType: MsoAutoShapeType dispid 101;
  16127.     property Callout: CalloutFormat readonly dispid 103;
  16128.     property ConnectionSiteCount: Integer readonly dispid 104;
  16129.     property Connector: MsoTriState readonly dispid 105;
  16130.     property ConnectorFormat: ConnectorFormat readonly dispid 106;
  16131.     property Fill: FillFormat readonly dispid 107;
  16132.     property GroupItems: GroupShapes readonly dispid 108;
  16133.     property Height: Single dispid 109;
  16134.     property HorizontalFlip: MsoTriState readonly dispid 110;
  16135.     property Left: Single dispid 111;
  16136.     property Line: LineFormat readonly dispid 112;
  16137.     property LockAspectRatio: MsoTriState dispid 113;
  16138.     property Name: WideString dispid 115;
  16139.     property Nodes: ShapeNodes readonly dispid 116;
  16140.     property Rotation: Single dispid 117;
  16141.     property PictureFormat: PictureFormat readonly dispid 118;
  16142.     property Shadow: ShadowFormat readonly dispid 119;
  16143.     property TextEffect: TextEffectFormat readonly dispid 120;
  16144.     property TextFrame: TextFrame readonly dispid 121;
  16145.     property ThreeD: ThreeDFormat readonly dispid 122;
  16146.     property Top: Single dispid 123;
  16147.     property Type_: MsoShapeType readonly dispid 124;
  16148.     property VerticalFlip: MsoTriState readonly dispid 125;
  16149.     property Vertices: OleVariant readonly dispid 126;
  16150.     property Visible: MsoTriState dispid 127;
  16151.     property Width: Single dispid 128;
  16152.     property ZOrderPosition: Integer readonly dispid 129;
  16153.     property Hyperlink: Hyperlink readonly dispid 1001;
  16154.     property RelativeHorizontalPosition: WdRelativeHorizontalPosition dispid 300;
  16155.     property RelativeVerticalPosition: WdRelativeVerticalPosition dispid 301;
  16156.     property LockAnchor: Integer dispid 302;
  16157.     property WrapFormat: WrapFormat readonly dispid 303;
  16158.     property OLEFormat: OLEFormat readonly dispid 500;
  16159.     property Anchor: Range readonly dispid 501;
  16160.     property LinkFormat: LinkFormat readonly dispid 502;
  16161.     procedure Apply; dispid 10;
  16162.     procedure Delete; dispid 11;
  16163.     function Duplicate: Shape; dispid 12;
  16164.     procedure Flip(FlipCmd: MsoFlipCmd); dispid 13;
  16165.     procedure IncrementLeft(Increment: Single); dispid 14;
  16166.     procedure IncrementRotation(Increment: Single); dispid 15;
  16167.     procedure IncrementTop(Increment: Single); dispid 16;
  16168.     procedure PickUp; dispid 17;
  16169.     procedure RerouteConnections; dispid 18;
  16170.     procedure ScaleHeight(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); dispid 19;
  16171.     procedure ScaleWidth(Factor: Single; RelativeToOriginalSize: MsoTriState; Scale: MsoScaleFrom); dispid 20;
  16172.     procedure Select(var Replace: OleVariant); dispid 21;
  16173.     procedure SetShapesDefaultProperties; dispid 22;
  16174.     function Ungroup: ShapeRange; dispid 23;
  16175.     procedure ZOrder(ZOrderCmd: MsoZOrderCmd); dispid 24;
  16176.     function ConvertToInlineShape: InlineShape; dispid 25;
  16177.     function ConvertToFrame: Frame; dispid 29;
  16178.     procedure Activate; dispid 50;
  16179.     property AlternativeText: WideString dispid 131;
  16180.     property Script: Script readonly dispid 503;
  16181.   end;
  16182.  
  16183. // *********************************************************************//
  16184. // Interface: TextFrame
  16185. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16186. // GUID:      {000209B2-0000-0000-C000-000000000046}
  16187. // *********************************************************************//
  16188.   TextFrame = interface(IDispatch)
  16189.     ['{000209B2-0000-0000-C000-000000000046}']
  16190.     function Get_Application_: Application_; safecall;
  16191.     function Get_Creator: Integer; safecall;
  16192.     function Get_Parent: Shape; safecall;
  16193.     function Get_MarginBottom: Single; safecall;
  16194.     procedure Set_MarginBottom(prop: Single); safecall;
  16195.     function Get_MarginLeft: Single; safecall;
  16196.     procedure Set_MarginLeft(prop: Single); safecall;
  16197.     function Get_MarginRight: Single; safecall;
  16198.     procedure Set_MarginRight(prop: Single); safecall;
  16199.     function Get_MarginTop: Single; safecall;
  16200.     procedure Set_MarginTop(prop: Single); safecall;
  16201.     function Get_Orientation: MsoTextOrientation; safecall;
  16202.     procedure Set_Orientation(prop: MsoTextOrientation); safecall;
  16203.     function Get_TextRange: Range; safecall;
  16204.     function Get_ContainingRange: Range; safecall;
  16205.     function Get_Next: TextFrame; safecall;
  16206.     procedure Set_Next(const prop: TextFrame); safecall;
  16207.     function Get_Previous: TextFrame; safecall;
  16208.     procedure Set_Previous(const prop: TextFrame); safecall;
  16209.     function Get_Overflowing: WordBool; safecall;
  16210.     function Get_HasText: Integer; safecall;
  16211.     procedure BreakForwardLink; safecall;
  16212.     function ValidLinkTarget(const TargetTextFrame: TextFrame): WordBool; safecall;
  16213.     property Application_: Application_ read Get_Application_;
  16214.     property Creator: Integer read Get_Creator;
  16215.     property Parent: Shape read Get_Parent;
  16216.     property MarginBottom: Single read Get_MarginBottom write Set_MarginBottom;
  16217.     property MarginLeft: Single read Get_MarginLeft write Set_MarginLeft;
  16218.     property MarginRight: Single read Get_MarginRight write Set_MarginRight;
  16219.     property MarginTop: Single read Get_MarginTop write Set_MarginTop;
  16220.     property Orientation: MsoTextOrientation read Get_Orientation write Set_Orientation;
  16221.     property TextRange: Range read Get_TextRange;
  16222.     property ContainingRange: Range read Get_ContainingRange;
  16223.     property Next: TextFrame read Get_Next write Set_Next;
  16224.     property Previous: TextFrame read Get_Previous write Set_Previous;
  16225.     property Overflowing: WordBool read Get_Overflowing;
  16226.     property HasText: Integer read Get_HasText;
  16227.   end;
  16228.  
  16229. // *********************************************************************//
  16230. // DispIntf:  TextFrameDisp
  16231. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16232. // GUID:      {000209B2-0000-0000-C000-000000000046}
  16233. // *********************************************************************//
  16234.   TextFrameDisp = dispinterface
  16235.     ['{000209B2-0000-0000-C000-000000000046}']
  16236.     property Application_: Application_ readonly dispid 8000;
  16237.     property Creator: Integer readonly dispid 8001;
  16238.     property Parent: Shape readonly dispid 1;
  16239.     property MarginBottom: Single dispid 100;
  16240.     property MarginLeft: Single dispid 101;
  16241.     property MarginRight: Single dispid 102;
  16242.     property MarginTop: Single dispid 103;
  16243.     property Orientation: MsoTextOrientation dispid 104;
  16244.     property TextRange: Range readonly dispid 1001;
  16245.     property ContainingRange: Range readonly dispid 1002;
  16246.     property Next: TextFrame dispid 5001;
  16247.     property Previous: TextFrame dispid 5002;
  16248.     property Overflowing: WordBool readonly dispid 5003;
  16249.     property HasText: Integer readonly dispid 5008;
  16250.     procedure BreakForwardLink; dispid 5004;
  16251.     function ValidLinkTarget(const TargetTextFrame: TextFrame): WordBool; dispid 5006;
  16252.   end;
  16253.  
  16254. // *********************************************************************//
  16255. // Interface: _LetterContent
  16256. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  16257. // GUID:      {000209A1-0000-0000-C000-000000000046}
  16258. // *********************************************************************//
  16259.   _LetterContent = interface(IDispatch)
  16260.     ['{000209A1-0000-0000-C000-000000000046}']
  16261.     function Get_Application_: Application_; safecall;
  16262.     function Get_Creator: Integer; safecall;
  16263.     function Get_Parent: IDispatch; safecall;
  16264.     function Get_Duplicate: LetterContent; safecall;
  16265.     function Get_DateFormat: WideString; safecall;
  16266.     procedure Set_DateFormat(const prop: WideString); safecall;
  16267.     function Get_IncludeHeaderFooter: WordBool; safecall;
  16268.     procedure Set_IncludeHeaderFooter(prop: WordBool); safecall;
  16269.     function Get_PageDesign: WideString; safecall;
  16270.     procedure Set_PageDesign(const prop: WideString); safecall;
  16271.     function Get_LetterStyle: WdLetterStyle; safecall;
  16272.     procedure Set_LetterStyle(prop: WdLetterStyle); safecall;
  16273.     function Get_Letterhead: WordBool; safecall;
  16274.     procedure Set_Letterhead(prop: WordBool); safecall;
  16275.     function Get_LetterheadLocation: WdLetterheadLocation; safecall;
  16276.     procedure Set_LetterheadLocation(prop: WdLetterheadLocation); safecall;
  16277.     function Get_LetterheadSize: Single; safecall;
  16278.     procedure Set_LetterheadSize(prop: Single); safecall;
  16279.     function Get_RecipientName: WideString; safecall;
  16280.     procedure Set_RecipientName(const prop: WideString); safecall;
  16281.     function Get_RecipientAddress: WideString; safecall;
  16282.     procedure Set_RecipientAddress(const prop: WideString); safecall;
  16283.     function Get_Salutation: WideString; safecall;
  16284.     procedure Set_Salutation(const prop: WideString); safecall;
  16285.     function Get_SalutationType: WdSalutationType; safecall;
  16286.     procedure Set_SalutationType(prop: WdSalutationType); safecall;
  16287.     function Get_RecipientReference: WideString; safecall;
  16288.     procedure Set_RecipientReference(const prop: WideString); safecall;
  16289.     function Get_MailingInstructions: WideString; safecall;
  16290.     procedure Set_MailingInstructions(const prop: WideString); safecall;
  16291.     function Get_AttentionLine: WideString; safecall;
  16292.     procedure Set_AttentionLine(const prop: WideString); safecall;
  16293.     function Get_Subject: WideString; safecall;
  16294.     procedure Set_Subject(const prop: WideString); safecall;
  16295.     function Get_EnclosureNumber: Integer; safecall;
  16296.     procedure Set_EnclosureNumber(prop: Integer); safecall;
  16297.     function Get_CCList: WideString; safecall;
  16298.     procedure Set_CCList(const prop: WideString); safecall;
  16299.     function Get_ReturnAddress: WideString; safecall;
  16300.     procedure Set_ReturnAddress(const prop: WideString); safecall;
  16301.     function Get_SenderName: WideString; safecall;
  16302.     procedure Set_SenderName(const prop: WideString); safecall;
  16303.     function Get_Closing: WideString; safecall;
  16304.     procedure Set_Closing(const prop: WideString); safecall;
  16305.     function Get_SenderCompany: WideString; safecall;
  16306.     procedure Set_SenderCompany(const prop: WideString); safecall;
  16307.     function Get_SenderJobTitle: WideString; safecall;
  16308.     procedure Set_SenderJobTitle(const prop: WideString); safecall;
  16309.     function Get_SenderInitials: WideString; safecall;
  16310.     procedure Set_SenderInitials(const prop: WideString); safecall;
  16311.     function Get_InfoBlock: WordBool; safecall;
  16312.     procedure Set_InfoBlock(prop: WordBool); safecall;
  16313.     function Get_RecipientCode: WideString; safecall;
  16314.     procedure Set_RecipientCode(const prop: WideString); safecall;
  16315.     function Get_RecipientGender: WdSalutationGender; safecall;
  16316.     procedure Set_RecipientGender(prop: WdSalutationGender); safecall;
  16317.     function Get_ReturnAddressShortForm: WideString; safecall;
  16318.     procedure Set_ReturnAddressShortForm(const prop: WideString); safecall;
  16319.     function Get_SenderCity: WideString; safecall;
  16320.     procedure Set_SenderCity(const prop: WideString); safecall;
  16321.     function Get_SenderCode: WideString; safecall;
  16322.     procedure Set_SenderCode(const prop: WideString); safecall;
  16323.     function Get_SenderGender: WdSalutationGender; safecall;
  16324.     procedure Set_SenderGender(prop: WdSalutationGender); safecall;
  16325.     function Get_SenderReference: WideString; safecall;
  16326.     procedure Set_SenderReference(const prop: WideString); safecall;
  16327.     property Application_: Application_ read Get_Application_;
  16328.     property Creator: Integer read Get_Creator;
  16329.     property Parent: IDispatch read Get_Parent;
  16330.     property Duplicate: LetterContent read Get_Duplicate;
  16331.     property DateFormat: WideString read Get_DateFormat write Set_DateFormat;
  16332.     property IncludeHeaderFooter: WordBool read Get_IncludeHeaderFooter write Set_IncludeHeaderFooter;
  16333.     property PageDesign: WideString read Get_PageDesign write Set_PageDesign;
  16334.     property LetterStyle: WdLetterStyle read Get_LetterStyle write Set_LetterStyle;
  16335.     property Letterhead: WordBool read Get_Letterhead write Set_Letterhead;
  16336.     property LetterheadLocation: WdLetterheadLocation read Get_LetterheadLocation write Set_LetterheadLocation;
  16337.     property LetterheadSize: Single read Get_LetterheadSize write Set_LetterheadSize;
  16338.     property RecipientName: WideString read Get_RecipientName write Set_RecipientName;
  16339.     property RecipientAddress: WideString read Get_RecipientAddress write Set_RecipientAddress;
  16340.     property Salutation: WideString read Get_Salutation write Set_Salutation;
  16341.     property SalutationType: WdSalutationType read Get_SalutationType write Set_SalutationType;
  16342.     property RecipientReference: WideString read Get_RecipientReference write Set_RecipientReference;
  16343.     property MailingInstructions: WideString read Get_MailingInstructions write Set_MailingInstructions;
  16344.     property AttentionLine: WideString read Get_AttentionLine write Set_AttentionLine;
  16345.     property Subject: WideString read Get_Subject write Set_Subject;
  16346.     property EnclosureNumber: Integer read Get_EnclosureNumber write Set_EnclosureNumber;
  16347.     property CCList: WideString read Get_CCList write Set_CCList;
  16348.     property ReturnAddress: WideString read Get_ReturnAddress write Set_ReturnAddress;
  16349.     property SenderName: WideString read Get_SenderName write Set_SenderName;
  16350.     property Closing: WideString read Get_Closing write Set_Closing;
  16351.     property SenderCompany: WideString read Get_SenderCompany write Set_SenderCompany;
  16352.     property SenderJobTitle: WideString read Get_SenderJobTitle write Set_SenderJobTitle;
  16353.     property SenderInitials: WideString read Get_SenderInitials write Set_SenderInitials;
  16354.     property InfoBlock: WordBool read Get_InfoBlock write Set_InfoBlock;
  16355.     property RecipientCode: WideString read Get_RecipientCode write Set_RecipientCode;
  16356.     property RecipientGender: WdSalutationGender read Get_RecipientGender write Set_RecipientGender;
  16357.     property ReturnAddressShortForm: WideString read Get_ReturnAddressShortForm write Set_ReturnAddressShortForm;
  16358.     property SenderCity: WideString read Get_SenderCity write Set_SenderCity;
  16359.     property SenderCode: WideString read Get_SenderCode write Set_SenderCode;
  16360.     property SenderGender: WdSalutationGender read Get_SenderGender write Set_SenderGender;
  16361.     property SenderReference: WideString read Get_SenderReference write Set_SenderReference;
  16362.   end;
  16363.  
  16364. // *********************************************************************//
  16365. // DispIntf:  _LetterContentDisp
  16366. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  16367. // GUID:      {000209A1-0000-0000-C000-000000000046}
  16368. // *********************************************************************//
  16369.   _LetterContentDisp = dispinterface
  16370.     ['{000209A1-0000-0000-C000-000000000046}']
  16371.     property Application_: Application_ readonly dispid 1000;
  16372.     property Creator: Integer readonly dispid 1001;
  16373.     property Parent: IDispatch readonly dispid 1002;
  16374.     property Duplicate: LetterContent readonly dispid 10;
  16375.     property DateFormat: WideString dispid 101;
  16376.     property IncludeHeaderFooter: WordBool dispid 102;
  16377.     property PageDesign: WideString dispid 103;
  16378.     property LetterStyle: WdLetterStyle dispid 104;
  16379.     property Letterhead: WordBool dispid 105;
  16380.     property LetterheadLocation: WdLetterheadLocation dispid 106;
  16381.     property LetterheadSize: Single dispid 107;
  16382.     property RecipientName: WideString dispid 108;
  16383.     property RecipientAddress: WideString dispid 109;
  16384.     property Salutation: WideString dispid 110;
  16385.     property SalutationType: WdSalutationType dispid 111;
  16386.     property RecipientReference: WideString dispid 112;
  16387.     property MailingInstructions: WideString dispid 114;
  16388.     property AttentionLine: WideString dispid 115;
  16389.     property Subject: WideString dispid 116;
  16390.     property EnclosureNumber: Integer dispid 117;
  16391.     property CCList: WideString dispid 118;
  16392.     property ReturnAddress: WideString dispid 119;
  16393.     property SenderName: WideString dispid 120;
  16394.     property Closing: WideString dispid 121;
  16395.     property SenderCompany: WideString dispid 122;
  16396.     property SenderJobTitle: WideString dispid 123;
  16397.     property SenderInitials: WideString dispid 124;
  16398.     property InfoBlock: WordBool dispid 125;
  16399.     property RecipientCode: WideString dispid 126;
  16400.     property RecipientGender: WdSalutationGender dispid 127;
  16401.     property ReturnAddressShortForm: WideString dispid 128;
  16402.     property SenderCity: WideString dispid 129;
  16403.     property SenderCode: WideString dispid 130;
  16404.     property SenderGender: WdSalutationGender dispid 131;
  16405.     property SenderReference: WideString dispid 132;
  16406.   end;
  16407.  
  16408. // *********************************************************************//
  16409. // Interface: View
  16410. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16411. // GUID:      {000209A5-0000-0000-C000-000000000046}
  16412. // *********************************************************************//
  16413.   View = interface(IDispatch)
  16414.     ['{000209A5-0000-0000-C000-000000000046}']
  16415.     function Get_Application_: Application_; safecall;
  16416.     function Get_Creator: Integer; safecall;
  16417.     function Get_Parent: IDispatch; safecall;
  16418.     function Get_Type_: WdViewType; safecall;
  16419.     procedure Set_Type_(prop: WdViewType); safecall;
  16420.     function Get_FullScreen: WordBool; safecall;
  16421.     procedure Set_FullScreen(prop: WordBool); safecall;
  16422.     function Get_Draft: WordBool; safecall;
  16423.     procedure Set_Draft(prop: WordBool); safecall;
  16424.     function Get_ShowAll: WordBool; safecall;
  16425.     procedure Set_ShowAll(prop: WordBool); safecall;
  16426.     function Get_ShowFieldCodes: WordBool; safecall;
  16427.     procedure Set_ShowFieldCodes(prop: WordBool); safecall;
  16428.     function Get_MailMergeDataView: WordBool; safecall;
  16429.     procedure Set_MailMergeDataView(prop: WordBool); safecall;
  16430.     function Get_Magnifier: WordBool; safecall;
  16431.     procedure Set_Magnifier(prop: WordBool); safecall;
  16432.     function Get_ShowFirstLineOnly: WordBool; safecall;
  16433.     procedure Set_ShowFirstLineOnly(prop: WordBool); safecall;
  16434.     function Get_ShowFormat: WordBool; safecall;
  16435.     procedure Set_ShowFormat(prop: WordBool); safecall;
  16436.     function Get_Zoom: Zoom; safecall;
  16437.     function Get_ShowObjectAnchors: WordBool; safecall;
  16438.     procedure Set_ShowObjectAnchors(prop: WordBool); safecall;
  16439.     function Get_ShowTextBoundaries: WordBool; safecall;
  16440.     procedure Set_ShowTextBoundaries(prop: WordBool); safecall;
  16441.     function Get_ShowHighlight: WordBool; safecall;
  16442.     procedure Set_ShowHighlight(prop: WordBool); safecall;
  16443.     function Get_ShowDrawings: WordBool; safecall;
  16444.     procedure Set_ShowDrawings(prop: WordBool); safecall;
  16445.     function Get_ShowTabs: WordBool; safecall;
  16446.     procedure Set_ShowTabs(prop: WordBool); safecall;
  16447.     function Get_ShowSpaces: WordBool; safecall;
  16448.     procedure Set_ShowSpaces(prop: WordBool); safecall;
  16449.     function Get_ShowParagraphs: WordBool; safecall;
  16450.     procedure Set_ShowParagraphs(prop: WordBool); safecall;
  16451.     function Get_ShowHyphens: WordBool; safecall;
  16452.     procedure Set_ShowHyphens(prop: WordBool); safecall;
  16453.     function Get_ShowHiddenText: WordBool; safecall;
  16454.     procedure Set_ShowHiddenText(prop: WordBool); safecall;
  16455.     function Get_WrapToWindow: WordBool; safecall;
  16456.     procedure Set_WrapToWindow(prop: WordBool); safecall;
  16457.     function Get_ShowPicturePlaceHolders: WordBool; safecall;
  16458.     procedure Set_ShowPicturePlaceHolders(prop: WordBool); safecall;
  16459.     function Get_ShowBookmarks: WordBool; safecall;
  16460.     procedure Set_ShowBookmarks(prop: WordBool); safecall;
  16461.     function Get_FieldShading: WdFieldShading; safecall;
  16462.     procedure Set_FieldShading(prop: WdFieldShading); safecall;
  16463.     function Get_ShowAnimation: WordBool; safecall;
  16464.     procedure Set_ShowAnimation(prop: WordBool); safecall;
  16465.     function Get_TableGridlines: WordBool; safecall;
  16466.     procedure Set_TableGridlines(prop: WordBool); safecall;
  16467.     function Get_EnlargeFontsLessThan: Integer; safecall;
  16468.     procedure Set_EnlargeFontsLessThan(prop: Integer); safecall;
  16469.     function Get_ShowMainTextLayer: WordBool; safecall;
  16470.     procedure Set_ShowMainTextLayer(prop: WordBool); safecall;
  16471.     function Get_SeekView: WdSeekView; safecall;
  16472.     procedure Set_SeekView(prop: WdSeekView); safecall;
  16473.     function Get_SplitSpecial: WdSpecialPane; safecall;
  16474.     procedure Set_SplitSpecial(prop: WdSpecialPane); safecall;
  16475.     function Get_BrowseToWindow: Integer; safecall;
  16476.     procedure Set_BrowseToWindow(prop: Integer); safecall;
  16477.     function Get_ShowOptionalBreaks: WordBool; safecall;
  16478.     procedure Set_ShowOptionalBreaks(prop: WordBool); safecall;
  16479.     procedure CollapseOutline(var Range: OleVariant); safecall;
  16480.     procedure ExpandOutline(var Range: OleVariant); safecall;
  16481.     procedure ShowAllHeadings; safecall;
  16482.     procedure ShowHeading(Level: Integer); safecall;
  16483.     procedure PreviousHeaderFooter; safecall;
  16484.     procedure NextHeaderFooter; safecall;
  16485.     property Application_: Application_ read Get_Application_;
  16486.     property Creator: Integer read Get_Creator;
  16487.     property Parent: IDispatch read Get_Parent;
  16488.     property Type_: WdViewType read Get_Type_ write Set_Type_;
  16489.     property FullScreen: WordBool read Get_FullScreen write Set_FullScreen;
  16490.     property Draft: WordBool read Get_Draft write Set_Draft;
  16491.     property ShowAll: WordBool read Get_ShowAll write Set_ShowAll;
  16492.     property ShowFieldCodes: WordBool read Get_ShowFieldCodes write Set_ShowFieldCodes;
  16493.     property MailMergeDataView: WordBool read Get_MailMergeDataView write Set_MailMergeDataView;
  16494.     property Magnifier: WordBool read Get_Magnifier write Set_Magnifier;
  16495.     property ShowFirstLineOnly: WordBool read Get_ShowFirstLineOnly write Set_ShowFirstLineOnly;
  16496.     property ShowFormat: WordBool read Get_ShowFormat write Set_ShowFormat;
  16497.     property Zoom: Zoom read Get_Zoom;
  16498.     property ShowObjectAnchors: WordBool read Get_ShowObjectAnchors write Set_ShowObjectAnchors;
  16499.     property ShowTextBoundaries: WordBool read Get_ShowTextBoundaries write Set_ShowTextBoundaries;
  16500.     property ShowHighlight: WordBool read Get_ShowHighlight write Set_ShowHighlight;
  16501.     property ShowDrawings: WordBool read Get_ShowDrawings write Set_ShowDrawings;
  16502.     property ShowTabs: WordBool read Get_ShowTabs write Set_ShowTabs;
  16503.     property ShowSpaces: WordBool read Get_ShowSpaces write Set_ShowSpaces;
  16504.     property ShowParagraphs: WordBool read Get_ShowParagraphs write Set_ShowParagraphs;
  16505.     property ShowHyphens: WordBool read Get_ShowHyphens write Set_ShowHyphens;
  16506.     property ShowHiddenText: WordBool read Get_ShowHiddenText write Set_ShowHiddenText;
  16507.     property WrapToWindow: WordBool read Get_WrapToWindow write Set_WrapToWindow;
  16508.     property ShowPicturePlaceHolders: WordBool read Get_ShowPicturePlaceHolders write Set_ShowPicturePlaceHolders;
  16509.     property ShowBookmarks: WordBool read Get_ShowBookmarks write Set_ShowBookmarks;
  16510.     property FieldShading: WdFieldShading read Get_FieldShading write Set_FieldShading;
  16511.     property ShowAnimation: WordBool read Get_ShowAnimation write Set_ShowAnimation;
  16512.     property TableGridlines: WordBool read Get_TableGridlines write Set_TableGridlines;
  16513.     property EnlargeFontsLessThan: Integer read Get_EnlargeFontsLessThan write Set_EnlargeFontsLessThan;
  16514.     property ShowMainTextLayer: WordBool read Get_ShowMainTextLayer write Set_ShowMainTextLayer;
  16515.     property SeekView: WdSeekView read Get_SeekView write Set_SeekView;
  16516.     property SplitSpecial: WdSpecialPane read Get_SplitSpecial write Set_SplitSpecial;
  16517.     property BrowseToWindow: Integer read Get_BrowseToWindow write Set_BrowseToWindow;
  16518.     property ShowOptionalBreaks: WordBool read Get_ShowOptionalBreaks write Set_ShowOptionalBreaks;
  16519.   end;
  16520.  
  16521. // *********************************************************************//
  16522. // DispIntf:  ViewDisp
  16523. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16524. // GUID:      {000209A5-0000-0000-C000-000000000046}
  16525. // *********************************************************************//
  16526.   ViewDisp = dispinterface
  16527.     ['{000209A5-0000-0000-C000-000000000046}']
  16528.     property Application_: Application_ readonly dispid 1000;
  16529.     property Creator: Integer readonly dispid 1001;
  16530.     property Parent: IDispatch readonly dispid 1002;
  16531.     property Type_: WdViewType dispid 0;
  16532.     property FullScreen: WordBool dispid 1;
  16533.     property Draft: WordBool dispid 2;
  16534.     property ShowAll: WordBool dispid 3;
  16535.     property ShowFieldCodes: WordBool dispid 4;
  16536.     property MailMergeDataView: WordBool dispid 5;
  16537.     property Magnifier: WordBool dispid 7;
  16538.     property ShowFirstLineOnly: WordBool dispid 8;
  16539.     property ShowFormat: WordBool dispid 9;
  16540.     property Zoom: Zoom readonly dispid 10;
  16541.     property ShowObjectAnchors: WordBool dispid 11;
  16542.     property ShowTextBoundaries: WordBool dispid 12;
  16543.     property ShowHighlight: WordBool dispid 13;
  16544.     property ShowDrawings: WordBool dispid 14;
  16545.     property ShowTabs: WordBool dispid 15;
  16546.     property ShowSpaces: WordBool dispid 16;
  16547.     property ShowParagraphs: WordBool dispid 17;
  16548.     property ShowHyphens: WordBool dispid 18;
  16549.     property ShowHiddenText: WordBool dispid 19;
  16550.     property WrapToWindow: WordBool dispid 20;
  16551.     property ShowPicturePlaceHolders: WordBool dispid 21;
  16552.     property ShowBookmarks: WordBool dispid 22;
  16553.     property FieldShading: WdFieldShading dispid 23;
  16554.     property ShowAnimation: WordBool dispid 24;
  16555.     property TableGridlines: WordBool dispid 25;
  16556.     property EnlargeFontsLessThan: Integer dispid 26;
  16557.     property ShowMainTextLayer: WordBool dispid 27;
  16558.     property SeekView: WdSeekView dispid 28;
  16559.     property SplitSpecial: WdSpecialPane dispid 29;
  16560.     property BrowseToWindow: Integer dispid 30;
  16561.     property ShowOptionalBreaks: WordBool dispid 31;
  16562.     procedure CollapseOutline(var Range: OleVariant); dispid 101;
  16563.     procedure ExpandOutline(var Range: OleVariant); dispid 102;
  16564.     procedure ShowAllHeadings; dispid 103;
  16565.     procedure ShowHeading(Level: Integer); dispid 104;
  16566.     procedure PreviousHeaderFooter; dispid 105;
  16567.     procedure NextHeaderFooter; dispid 106;
  16568.   end;
  16569.  
  16570. // *********************************************************************//
  16571. // Interface: Zoom
  16572. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16573. // GUID:      {000209A6-0000-0000-C000-000000000046}
  16574. // *********************************************************************//
  16575.   Zoom = interface(IDispatch)
  16576.     ['{000209A6-0000-0000-C000-000000000046}']
  16577.     function Get_Application_: Application_; safecall;
  16578.     function Get_Creator: Integer; safecall;
  16579.     function Get_Parent: IDispatch; safecall;
  16580.     function Get_Percentage: Integer; safecall;
  16581.     procedure Set_Percentage(prop: Integer); safecall;
  16582.     function Get_PageFit: WdPageFit; safecall;
  16583.     procedure Set_PageFit(prop: WdPageFit); safecall;
  16584.     function Get_PageRows: Integer; safecall;
  16585.     procedure Set_PageRows(prop: Integer); safecall;
  16586.     function Get_PageColumns: Integer; safecall;
  16587.     procedure Set_PageColumns(prop: Integer); safecall;
  16588.     property Application_: Application_ read Get_Application_;
  16589.     property Creator: Integer read Get_Creator;
  16590.     property Parent: IDispatch read Get_Parent;
  16591.     property Percentage: Integer read Get_Percentage write Set_Percentage;
  16592.     property PageFit: WdPageFit read Get_PageFit write Set_PageFit;
  16593.     property PageRows: Integer read Get_PageRows write Set_PageRows;
  16594.     property PageColumns: Integer read Get_PageColumns write Set_PageColumns;
  16595.   end;
  16596.  
  16597. // *********************************************************************//
  16598. // DispIntf:  ZoomDisp
  16599. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16600. // GUID:      {000209A6-0000-0000-C000-000000000046}
  16601. // *********************************************************************//
  16602.   ZoomDisp = dispinterface
  16603.     ['{000209A6-0000-0000-C000-000000000046}']
  16604.     property Application_: Application_ readonly dispid 1000;
  16605.     property Creator: Integer readonly dispid 1001;
  16606.     property Parent: IDispatch readonly dispid 1002;
  16607.     property Percentage: Integer dispid 0;
  16608.     property PageFit: WdPageFit dispid 1;
  16609.     property PageRows: Integer dispid 2;
  16610.     property PageColumns: Integer dispid 3;
  16611.   end;
  16612.  
  16613. // *********************************************************************//
  16614. // Interface: Zooms
  16615. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16616. // GUID:      {000209A7-0000-0000-C000-000000000046}
  16617. // *********************************************************************//
  16618.   Zooms = interface(IDispatch)
  16619.     ['{000209A7-0000-0000-C000-000000000046}']
  16620.     function Get_Application_: Application_; safecall;
  16621.     function Get_Creator: Integer; safecall;
  16622.     function Get_Parent: IDispatch; safecall;
  16623.     function Item(Index: WdViewType): Zoom; safecall;
  16624.     property Application_: Application_ read Get_Application_;
  16625.     property Creator: Integer read Get_Creator;
  16626.     property Parent: IDispatch read Get_Parent;
  16627.   end;
  16628.  
  16629. // *********************************************************************//
  16630. // DispIntf:  ZoomsDisp
  16631. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16632. // GUID:      {000209A7-0000-0000-C000-000000000046}
  16633. // *********************************************************************//
  16634.   ZoomsDisp = dispinterface
  16635.     ['{000209A7-0000-0000-C000-000000000046}']
  16636.     property Application_: Application_ readonly dispid 1000;
  16637.     property Creator: Integer readonly dispid 1001;
  16638.     property Parent: IDispatch readonly dispid 1002;
  16639.     function Item(Index: WdViewType): Zoom; dispid 0;
  16640.   end;
  16641.  
  16642. // *********************************************************************//
  16643. // Interface: InlineShape
  16644. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16645. // GUID:      {000209A8-0000-0000-C000-000000000046}
  16646. // *********************************************************************//
  16647.   InlineShape = interface(IDispatch)
  16648.     ['{000209A8-0000-0000-C000-000000000046}']
  16649.     function Get_Application_: Application_; safecall;
  16650.     function Get_Creator: Integer; safecall;
  16651.     function Get_Parent: IDispatch; safecall;
  16652.     function Get_Borders: Borders; safecall;
  16653.     procedure Set_Borders(const prop: Borders); safecall;
  16654.     function Get_Range: Range; safecall;
  16655.     function Get_LinkFormat: LinkFormat; safecall;
  16656.     function Get_Field: Field; safecall;
  16657.     function Get_OLEFormat: OLEFormat; safecall;
  16658.     function Get_Type_: WdInlineShapeType; safecall;
  16659.     function Get_Hyperlink: Hyperlink; safecall;
  16660.     function Get_Height: Single; safecall;
  16661.     procedure Set_Height(prop: Single); safecall;
  16662.     function Get_Width: Single; safecall;
  16663.     procedure Set_Width(prop: Single); safecall;
  16664.     function Get_ScaleHeight: Single; safecall;
  16665.     procedure Set_ScaleHeight(prop: Single); safecall;
  16666.     function Get_ScaleWidth: Single; safecall;
  16667.     procedure Set_ScaleWidth(prop: Single); safecall;
  16668.     function Get_LockAspectRatio: MsoTriState; safecall;
  16669.     procedure Set_LockAspectRatio(prop: MsoTriState); safecall;
  16670.     function Get_Line: LineFormat; safecall;
  16671.     function Get_Fill: FillFormat; safecall;
  16672.     function Get_PictureFormat: PictureFormat; safecall;
  16673.     procedure Set_PictureFormat(const prop: PictureFormat); safecall;
  16674.     procedure Activate; safecall;
  16675.     procedure Reset; safecall;
  16676.     procedure Delete; safecall;
  16677.     procedure Select; safecall;
  16678.     function ConvertToShape: Shape; safecall;
  16679.     function Get_HorizontalLineFormat: HorizontalLineFormat; safecall;
  16680.     function Get_Script: Script; safecall;
  16681.     function Get_OWSAnchor: Integer; safecall;
  16682.     function Get_TextEffect: TextEffectFormat; safecall;
  16683.     procedure Set_TextEffect(const prop: TextEffectFormat); safecall;
  16684.     function Get_AlternativeText: WideString; safecall;
  16685.     procedure Set_AlternativeText(const prop: WideString); safecall;
  16686.     property Application_: Application_ read Get_Application_;
  16687.     property Creator: Integer read Get_Creator;
  16688.     property Parent: IDispatch read Get_Parent;
  16689.     property Borders: Borders read Get_Borders write Set_Borders;
  16690.     property Range: Range read Get_Range;
  16691.     property LinkFormat: LinkFormat read Get_LinkFormat;
  16692.     property Field: Field read Get_Field;
  16693.     property OLEFormat: OLEFormat read Get_OLEFormat;
  16694.     property Type_: WdInlineShapeType read Get_Type_;
  16695.     property Hyperlink: Hyperlink read Get_Hyperlink;
  16696.     property Height: Single read Get_Height write Set_Height;
  16697.     property Width: Single read Get_Width write Set_Width;
  16698.     property ScaleHeight: Single read Get_ScaleHeight write Set_ScaleHeight;
  16699.     property ScaleWidth: Single read Get_ScaleWidth write Set_ScaleWidth;
  16700.     property LockAspectRatio: MsoTriState read Get_LockAspectRatio write Set_LockAspectRatio;
  16701.     property Line: LineFormat read Get_Line;
  16702.     property Fill: FillFormat read Get_Fill;
  16703.     property PictureFormat: PictureFormat read Get_PictureFormat write Set_PictureFormat;
  16704.     property HorizontalLineFormat: HorizontalLineFormat read Get_HorizontalLineFormat;
  16705.     property Script: Script read Get_Script;
  16706.     property OWSAnchor: Integer read Get_OWSAnchor;
  16707.     property TextEffect: TextEffectFormat read Get_TextEffect write Set_TextEffect;
  16708.     property AlternativeText: WideString read Get_AlternativeText write Set_AlternativeText;
  16709.   end;
  16710.  
  16711. // *********************************************************************//
  16712. // DispIntf:  InlineShapeDisp
  16713. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16714. // GUID:      {000209A8-0000-0000-C000-000000000046}
  16715. // *********************************************************************//
  16716.   InlineShapeDisp = dispinterface
  16717.     ['{000209A8-0000-0000-C000-000000000046}']
  16718.     property Application_: Application_ readonly dispid 1000;
  16719.     property Creator: Integer readonly dispid 1001;
  16720.     property Parent: IDispatch readonly dispid 1002;
  16721.     property Borders: Borders dispid 1100;
  16722.     property Range: Range readonly dispid 2;
  16723.     property LinkFormat: LinkFormat readonly dispid 3;
  16724.     property Field: Field readonly dispid 4;
  16725.     property OLEFormat: OLEFormat readonly dispid 5;
  16726.     property Type_: WdInlineShapeType readonly dispid 6;
  16727.     property Hyperlink: Hyperlink readonly dispid 7;
  16728.     property Height: Single dispid 8;
  16729.     property Width: Single dispid 9;
  16730.     property ScaleHeight: Single dispid 10;
  16731.     property ScaleWidth: Single dispid 11;
  16732.     property LockAspectRatio: MsoTriState dispid 12;
  16733.     property Line: LineFormat readonly dispid 112;
  16734.     property Fill: FillFormat readonly dispid 107;
  16735.     property PictureFormat: PictureFormat dispid 118;
  16736.     procedure Activate; dispid 100;
  16737.     procedure Reset; dispid 101;
  16738.     procedure Delete; dispid 102;
  16739.     procedure Select; dispid 65535;
  16740.     function ConvertToShape: Shape; dispid 104;
  16741.     property HorizontalLineFormat: HorizontalLineFormat readonly dispid 119;
  16742.     property Script: Script readonly dispid 122;
  16743.     property OWSAnchor: Integer readonly dispid 130;
  16744.     property TextEffect: TextEffectFormat dispid 120;
  16745.     property AlternativeText: WideString dispid 131;
  16746.   end;
  16747.  
  16748. // *********************************************************************//
  16749. // Interface: InlineShapes
  16750. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16751. // GUID:      {000209A9-0000-0000-C000-000000000046}
  16752. // *********************************************************************//
  16753.   InlineShapes = interface(IDispatch)
  16754.     ['{000209A9-0000-0000-C000-000000000046}']
  16755.     function Get_Application_: Application_; safecall;
  16756.     function Get_Creator: Integer; safecall;
  16757.     function Get_Parent: IDispatch; safecall;
  16758.     function Get_Count: Integer; safecall;
  16759.     function Get__NewEnum: IUnknown; safecall;
  16760.     function Item(Index: Integer): InlineShape; safecall;
  16761.     function AddPicture(const FileName: WideString; var LinkToFile: OleVariant; 
  16762.                         var SaveWithDocument: OleVariant; var Range: OleVariant): InlineShape; safecall;
  16763.     function AddOLEObject(var ClassType: OleVariant; var FileName: OleVariant; 
  16764.                           var LinkToFile: OleVariant; var DisplayAsIcon: OleVariant; 
  16765.                           var IconFileName: OleVariant; var IconIndex: OleVariant; 
  16766.                           var IconLabel: OleVariant; var Range: OleVariant): InlineShape; safecall;
  16767.     function AddOLEControl(var ClassType: OleVariant; var Range: OleVariant): InlineShape; safecall;
  16768.     function New(const Range: Range): InlineShape; safecall;
  16769.     function AddHorizontalLine(const FileName: WideString; var Range: OleVariant): InlineShape; safecall;
  16770.     function AddHorizontalLineStandard(var Range: OleVariant): InlineShape; safecall;
  16771.     function AddPictureBullet(const FileName: WideString; var Range: OleVariant): InlineShape; safecall;
  16772.     property Application_: Application_ read Get_Application_;
  16773.     property Creator: Integer read Get_Creator;
  16774.     property Parent: IDispatch read Get_Parent;
  16775.     property Count: Integer read Get_Count;
  16776.     property _NewEnum: IUnknown read Get__NewEnum;
  16777.   end;
  16778.  
  16779. // *********************************************************************//
  16780. // DispIntf:  InlineShapesDisp
  16781. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16782. // GUID:      {000209A9-0000-0000-C000-000000000046}
  16783. // *********************************************************************//
  16784.   InlineShapesDisp = dispinterface
  16785.     ['{000209A9-0000-0000-C000-000000000046}']
  16786.     property Application_: Application_ readonly dispid 1000;
  16787.     property Creator: Integer readonly dispid 1001;
  16788.     property Parent: IDispatch readonly dispid 1002;
  16789.     property Count: Integer readonly dispid 1;
  16790.     property _NewEnum: IUnknown readonly dispid -4;
  16791.     function Item(Index: Integer): InlineShape; dispid 0;
  16792.     function AddPicture(const FileName: WideString; var LinkToFile: OleVariant; 
  16793.                         var SaveWithDocument: OleVariant; var Range: OleVariant): InlineShape; dispid 100;
  16794.     function AddOLEObject(var ClassType: OleVariant; var FileName: OleVariant; 
  16795.                           var LinkToFile: OleVariant; var DisplayAsIcon: OleVariant; 
  16796.                           var IconFileName: OleVariant; var IconIndex: OleVariant; 
  16797.                           var IconLabel: OleVariant; var Range: OleVariant): InlineShape; dispid 24;
  16798.     function AddOLEControl(var ClassType: OleVariant; var Range: OleVariant): InlineShape; dispid 102;
  16799.     function New(const Range: Range): InlineShape; dispid 200;
  16800.     function AddHorizontalLine(const FileName: WideString; var Range: OleVariant): InlineShape; dispid 104;
  16801.     function AddHorizontalLineStandard(var Range: OleVariant): InlineShape; dispid 105;
  16802.     function AddPictureBullet(const FileName: WideString; var Range: OleVariant): InlineShape; dispid 106;
  16803.   end;
  16804.  
  16805. // *********************************************************************//
  16806. // Interface: SpellingSuggestions
  16807. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16808. // GUID:      {000209AA-0000-0000-C000-000000000046}
  16809. // *********************************************************************//
  16810.   SpellingSuggestions = interface(IDispatch)
  16811.     ['{000209AA-0000-0000-C000-000000000046}']
  16812.     function Get_Application_: Application_; safecall;
  16813.     function Get_Creator: Integer; safecall;
  16814.     function Get_Parent: IDispatch; safecall;
  16815.     function Get__NewEnum: IUnknown; safecall;
  16816.     function Get_Count: Integer; safecall;
  16817.     function Get_SpellingErrorType: WdSpellingErrorType; safecall;
  16818.     function Item(Index: Integer): SpellingSuggestion; safecall;
  16819.     property Application_: Application_ read Get_Application_;
  16820.     property Creator: Integer read Get_Creator;
  16821.     property Parent: IDispatch read Get_Parent;
  16822.     property _NewEnum: IUnknown read Get__NewEnum;
  16823.     property Count: Integer read Get_Count;
  16824.     property SpellingErrorType: WdSpellingErrorType read Get_SpellingErrorType;
  16825.   end;
  16826.  
  16827. // *********************************************************************//
  16828. // DispIntf:  SpellingSuggestionsDisp
  16829. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16830. // GUID:      {000209AA-0000-0000-C000-000000000046}
  16831. // *********************************************************************//
  16832.   SpellingSuggestionsDisp = dispinterface
  16833.     ['{000209AA-0000-0000-C000-000000000046}']
  16834.     property Application_: Application_ readonly dispid 1000;
  16835.     property Creator: Integer readonly dispid 1001;
  16836.     property Parent: IDispatch readonly dispid 1002;
  16837.     property _NewEnum: IUnknown readonly dispid -4;
  16838.     property Count: Integer readonly dispid 1;
  16839.     property SpellingErrorType: WdSpellingErrorType readonly dispid 2;
  16840.     function Item(Index: Integer): SpellingSuggestion; dispid 0;
  16841.   end;
  16842.  
  16843. // *********************************************************************//
  16844. // Interface: SpellingSuggestion
  16845. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16846. // GUID:      {000209AB-0000-0000-C000-000000000046}
  16847. // *********************************************************************//
  16848.   SpellingSuggestion = interface(IDispatch)
  16849.     ['{000209AB-0000-0000-C000-000000000046}']
  16850.     function Get_Application_: Application_; safecall;
  16851.     function Get_Creator: Integer; safecall;
  16852.     function Get_Parent: IDispatch; safecall;
  16853.     function Get_Name: WideString; safecall;
  16854.     property Application_: Application_ read Get_Application_;
  16855.     property Creator: Integer read Get_Creator;
  16856.     property Parent: IDispatch read Get_Parent;
  16857.     property Name: WideString read Get_Name;
  16858.   end;
  16859.  
  16860. // *********************************************************************//
  16861. // DispIntf:  SpellingSuggestionDisp
  16862. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16863. // GUID:      {000209AB-0000-0000-C000-000000000046}
  16864. // *********************************************************************//
  16865.   SpellingSuggestionDisp = dispinterface
  16866.     ['{000209AB-0000-0000-C000-000000000046}']
  16867.     property Application_: Application_ readonly dispid 1000;
  16868.     property Creator: Integer readonly dispid 1001;
  16869.     property Parent: IDispatch readonly dispid 1002;
  16870.     property Name: WideString readonly dispid 0;
  16871.   end;
  16872.  
  16873. // *********************************************************************//
  16874. // Interface: Dictionaries
  16875. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16876. // GUID:      {000209AC-0000-0000-C000-000000000046}
  16877. // *********************************************************************//
  16878.   Dictionaries = interface(IDispatch)
  16879.     ['{000209AC-0000-0000-C000-000000000046}']
  16880.     function Get_Application_: Application_; safecall;
  16881.     function Get_Creator: Integer; safecall;
  16882.     function Get_Parent: IDispatch; safecall;
  16883.     function Get__NewEnum: IUnknown; safecall;
  16884.     function Get_Count: Integer; safecall;
  16885.     function Get_Maximum: Integer; safecall;
  16886.     function Get_ActiveCustomDictionary: Dictionary; safecall;
  16887.     procedure Set_ActiveCustomDictionary(const prop: Dictionary); safecall;
  16888.     function Item(var Index: OleVariant): Dictionary; safecall;
  16889.     function Add(const FileName: WideString): Dictionary; safecall;
  16890.     procedure ClearAll; safecall;
  16891.     property Application_: Application_ read Get_Application_;
  16892.     property Creator: Integer read Get_Creator;
  16893.     property Parent: IDispatch read Get_Parent;
  16894.     property _NewEnum: IUnknown read Get__NewEnum;
  16895.     property Count: Integer read Get_Count;
  16896.     property Maximum: Integer read Get_Maximum;
  16897.     property ActiveCustomDictionary: Dictionary read Get_ActiveCustomDictionary write Set_ActiveCustomDictionary;
  16898.   end;
  16899.  
  16900. // *********************************************************************//
  16901. // DispIntf:  DictionariesDisp
  16902. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16903. // GUID:      {000209AC-0000-0000-C000-000000000046}
  16904. // *********************************************************************//
  16905.   DictionariesDisp = dispinterface
  16906.     ['{000209AC-0000-0000-C000-000000000046}']
  16907.     property Application_: Application_ readonly dispid 1000;
  16908.     property Creator: Integer readonly dispid 1001;
  16909.     property Parent: IDispatch readonly dispid 1002;
  16910.     property _NewEnum: IUnknown readonly dispid -4;
  16911.     property Count: Integer readonly dispid 1;
  16912.     property Maximum: Integer readonly dispid 2;
  16913.     property ActiveCustomDictionary: Dictionary dispid 3;
  16914.     function Item(var Index: OleVariant): Dictionary; dispid 0;
  16915.     function Add(const FileName: WideString): Dictionary; dispid 101;
  16916.     procedure ClearAll; dispid 102;
  16917.   end;
  16918.  
  16919. // *********************************************************************//
  16920. // Interface: HangulHanjaConversionDictionaries
  16921. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16922. // GUID:      {000209E0-0000-0000-C000-000000000046}
  16923. // *********************************************************************//
  16924.   HangulHanjaConversionDictionaries = interface(IDispatch)
  16925.     ['{000209E0-0000-0000-C000-000000000046}']
  16926.     function Get_Application_: Application_; safecall;
  16927.     function Get_Creator: Integer; safecall;
  16928.     function Get_Parent: IDispatch; safecall;
  16929.     function Get__NewEnum: IUnknown; safecall;
  16930.     function Get_Count: Integer; safecall;
  16931.     function Get_Maximum: Integer; safecall;
  16932.     function Get_ActiveCustomDictionary: Dictionary; safecall;
  16933.     procedure Set_ActiveCustomDictionary(const prop: Dictionary); safecall;
  16934.     function Get_BuiltinDictionary: Dictionary; safecall;
  16935.     function Item(var Index: OleVariant): Dictionary; safecall;
  16936.     function Add(const FileName: WideString): Dictionary; safecall;
  16937.     procedure ClearAll; safecall;
  16938.     property Application_: Application_ read Get_Application_;
  16939.     property Creator: Integer read Get_Creator;
  16940.     property Parent: IDispatch read Get_Parent;
  16941.     property _NewEnum: IUnknown read Get__NewEnum;
  16942.     property Count: Integer read Get_Count;
  16943.     property Maximum: Integer read Get_Maximum;
  16944.     property ActiveCustomDictionary: Dictionary read Get_ActiveCustomDictionary write Set_ActiveCustomDictionary;
  16945.     property BuiltinDictionary: Dictionary read Get_BuiltinDictionary;
  16946.   end;
  16947.  
  16948. // *********************************************************************//
  16949. // DispIntf:  HangulHanjaConversionDictionariesDisp
  16950. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16951. // GUID:      {000209E0-0000-0000-C000-000000000046}
  16952. // *********************************************************************//
  16953.   HangulHanjaConversionDictionariesDisp = dispinterface
  16954.     ['{000209E0-0000-0000-C000-000000000046}']
  16955.     property Application_: Application_ readonly dispid 1000;
  16956.     property Creator: Integer readonly dispid 1001;
  16957.     property Parent: IDispatch readonly dispid 1002;
  16958.     property _NewEnum: IUnknown readonly dispid -4;
  16959.     property Count: Integer readonly dispid 1;
  16960.     property Maximum: Integer readonly dispid 2;
  16961.     property ActiveCustomDictionary: Dictionary dispid 3;
  16962.     property BuiltinDictionary: Dictionary readonly dispid 4;
  16963.     function Item(var Index: OleVariant): Dictionary; dispid 0;
  16964.     function Add(const FileName: WideString): Dictionary; dispid 101;
  16965.     procedure ClearAll; dispid 102;
  16966.   end;
  16967.  
  16968. // *********************************************************************//
  16969. // Interface: Dictionary
  16970. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  16971. // GUID:      {000209AD-0000-0000-C000-000000000046}
  16972. // *********************************************************************//
  16973.   Dictionary = interface(IDispatch)
  16974.     ['{000209AD-0000-0000-C000-000000000046}']
  16975.     function Get_Application_: Application_; safecall;
  16976.     function Get_Creator: Integer; safecall;
  16977.     function Get_Parent: IDispatch; safecall;
  16978.     function Get_Name: WideString; safecall;
  16979.     function Get_Path: WideString; safecall;
  16980.     function Get_LanguageID: WdLanguageID; safecall;
  16981.     procedure Set_LanguageID(prop: WdLanguageID); safecall;
  16982.     function Get_ReadOnly: WordBool; safecall;
  16983.     function Get_Type_: WdDictionaryType; safecall;
  16984.     function Get_LanguageSpecific: WordBool; safecall;
  16985.     procedure Set_LanguageSpecific(prop: WordBool); safecall;
  16986.     procedure Delete; safecall;
  16987.     property Application_: Application_ read Get_Application_;
  16988.     property Creator: Integer read Get_Creator;
  16989.     property Parent: IDispatch read Get_Parent;
  16990.     property Name: WideString read Get_Name;
  16991.     property Path: WideString read Get_Path;
  16992.     property LanguageID: WdLanguageID read Get_LanguageID write Set_LanguageID;
  16993.     property ReadOnly: WordBool read Get_ReadOnly;
  16994.     property Type_: WdDictionaryType read Get_Type_;
  16995.     property LanguageSpecific: WordBool read Get_LanguageSpecific write Set_LanguageSpecific;
  16996.   end;
  16997.  
  16998. // *********************************************************************//
  16999. // DispIntf:  DictionaryDisp
  17000. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17001. // GUID:      {000209AD-0000-0000-C000-000000000046}
  17002. // *********************************************************************//
  17003.   DictionaryDisp = dispinterface
  17004.     ['{000209AD-0000-0000-C000-000000000046}']
  17005.     property Application_: Application_ readonly dispid 1000;
  17006.     property Creator: Integer readonly dispid 1001;
  17007.     property Parent: IDispatch readonly dispid 1002;
  17008.     property Name: WideString readonly dispid 0;
  17009.     property Path: WideString readonly dispid 1;
  17010.     property LanguageID: WdLanguageID dispid 2;
  17011.     property ReadOnly: WordBool readonly dispid 3;
  17012.     property Type_: WdDictionaryType readonly dispid 4;
  17013.     property LanguageSpecific: WordBool dispid 5;
  17014.     procedure Delete; dispid 101;
  17015.   end;
  17016.  
  17017. // *********************************************************************//
  17018. // Interface: ReadabilityStatistics
  17019. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17020. // GUID:      {000209AE-0000-0000-C000-000000000046}
  17021. // *********************************************************************//
  17022.   ReadabilityStatistics = interface(IDispatch)
  17023.     ['{000209AE-0000-0000-C000-000000000046}']
  17024.     function Get_Application_: Application_; safecall;
  17025.     function Get_Creator: Integer; safecall;
  17026.     function Get_Parent: IDispatch; safecall;
  17027.     function Get__NewEnum: IUnknown; safecall;
  17028.     function Get_Count: Integer; safecall;
  17029.     function Item(var Index: OleVariant): ReadabilityStatistic; safecall;
  17030.     property Application_: Application_ read Get_Application_;
  17031.     property Creator: Integer read Get_Creator;
  17032.     property Parent: IDispatch read Get_Parent;
  17033.     property _NewEnum: IUnknown read Get__NewEnum;
  17034.     property Count: Integer read Get_Count;
  17035.   end;
  17036.  
  17037. // *********************************************************************//
  17038. // DispIntf:  ReadabilityStatisticsDisp
  17039. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17040. // GUID:      {000209AE-0000-0000-C000-000000000046}
  17041. // *********************************************************************//
  17042.   ReadabilityStatisticsDisp = dispinterface
  17043.     ['{000209AE-0000-0000-C000-000000000046}']
  17044.     property Application_: Application_ readonly dispid 1000;
  17045.     property Creator: Integer readonly dispid 1001;
  17046.     property Parent: IDispatch readonly dispid 1002;
  17047.     property _NewEnum: IUnknown readonly dispid -4;
  17048.     property Count: Integer readonly dispid 1;
  17049.     function Item(var Index: OleVariant): ReadabilityStatistic; dispid 0;
  17050.   end;
  17051.  
  17052. // *********************************************************************//
  17053. // Interface: ReadabilityStatistic
  17054. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17055. // GUID:      {000209AF-0000-0000-C000-000000000046}
  17056. // *********************************************************************//
  17057.   ReadabilityStatistic = interface(IDispatch)
  17058.     ['{000209AF-0000-0000-C000-000000000046}']
  17059.     function Get_Application_: Application_; safecall;
  17060.     function Get_Creator: Integer; safecall;
  17061.     function Get_Parent: IDispatch; safecall;
  17062.     function Get_Name: WideString; safecall;
  17063.     function Get_Value: Single; safecall;
  17064.     property Application_: Application_ read Get_Application_;
  17065.     property Creator: Integer read Get_Creator;
  17066.     property Parent: IDispatch read Get_Parent;
  17067.     property Name: WideString read Get_Name;
  17068.     property Value: Single read Get_Value;
  17069.   end;
  17070.  
  17071. // *********************************************************************//
  17072. // DispIntf:  ReadabilityStatisticDisp
  17073. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17074. // GUID:      {000209AF-0000-0000-C000-000000000046}
  17075. // *********************************************************************//
  17076.   ReadabilityStatisticDisp = dispinterface
  17077.     ['{000209AF-0000-0000-C000-000000000046}']
  17078.     property Application_: Application_ readonly dispid 1000;
  17079.     property Creator: Integer readonly dispid 1001;
  17080.     property Parent: IDispatch readonly dispid 1002;
  17081.     property Name: WideString readonly dispid 0;
  17082.     property Value: Single readonly dispid 1;
  17083.   end;
  17084.  
  17085. // *********************************************************************//
  17086. // Interface: Versions
  17087. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17088. // GUID:      {000209B3-0000-0000-C000-000000000046}
  17089. // *********************************************************************//
  17090.   Versions = interface(IDispatch)
  17091.     ['{000209B3-0000-0000-C000-000000000046}']
  17092.     function Get_Application_: Application_; safecall;
  17093.     function Get_Creator: Integer; safecall;
  17094.     function Get_Parent: IDispatch; safecall;
  17095.     function Get__NewEnum: IUnknown; safecall;
  17096.     function Get_Count: Integer; safecall;
  17097.     function Get_AutoVersion: WdAutoVersions; safecall;
  17098.     procedure Set_AutoVersion(prop: WdAutoVersions); safecall;
  17099.     function Item(Index: Integer): Version; safecall;
  17100.     procedure Save(var Comment: OleVariant); safecall;
  17101.     property Application_: Application_ read Get_Application_;
  17102.     property Creator: Integer read Get_Creator;
  17103.     property Parent: IDispatch read Get_Parent;
  17104.     property _NewEnum: IUnknown read Get__NewEnum;
  17105.     property Count: Integer read Get_Count;
  17106.     property AutoVersion: WdAutoVersions read Get_AutoVersion write Set_AutoVersion;
  17107.   end;
  17108.  
  17109. // *********************************************************************//
  17110. // DispIntf:  VersionsDisp
  17111. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17112. // GUID:      {000209B3-0000-0000-C000-000000000046}
  17113. // *********************************************************************//
  17114.   VersionsDisp = dispinterface
  17115.     ['{000209B3-0000-0000-C000-000000000046}']
  17116.     property Application_: Application_ readonly dispid 1000;
  17117.     property Creator: Integer readonly dispid 1001;
  17118.     property Parent: IDispatch readonly dispid 1002;
  17119.     property _NewEnum: IUnknown readonly dispid -4;
  17120.     property Count: Integer readonly dispid 2;
  17121.     property AutoVersion: WdAutoVersions dispid 3;
  17122.     function Item(Index: Integer): Version; dispid 0;
  17123.     procedure Save(var Comment: OleVariant); dispid 11;
  17124.   end;
  17125.  
  17126. // *********************************************************************//
  17127. // Interface: Version
  17128. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17129. // GUID:      {000209B4-0000-0000-C000-000000000046}
  17130. // *********************************************************************//
  17131.   Version = interface(IDispatch)
  17132.     ['{000209B4-0000-0000-C000-000000000046}']
  17133.     function Get_Application_: Application_; safecall;
  17134.     function Get_Creator: Integer; safecall;
  17135.     function Get_Parent: IDispatch; safecall;
  17136.     function Get_SavedBy: WideString; safecall;
  17137.     function Get_Comment: WideString; safecall;
  17138.     function Get_Date: TDateTime; safecall;
  17139.     function Get_Index: Integer; safecall;
  17140.     procedure OpenOld; safecall;
  17141.     procedure Delete; safecall;
  17142.     function Open: Document; safecall;
  17143.     property Application_: Application_ read Get_Application_;
  17144.     property Creator: Integer read Get_Creator;
  17145.     property Parent: IDispatch read Get_Parent;
  17146.     property SavedBy: WideString read Get_SavedBy;
  17147.     property Comment: WideString read Get_Comment;
  17148.     property Date: TDateTime read Get_Date;
  17149.     property Index: Integer read Get_Index;
  17150.   end;
  17151.  
  17152. // *********************************************************************//
  17153. // DispIntf:  VersionDisp
  17154. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17155. // GUID:      {000209B4-0000-0000-C000-000000000046}
  17156. // *********************************************************************//
  17157.   VersionDisp = dispinterface
  17158.     ['{000209B4-0000-0000-C000-000000000046}']
  17159.     property Application_: Application_ readonly dispid 1000;
  17160.     property Creator: Integer readonly dispid 1001;
  17161.     property Parent: IDispatch readonly dispid 1002;
  17162.     property SavedBy: WideString readonly dispid 1003;
  17163.     property Comment: WideString readonly dispid 1004;
  17164.     property Date: TDateTime readonly dispid 1005;
  17165.     property Index: Integer readonly dispid 2;
  17166.     procedure OpenOld; dispid 101;
  17167.     procedure Delete; dispid 102;
  17168.     function Open: Document; dispid 103;
  17169.   end;
  17170.  
  17171. // *********************************************************************//
  17172. // Interface: Options
  17173. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17174. // GUID:      {000209B7-0000-0000-C000-000000000046}
  17175. // *********************************************************************//
  17176.   Options = interface(IDispatch)
  17177.     ['{000209B7-0000-0000-C000-000000000046}']
  17178.     function Get_Application_: Application_; safecall;
  17179.     function Get_Creator: Integer; safecall;
  17180.     function Get_Parent: IDispatch; safecall;
  17181.     function Get_AllowAccentedUppercase: WordBool; safecall;
  17182.     procedure Set_AllowAccentedUppercase(prop: WordBool); safecall;
  17183.     function Get_WPHelp: WordBool; safecall;
  17184.     procedure Set_WPHelp(prop: WordBool); safecall;
  17185.     function Get_WPDocNavKeys: WordBool; safecall;
  17186.     procedure Set_WPDocNavKeys(prop: WordBool); safecall;
  17187.     function Get_Pagination: WordBool; safecall;
  17188.     procedure Set_Pagination(prop: WordBool); safecall;
  17189.     function Get_BlueScreen: WordBool; safecall;
  17190.     procedure Set_BlueScreen(prop: WordBool); safecall;
  17191.     function Get_EnableSound: WordBool; safecall;
  17192.     procedure Set_EnableSound(prop: WordBool); safecall;
  17193.     function Get_ConfirmConversions: WordBool; safecall;
  17194.     procedure Set_ConfirmConversions(prop: WordBool); safecall;
  17195.     function Get_UpdateLinksAtOpen: WordBool; safecall;
  17196.     procedure Set_UpdateLinksAtOpen(prop: WordBool); safecall;
  17197.     function Get_SendMailAttach: WordBool; safecall;
  17198.     procedure Set_SendMailAttach(prop: WordBool); safecall;
  17199.     function Get_MeasurementUnit: WdMeasurementUnits; safecall;
  17200.     procedure Set_MeasurementUnit(prop: WdMeasurementUnits); safecall;
  17201.     function Get_ButtonFieldClicks: Integer; safecall;
  17202.     procedure Set_ButtonFieldClicks(prop: Integer); safecall;
  17203.     function Get_ShortMenuNames: WordBool; safecall;
  17204.     procedure Set_ShortMenuNames(prop: WordBool); safecall;
  17205.     function Get_RTFInClipboard: WordBool; safecall;
  17206.     procedure Set_RTFInClipboard(prop: WordBool); safecall;
  17207.     function Get_UpdateFieldsAtPrint: WordBool; safecall;
  17208.     procedure Set_UpdateFieldsAtPrint(prop: WordBool); safecall;
  17209.     function Get_PrintProperties: WordBool; safecall;
  17210.     procedure Set_PrintProperties(prop: WordBool); safecall;
  17211.     function Get_PrintFieldCodes: WordBool; safecall;
  17212.     procedure Set_PrintFieldCodes(prop: WordBool); safecall;
  17213.     function Get_PrintComments: WordBool; safecall;
  17214.     procedure Set_PrintComments(prop: WordBool); safecall;
  17215.     function Get_PrintHiddenText: WordBool; safecall;
  17216.     procedure Set_PrintHiddenText(prop: WordBool); safecall;
  17217.     function Get_EnvelopeFeederInstalled: WordBool; safecall;
  17218.     function Get_UpdateLinksAtPrint: WordBool; safecall;
  17219.     procedure Set_UpdateLinksAtPrint(prop: WordBool); safecall;
  17220.     function Get_PrintBackground: WordBool; safecall;
  17221.     procedure Set_PrintBackground(prop: WordBool); safecall;
  17222.     function Get_PrintDrawingObjects: WordBool; safecall;
  17223.     procedure Set_PrintDrawingObjects(prop: WordBool); safecall;
  17224.     function Get_DefaultTray: WideString; safecall;
  17225.     procedure Set_DefaultTray(const prop: WideString); safecall;
  17226.     function Get_DefaultTrayID: Integer; safecall;
  17227.     procedure Set_DefaultTrayID(prop: Integer); safecall;
  17228.     function Get_CreateBackup: WordBool; safecall;
  17229.     procedure Set_CreateBackup(prop: WordBool); safecall;
  17230.     function Get_AllowFastSave: WordBool; safecall;
  17231.     procedure Set_AllowFastSave(prop: WordBool); safecall;
  17232.     function Get_SavePropertiesPrompt: WordBool; safecall;
  17233.     procedure Set_SavePropertiesPrompt(prop: WordBool); safecall;
  17234.     function Get_SaveNormalPrompt: WordBool; safecall;
  17235.     procedure Set_SaveNormalPrompt(prop: WordBool); safecall;
  17236.     function Get_SaveInterval: Integer; safecall;
  17237.     procedure Set_SaveInterval(prop: Integer); safecall;
  17238.     function Get_BackgroundSave: WordBool; safecall;
  17239.     procedure Set_BackgroundSave(prop: WordBool); safecall;
  17240.     function Get_InsertedTextMark: WdInsertedTextMark; safecall;
  17241.     procedure Set_InsertedTextMark(prop: WdInsertedTextMark); safecall;
  17242.     function Get_DeletedTextMark: WdDeletedTextMark; safecall;
  17243.     procedure Set_DeletedTextMark(prop: WdDeletedTextMark); safecall;
  17244.     function Get_RevisedLinesMark: WdRevisedLinesMark; safecall;
  17245.     procedure Set_RevisedLinesMark(prop: WdRevisedLinesMark); safecall;
  17246.     function Get_InsertedTextColor: WdColorIndex; safecall;
  17247.     procedure Set_InsertedTextColor(prop: WdColorIndex); safecall;
  17248.     function Get_DeletedTextColor: WdColorIndex; safecall;
  17249.     procedure Set_DeletedTextColor(prop: WdColorIndex); safecall;
  17250.     function Get_RevisedLinesColor: WdColorIndex; safecall;
  17251.     procedure Set_RevisedLinesColor(prop: WdColorIndex); safecall;
  17252.     function Get_DefaultFilePath(Path: WdDefaultFilePath): WideString; safecall;
  17253.     procedure Set_DefaultFilePath(Path: WdDefaultFilePath; const prop: WideString); safecall;
  17254.     function Get_Overtype: WordBool; safecall;
  17255.     procedure Set_Overtype(prop: WordBool); safecall;
  17256.     function Get_ReplaceSelection: WordBool; safecall;
  17257.     procedure Set_ReplaceSelection(prop: WordBool); safecall;
  17258.     function Get_AllowDragAndDrop: WordBool; safecall;
  17259.     procedure Set_AllowDragAndDrop(prop: WordBool); safecall;
  17260.     function Get_AutoWordSelection: WordBool; safecall;
  17261.     procedure Set_AutoWordSelection(prop: WordBool); safecall;
  17262.     function Get_INSKeyForPaste: WordBool; safecall;
  17263.     procedure Set_INSKeyForPaste(prop: WordBool); safecall;
  17264.     function Get_SmartCutPaste: WordBool; safecall;
  17265.     procedure Set_SmartCutPaste(prop: WordBool); safecall;
  17266.     function Get_TabIndentKey: WordBool; safecall;
  17267.     procedure Set_TabIndentKey(prop: WordBool); safecall;
  17268.     function Get_PictureEditor: WideString; safecall;
  17269.     procedure Set_PictureEditor(const prop: WideString); safecall;
  17270.     function Get_AnimateScreenMovements: WordBool; safecall;
  17271.     procedure Set_AnimateScreenMovements(prop: WordBool); safecall;
  17272.     function Get_VirusProtection: WordBool; safecall;
  17273.     procedure Set_VirusProtection(prop: WordBool); safecall;
  17274.     function Get_RevisedPropertiesMark: WdRevisedPropertiesMark; safecall;
  17275.     procedure Set_RevisedPropertiesMark(prop: WdRevisedPropertiesMark); safecall;
  17276.     function Get_RevisedPropertiesColor: WdColorIndex; safecall;
  17277.     procedure Set_RevisedPropertiesColor(prop: WdColorIndex); safecall;
  17278.     function Get_SnapToGrid: WordBool; safecall;
  17279.     procedure Set_SnapToGrid(prop: WordBool); safecall;
  17280.     function Get_SnapToShapes: WordBool; safecall;
  17281.     procedure Set_SnapToShapes(prop: WordBool); safecall;
  17282.     function Get_GridDistanceHorizontal: Single; safecall;
  17283.     procedure Set_GridDistanceHorizontal(prop: Single); safecall;
  17284.     function Get_GridDistanceVertical: Single; safecall;
  17285.     procedure Set_GridDistanceVertical(prop: Single); safecall;
  17286.     function Get_GridOriginHorizontal: Single; safecall;
  17287.     procedure Set_GridOriginHorizontal(prop: Single); safecall;
  17288.     function Get_GridOriginVertical: Single; safecall;
  17289.     procedure Set_GridOriginVertical(prop: Single); safecall;
  17290.     function Get_InlineConversion: WordBool; safecall;
  17291.     procedure Set_InlineConversion(prop: WordBool); safecall;
  17292.     function Get_IMEAutomaticControl: WordBool; safecall;
  17293.     procedure Set_IMEAutomaticControl(prop: WordBool); safecall;
  17294.     function Get_AutoFormatApplyHeadings: WordBool; safecall;
  17295.     procedure Set_AutoFormatApplyHeadings(prop: WordBool); safecall;
  17296.     function Get_AutoFormatApplyLists: WordBool; safecall;
  17297.     procedure Set_AutoFormatApplyLists(prop: WordBool); safecall;
  17298.     function Get_AutoFormatApplyBulletedLists: WordBool; safecall;
  17299.     procedure Set_AutoFormatApplyBulletedLists(prop: WordBool); safecall;
  17300.     function Get_AutoFormatApplyOtherParas: WordBool; safecall;
  17301.     procedure Set_AutoFormatApplyOtherParas(prop: WordBool); safecall;
  17302.     function Get_AutoFormatReplaceQuotes: WordBool; safecall;
  17303.     procedure Set_AutoFormatReplaceQuotes(prop: WordBool); safecall;
  17304.     function Get_AutoFormatReplaceSymbols: WordBool; safecall;
  17305.     procedure Set_AutoFormatReplaceSymbols(prop: WordBool); safecall;
  17306.     function Get_AutoFormatReplaceOrdinals: WordBool; safecall;
  17307.     procedure Set_AutoFormatReplaceOrdinals(prop: WordBool); safecall;
  17308.     function Get_AutoFormatReplaceFractions: WordBool; safecall;
  17309.     procedure Set_AutoFormatReplaceFractions(prop: WordBool); safecall;
  17310.     function Get_AutoFormatReplacePlainTextEmphasis: WordBool; safecall;
  17311.     procedure Set_AutoFormatReplacePlainTextEmphasis(prop: WordBool); safecall;
  17312.     function Get_AutoFormatPreserveStyles: WordBool; safecall;
  17313.     procedure Set_AutoFormatPreserveStyles(prop: WordBool); safecall;
  17314.     function Get_AutoFormatAsYouTypeApplyHeadings: WordBool; safecall;
  17315.     procedure Set_AutoFormatAsYouTypeApplyHeadings(prop: WordBool); safecall;
  17316.     function Get_AutoFormatAsYouTypeApplyBorders: WordBool; safecall;
  17317.     procedure Set_AutoFormatAsYouTypeApplyBorders(prop: WordBool); safecall;
  17318.     function Get_AutoFormatAsYouTypeApplyBulletedLists: WordBool; safecall;
  17319.     procedure Set_AutoFormatAsYouTypeApplyBulletedLists(prop: WordBool); safecall;
  17320.     function Get_AutoFormatAsYouTypeApplyNumberedLists: WordBool; safecall;
  17321.     procedure Set_AutoFormatAsYouTypeApplyNumberedLists(prop: WordBool); safecall;
  17322.     function Get_AutoFormatAsYouTypeReplaceQuotes: WordBool; safecall;
  17323.     procedure Set_AutoFormatAsYouTypeReplaceQuotes(prop: WordBool); safecall;
  17324.     function Get_AutoFormatAsYouTypeReplaceSymbols: WordBool; safecall;
  17325.     procedure Set_AutoFormatAsYouTypeReplaceSymbols(prop: WordBool); safecall;
  17326.     function Get_AutoFormatAsYouTypeReplaceOrdinals: WordBool; safecall;
  17327.     procedure Set_AutoFormatAsYouTypeReplaceOrdinals(prop: WordBool); safecall;
  17328.     function Get_AutoFormatAsYouTypeReplaceFractions: WordBool; safecall;
  17329.     procedure Set_AutoFormatAsYouTypeReplaceFractions(prop: WordBool); safecall;
  17330.     function Get_AutoFormatAsYouTypeReplacePlainTextEmphasis: WordBool; safecall;
  17331.     procedure Set_AutoFormatAsYouTypeReplacePlainTextEmphasis(prop: WordBool); safecall;
  17332.     function Get_AutoFormatAsYouTypeFormatListItemBeginning: WordBool; safecall;
  17333.     procedure Set_AutoFormatAsYouTypeFormatListItemBeginning(prop: WordBool); safecall;
  17334.     function Get_AutoFormatAsYouTypeDefineStyles: WordBool; safecall;
  17335.     procedure Set_AutoFormatAsYouTypeDefineStyles(prop: WordBool); safecall;
  17336.     function Get_AutoFormatPlainTextWordMail: WordBool; safecall;
  17337.     procedure Set_AutoFormatPlainTextWordMail(prop: WordBool); safecall;
  17338.     function Get_AutoFormatAsYouTypeReplaceHyperlinks: WordBool; safecall;
  17339.     procedure Set_AutoFormatAsYouTypeReplaceHyperlinks(prop: WordBool); safecall;
  17340.     function Get_AutoFormatReplaceHyperlinks: WordBool; safecall;
  17341.     procedure Set_AutoFormatReplaceHyperlinks(prop: WordBool); safecall;
  17342.     function Get_DefaultHighlightColorIndex: WdColorIndex; safecall;
  17343.     procedure Set_DefaultHighlightColorIndex(prop: WdColorIndex); safecall;
  17344.     function Get_DefaultBorderLineStyle: WdLineStyle; safecall;
  17345.     procedure Set_DefaultBorderLineStyle(prop: WdLineStyle); safecall;
  17346.     function Get_CheckSpellingAsYouType: WordBool; safecall;
  17347.     procedure Set_CheckSpellingAsYouType(prop: WordBool); safecall;
  17348.     function Get_CheckGrammarAsYouType: WordBool; safecall;
  17349.     procedure Set_CheckGrammarAsYouType(prop: WordBool); safecall;
  17350.     function Get_IgnoreInternetAndFileAddresses: WordBool; safecall;
  17351.     procedure Set_IgnoreInternetAndFileAddresses(prop: WordBool); safecall;
  17352.     function Get_ShowReadabilityStatistics: WordBool; safecall;
  17353.     procedure Set_ShowReadabilityStatistics(prop: WordBool); safecall;
  17354.     function Get_IgnoreUppercase: WordBool; safecall;
  17355.     procedure Set_IgnoreUppercase(prop: WordBool); safecall;
  17356.     function Get_IgnoreMixedDigits: WordBool; safecall;
  17357.     procedure Set_IgnoreMixedDigits(prop: WordBool); safecall;
  17358.     function Get_SuggestFromMainDictionaryOnly: WordBool; safecall;
  17359.     procedure Set_SuggestFromMainDictionaryOnly(prop: WordBool); safecall;
  17360.     function Get_SuggestSpellingCorrections: WordBool; safecall;
  17361.     procedure Set_SuggestSpellingCorrections(prop: WordBool); safecall;
  17362.     function Get_DefaultBorderLineWidth: WdLineWidth; safecall;
  17363.     procedure Set_DefaultBorderLineWidth(prop: WdLineWidth); safecall;
  17364.     function Get_CheckGrammarWithSpelling: WordBool; safecall;
  17365.     procedure Set_CheckGrammarWithSpelling(prop: WordBool); safecall;
  17366.     function Get_DefaultOpenFormat: WdOpenFormat; safecall;
  17367.     procedure Set_DefaultOpenFormat(prop: WdOpenFormat); safecall;
  17368.     function Get_PrintDraft: WordBool; safecall;
  17369.     procedure Set_PrintDraft(prop: WordBool); safecall;
  17370.     function Get_PrintReverse: WordBool; safecall;
  17371.     procedure Set_PrintReverse(prop: WordBool); safecall;
  17372.     function Get_MapPaperSize: WordBool; safecall;
  17373.     procedure Set_MapPaperSize(prop: WordBool); safecall;
  17374.     function Get_AutoFormatAsYouTypeApplyTables: WordBool; safecall;
  17375.     procedure Set_AutoFormatAsYouTypeApplyTables(prop: WordBool); safecall;
  17376.     function Get_AutoFormatApplyFirstIndents: WordBool; safecall;
  17377.     procedure Set_AutoFormatApplyFirstIndents(prop: WordBool); safecall;
  17378.     function Get_AutoFormatMatchParentheses: WordBool; safecall;
  17379.     procedure Set_AutoFormatMatchParentheses(prop: WordBool); safecall;
  17380.     function Get_AutoFormatReplaceFarEastDashes: WordBool; safecall;
  17381.     procedure Set_AutoFormatReplaceFarEastDashes(prop: WordBool); safecall;
  17382.     function Get_AutoFormatDeleteAutoSpaces: WordBool; safecall;
  17383.     procedure Set_AutoFormatDeleteAutoSpaces(prop: WordBool); safecall;
  17384.     function Get_AutoFormatAsYouTypeApplyFirstIndents: WordBool; safecall;
  17385.     procedure Set_AutoFormatAsYouTypeApplyFirstIndents(prop: WordBool); safecall;
  17386.     function Get_AutoFormatAsYouTypeApplyDates: WordBool; safecall;
  17387.     procedure Set_AutoFormatAsYouTypeApplyDates(prop: WordBool); safecall;
  17388.     function Get_AutoFormatAsYouTypeApplyClosings: WordBool; safecall;
  17389.     procedure Set_AutoFormatAsYouTypeApplyClosings(prop: WordBool); safecall;
  17390.     function Get_AutoFormatAsYouTypeMatchParentheses: WordBool; safecall;
  17391.     procedure Set_AutoFormatAsYouTypeMatchParentheses(prop: WordBool); safecall;
  17392.     function Get_AutoFormatAsYouTypeReplaceFarEastDashes: WordBool; safecall;
  17393.     procedure Set_AutoFormatAsYouTypeReplaceFarEastDashes(prop: WordBool); safecall;
  17394.     function Get_AutoFormatAsYouTypeDeleteAutoSpaces: WordBool; safecall;
  17395.     procedure Set_AutoFormatAsYouTypeDeleteAutoSpaces(prop: WordBool); safecall;
  17396.     function Get_AutoFormatAsYouTypeInsertClosings: WordBool; safecall;
  17397.     procedure Set_AutoFormatAsYouTypeInsertClosings(prop: WordBool); safecall;
  17398.     function Get_AutoFormatAsYouTypeAutoLetterWizard: WordBool; safecall;
  17399.     procedure Set_AutoFormatAsYouTypeAutoLetterWizard(prop: WordBool); safecall;
  17400.     function Get_AutoFormatAsYouTypeInsertOvers: WordBool; safecall;
  17401.     procedure Set_AutoFormatAsYouTypeInsertOvers(prop: WordBool); safecall;
  17402.     function Get_DisplayGridLines: WordBool; safecall;
  17403.     procedure Set_DisplayGridLines(prop: WordBool); safecall;
  17404.     function Get_MatchFuzzyCase: WordBool; safecall;
  17405.     procedure Set_MatchFuzzyCase(prop: WordBool); safecall;
  17406.     function Get_MatchFuzzyByte: WordBool; safecall;
  17407.     procedure Set_MatchFuzzyByte(prop: WordBool); safecall;
  17408.     function Get_MatchFuzzyHiragana: WordBool; safecall;
  17409.     procedure Set_MatchFuzzyHiragana(prop: WordBool); safecall;
  17410.     function Get_MatchFuzzySmallKana: WordBool; safecall;
  17411.     procedure Set_MatchFuzzySmallKana(prop: WordBool); safecall;
  17412.     function Get_MatchFuzzyDash: WordBool; safecall;
  17413.     procedure Set_MatchFuzzyDash(prop: WordBool); safecall;
  17414.     function Get_MatchFuzzyIterationMark: WordBool; safecall;
  17415.     procedure Set_MatchFuzzyIterationMark(prop: WordBool); safecall;
  17416.     function Get_MatchFuzzyKanji: WordBool; safecall;
  17417.     procedure Set_MatchFuzzyKanji(prop: WordBool); safecall;
  17418.     function Get_MatchFuzzyOldKana: WordBool; safecall;
  17419.     procedure Set_MatchFuzzyOldKana(prop: WordBool); safecall;
  17420.     function Get_MatchFuzzyProlongedSoundMark: WordBool; safecall;
  17421.     procedure Set_MatchFuzzyProlongedSoundMark(prop: WordBool); safecall;
  17422.     function Get_MatchFuzzyDZ: WordBool; safecall;
  17423.     procedure Set_MatchFuzzyDZ(prop: WordBool); safecall;
  17424.     function Get_MatchFuzzyBV: WordBool; safecall;
  17425.     procedure Set_MatchFuzzyBV(prop: WordBool); safecall;
  17426.     function Get_MatchFuzzyTC: WordBool; safecall;
  17427.     procedure Set_MatchFuzzyTC(prop: WordBool); safecall;
  17428.     function Get_MatchFuzzyHF: WordBool; safecall;
  17429.     procedure Set_MatchFuzzyHF(prop: WordBool); safecall;
  17430.     function Get_MatchFuzzyZJ: WordBool; safecall;
  17431.     procedure Set_MatchFuzzyZJ(prop: WordBool); safecall;
  17432.     function Get_MatchFuzzyAY: WordBool; safecall;
  17433.     procedure Set_MatchFuzzyAY(prop: WordBool); safecall;
  17434.     function Get_MatchFuzzyKiKu: WordBool; safecall;
  17435.     procedure Set_MatchFuzzyKiKu(prop: WordBool); safecall;
  17436.     function Get_MatchFuzzyPunctuation: WordBool; safecall;
  17437.     procedure Set_MatchFuzzyPunctuation(prop: WordBool); safecall;
  17438.     function Get_MatchFuzzySpace: WordBool; safecall;
  17439.     procedure Set_MatchFuzzySpace(prop: WordBool); safecall;
  17440.     function Get_ApplyFarEastFontsToAscii: WordBool; safecall;
  17441.     procedure Set_ApplyFarEastFontsToAscii(prop: WordBool); safecall;
  17442.     function Get_ConvertHighAnsiToFarEast: WordBool; safecall;
  17443.     procedure Set_ConvertHighAnsiToFarEast(prop: WordBool); safecall;
  17444.     function Get_PrintOddPagesInAscendingOrder: WordBool; safecall;
  17445.     procedure Set_PrintOddPagesInAscendingOrder(prop: WordBool); safecall;
  17446.     function Get_PrintEvenPagesInAscendingOrder: WordBool; safecall;
  17447.     procedure Set_PrintEvenPagesInAscendingOrder(prop: WordBool); safecall;
  17448.     function Get_DefaultBorderColorIndex: WdColorIndex; safecall;
  17449.     procedure Set_DefaultBorderColorIndex(prop: WdColorIndex); safecall;
  17450.     function Get_EnableMisusedWordsDictionary: WordBool; safecall;
  17451.     procedure Set_EnableMisusedWordsDictionary(prop: WordBool); safecall;
  17452.     function Get_AllowCombinedAuxiliaryForms: WordBool; safecall;
  17453.     procedure Set_AllowCombinedAuxiliaryForms(prop: WordBool); safecall;
  17454.     function Get_HangulHanjaFastConversion: WordBool; safecall;
  17455.     procedure Set_HangulHanjaFastConversion(prop: WordBool); safecall;
  17456.     function Get_CheckHangulEndings: WordBool; safecall;
  17457.     procedure Set_CheckHangulEndings(prop: WordBool); safecall;
  17458.     function Get_EnableHangulHanjaRecentOrdering: WordBool; safecall;
  17459.     procedure Set_EnableHangulHanjaRecentOrdering(prop: WordBool); safecall;
  17460.     function Get_MultipleWordConversionsMode: WdMultipleWordConversionsMode; safecall;
  17461.     procedure Set_MultipleWordConversionsMode(prop: WdMultipleWordConversionsMode); safecall;
  17462.     procedure SetWPHelpOptions(var CommandKeyHelp: OleVariant; var DocNavigationKeys: OleVariant; 
  17463.                                var MouseSimulation: OleVariant; var DemoGuidance: OleVariant; 
  17464.                                var DemoSpeed: OleVariant; var HelpType: OleVariant); safecall;
  17465.     function Get_DefaultBorderColor: WdColor; safecall;
  17466.     procedure Set_DefaultBorderColor(prop: WdColor); safecall;
  17467.     function Get_AllowPixelUnits: WordBool; safecall;
  17468.     procedure Set_AllowPixelUnits(prop: WordBool); safecall;
  17469.     function Get_UseCharacterUnit: WordBool; safecall;
  17470.     procedure Set_UseCharacterUnit(prop: WordBool); safecall;
  17471.     function Get_AllowCompoundNounProcessing: WordBool; safecall;
  17472.     procedure Set_AllowCompoundNounProcessing(prop: WordBool); safecall;
  17473.     function Get_AutoKeyboardSwitching: WordBool; safecall;
  17474.     procedure Set_AutoKeyboardSwitching(prop: WordBool); safecall;
  17475.     function Get_DocumentViewDirection: WdDocumentViewDirection; safecall;
  17476.     procedure Set_DocumentViewDirection(prop: WdDocumentViewDirection); safecall;
  17477.     function Get_ArabicNumeral: WdArabicNumeral; safecall;
  17478.     procedure Set_ArabicNumeral(prop: WdArabicNumeral); safecall;
  17479.     function Get_MonthNames: WdMonthNames; safecall;
  17480.     procedure Set_MonthNames(prop: WdMonthNames); safecall;
  17481.     function Get_CursorMovement: WdCursorMovement; safecall;
  17482.     procedure Set_CursorMovement(prop: WdCursorMovement); safecall;
  17483.     function Get_VisualSelection: WdVisualSelection; safecall;
  17484.     procedure Set_VisualSelection(prop: WdVisualSelection); safecall;
  17485.     function Get_ShowDiacritics: WordBool; safecall;
  17486.     procedure Set_ShowDiacritics(prop: WordBool); safecall;
  17487.     function Get_ShowControlCharacters: WordBool; safecall;
  17488.     procedure Set_ShowControlCharacters(prop: WordBool); safecall;
  17489.     function Get_AddControlCharacters: WordBool; safecall;
  17490.     procedure Set_AddControlCharacters(prop: WordBool); safecall;
  17491.     function Get_AddBiDirectionalMarksWhenSavingTextFile: WordBool; safecall;
  17492.     procedure Set_AddBiDirectionalMarksWhenSavingTextFile(prop: WordBool); safecall;
  17493.     function Get_StrictInitialAlefHamza: WordBool; safecall;
  17494.     procedure Set_StrictInitialAlefHamza(prop: WordBool); safecall;
  17495.     function Get_StrictFinalYaa: WordBool; safecall;
  17496.     procedure Set_StrictFinalYaa(prop: WordBool); safecall;
  17497.     function Get_HebrewMode: WdHebSpellStart; safecall;
  17498.     procedure Set_HebrewMode(prop: WdHebSpellStart); safecall;
  17499.     function Get_ArabicMode: WdAraSpeller; safecall;
  17500.     procedure Set_ArabicMode(prop: WdAraSpeller); safecall;
  17501.     function Get_AllowClickAndTypeMouse: WordBool; safecall;
  17502.     procedure Set_AllowClickAndTypeMouse(prop: WordBool); safecall;
  17503.     function Get_UseGermanSpellingReform: WordBool; safecall;
  17504.     procedure Set_UseGermanSpellingReform(prop: WordBool); safecall;
  17505.     function Get_InterpretHighAnsi: WdHighAnsiText; safecall;
  17506.     procedure Set_InterpretHighAnsi(prop: WdHighAnsiText); safecall;
  17507.     function Get_AddHebDoubleQuote: WordBool; safecall;
  17508.     procedure Set_AddHebDoubleQuote(prop: WordBool); safecall;
  17509.     function Get_UseDiffDiacColor: WordBool; safecall;
  17510.     procedure Set_UseDiffDiacColor(prop: WordBool); safecall;
  17511.     function Get_DiacriticColorVal: WdColor; safecall;
  17512.     procedure Set_DiacriticColorVal(prop: WdColor); safecall;
  17513.     function Get_OptimizeForWord97byDefault: WordBool; safecall;
  17514.     procedure Set_OptimizeForWord97byDefault(prop: WordBool); safecall;
  17515.     property Application_: Application_ read Get_Application_;
  17516.     property Creator: Integer read Get_Creator;
  17517.     property Parent: IDispatch read Get_Parent;
  17518.     property AllowAccentedUppercase: WordBool read Get_AllowAccentedUppercase write Set_AllowAccentedUppercase;
  17519.     property WPHelp: WordBool read Get_WPHelp write Set_WPHelp;
  17520.     property WPDocNavKeys: WordBool read Get_WPDocNavKeys write Set_WPDocNavKeys;
  17521.     property Pagination: WordBool read Get_Pagination write Set_Pagination;
  17522.     property BlueScreen: WordBool read Get_BlueScreen write Set_BlueScreen;
  17523.     property EnableSound: WordBool read Get_EnableSound write Set_EnableSound;
  17524.     property ConfirmConversions: WordBool read Get_ConfirmConversions write Set_ConfirmConversions;
  17525.     property UpdateLinksAtOpen: WordBool read Get_UpdateLinksAtOpen write Set_UpdateLinksAtOpen;
  17526.     property SendMailAttach: WordBool read Get_SendMailAttach write Set_SendMailAttach;
  17527.     property MeasurementUnit: WdMeasurementUnits read Get_MeasurementUnit write Set_MeasurementUnit;
  17528.     property ButtonFieldClicks: Integer read Get_ButtonFieldClicks write Set_ButtonFieldClicks;
  17529.     property ShortMenuNames: WordBool read Get_ShortMenuNames write Set_ShortMenuNames;
  17530.     property RTFInClipboard: WordBool read Get_RTFInClipboard write Set_RTFInClipboard;
  17531.     property UpdateFieldsAtPrint: WordBool read Get_UpdateFieldsAtPrint write Set_UpdateFieldsAtPrint;
  17532.     property PrintProperties: WordBool read Get_PrintProperties write Set_PrintProperties;
  17533.     property PrintFieldCodes: WordBool read Get_PrintFieldCodes write Set_PrintFieldCodes;
  17534.     property PrintComments: WordBool read Get_PrintComments write Set_PrintComments;
  17535.     property PrintHiddenText: WordBool read Get_PrintHiddenText write Set_PrintHiddenText;
  17536.     property EnvelopeFeederInstalled: WordBool read Get_EnvelopeFeederInstalled;
  17537.     property UpdateLinksAtPrint: WordBool read Get_UpdateLinksAtPrint write Set_UpdateLinksAtPrint;
  17538.     property PrintBackground: WordBool read Get_PrintBackground write Set_PrintBackground;
  17539.     property PrintDrawingObjects: WordBool read Get_PrintDrawingObjects write Set_PrintDrawingObjects;
  17540.     property DefaultTray: WideString read Get_DefaultTray write Set_DefaultTray;
  17541.     property DefaultTrayID: Integer read Get_DefaultTrayID write Set_DefaultTrayID;
  17542.     property CreateBackup: WordBool read Get_CreateBackup write Set_CreateBackup;
  17543.     property AllowFastSave: WordBool read Get_AllowFastSave write Set_AllowFastSave;
  17544.     property SavePropertiesPrompt: WordBool read Get_SavePropertiesPrompt write Set_SavePropertiesPrompt;
  17545.     property SaveNormalPrompt: WordBool read Get_SaveNormalPrompt write Set_SaveNormalPrompt;
  17546.     property SaveInterval: Integer read Get_SaveInterval write Set_SaveInterval;
  17547.     property BackgroundSave: WordBool read Get_BackgroundSave write Set_BackgroundSave;
  17548.     property InsertedTextMark: WdInsertedTextMark read Get_InsertedTextMark write Set_InsertedTextMark;
  17549.     property DeletedTextMark: WdDeletedTextMark read Get_DeletedTextMark write Set_DeletedTextMark;
  17550.     property RevisedLinesMark: WdRevisedLinesMark read Get_RevisedLinesMark write Set_RevisedLinesMark;
  17551.     property InsertedTextColor: WdColorIndex read Get_InsertedTextColor write Set_InsertedTextColor;
  17552.     property DeletedTextColor: WdColorIndex read Get_DeletedTextColor write Set_DeletedTextColor;
  17553.     property RevisedLinesColor: WdColorIndex read Get_RevisedLinesColor write Set_RevisedLinesColor;
  17554.     property DefaultFilePath[Path: WdDefaultFilePath]: WideString read Get_DefaultFilePath write Set_DefaultFilePath;
  17555.     property Overtype: WordBool read Get_Overtype write Set_Overtype;
  17556.     property ReplaceSelection: WordBool read Get_ReplaceSelection write Set_ReplaceSelection;
  17557.     property AllowDragAndDrop: WordBool read Get_AllowDragAndDrop write Set_AllowDragAndDrop;
  17558.     property AutoWordSelection: WordBool read Get_AutoWordSelection write Set_AutoWordSelection;
  17559.     property INSKeyForPaste: WordBool read Get_INSKeyForPaste write Set_INSKeyForPaste;
  17560.     property SmartCutPaste: WordBool read Get_SmartCutPaste write Set_SmartCutPaste;
  17561.     property TabIndentKey: WordBool read Get_TabIndentKey write Set_TabIndentKey;
  17562.     property PictureEditor: WideString read Get_PictureEditor write Set_PictureEditor;
  17563.     property AnimateScreenMovements: WordBool read Get_AnimateScreenMovements write Set_AnimateScreenMovements;
  17564.     property VirusProtection: WordBool read Get_VirusProtection write Set_VirusProtection;
  17565.     property RevisedPropertiesMark: WdRevisedPropertiesMark read Get_RevisedPropertiesMark write Set_RevisedPropertiesMark;
  17566.     property RevisedPropertiesColor: WdColorIndex read Get_RevisedPropertiesColor write Set_RevisedPropertiesColor;
  17567.     property SnapToGrid: WordBool read Get_SnapToGrid write Set_SnapToGrid;
  17568.     property SnapToShapes: WordBool read Get_SnapToShapes write Set_SnapToShapes;
  17569.     property GridDistanceHorizontal: Single read Get_GridDistanceHorizontal write Set_GridDistanceHorizontal;
  17570.     property GridDistanceVertical: Single read Get_GridDistanceVertical write Set_GridDistanceVertical;
  17571.     property GridOriginHorizontal: Single read Get_GridOriginHorizontal write Set_GridOriginHorizontal;
  17572.     property GridOriginVertical: Single read Get_GridOriginVertical write Set_GridOriginVertical;
  17573.     property InlineConversion: WordBool read Get_InlineConversion write Set_InlineConversion;
  17574.     property IMEAutomaticControl: WordBool read Get_IMEAutomaticControl write Set_IMEAutomaticControl;
  17575.     property AutoFormatApplyHeadings: WordBool read Get_AutoFormatApplyHeadings write Set_AutoFormatApplyHeadings;
  17576.     property AutoFormatApplyLists: WordBool read Get_AutoFormatApplyLists write Set_AutoFormatApplyLists;
  17577.     property AutoFormatApplyBulletedLists: WordBool read Get_AutoFormatApplyBulletedLists write Set_AutoFormatApplyBulletedLists;
  17578.     property AutoFormatApplyOtherParas: WordBool read Get_AutoFormatApplyOtherParas write Set_AutoFormatApplyOtherParas;
  17579.     property AutoFormatReplaceQuotes: WordBool read Get_AutoFormatReplaceQuotes write Set_AutoFormatReplaceQuotes;
  17580.     property AutoFormatReplaceSymbols: WordBool read Get_AutoFormatReplaceSymbols write Set_AutoFormatReplaceSymbols;
  17581.     property AutoFormatReplaceOrdinals: WordBool read Get_AutoFormatReplaceOrdinals write Set_AutoFormatReplaceOrdinals;
  17582.     property AutoFormatReplaceFractions: WordBool read Get_AutoFormatReplaceFractions write Set_AutoFormatReplaceFractions;
  17583.     property AutoFormatReplacePlainTextEmphasis: WordBool read Get_AutoFormatReplacePlainTextEmphasis write Set_AutoFormatReplacePlainTextEmphasis;
  17584.     property AutoFormatPreserveStyles: WordBool read Get_AutoFormatPreserveStyles write Set_AutoFormatPreserveStyles;
  17585.     property AutoFormatAsYouTypeApplyHeadings: WordBool read Get_AutoFormatAsYouTypeApplyHeadings write Set_AutoFormatAsYouTypeApplyHeadings;
  17586.     property AutoFormatAsYouTypeApplyBorders: WordBool read Get_AutoFormatAsYouTypeApplyBorders write Set_AutoFormatAsYouTypeApplyBorders;
  17587.     property AutoFormatAsYouTypeApplyBulletedLists: WordBool read Get_AutoFormatAsYouTypeApplyBulletedLists write Set_AutoFormatAsYouTypeApplyBulletedLists;
  17588.     property AutoFormatAsYouTypeApplyNumberedLists: WordBool read Get_AutoFormatAsYouTypeApplyNumberedLists write Set_AutoFormatAsYouTypeApplyNumberedLists;
  17589.     property AutoFormatAsYouTypeReplaceQuotes: WordBool read Get_AutoFormatAsYouTypeReplaceQuotes write Set_AutoFormatAsYouTypeReplaceQuotes;
  17590.     property AutoFormatAsYouTypeReplaceSymbols: WordBool read Get_AutoFormatAsYouTypeReplaceSymbols write Set_AutoFormatAsYouTypeReplaceSymbols;
  17591.     property AutoFormatAsYouTypeReplaceOrdinals: WordBool read Get_AutoFormatAsYouTypeReplaceOrdinals write Set_AutoFormatAsYouTypeReplaceOrdinals;
  17592.     property AutoFormatAsYouTypeReplaceFractions: WordBool read Get_AutoFormatAsYouTypeReplaceFractions write Set_AutoFormatAsYouTypeReplaceFractions;
  17593.     property AutoFormatAsYouTypeReplacePlainTextEmphasis: WordBool read Get_AutoFormatAsYouTypeReplacePlainTextEmphasis write Set_AutoFormatAsYouTypeReplacePlainTextEmphasis;
  17594.     property AutoFormatAsYouTypeFormatListItemBeginning: WordBool read Get_AutoFormatAsYouTypeFormatListItemBeginning write Set_AutoFormatAsYouTypeFormatListItemBeginning;
  17595.     property AutoFormatAsYouTypeDefineStyles: WordBool read Get_AutoFormatAsYouTypeDefineStyles write Set_AutoFormatAsYouTypeDefineStyles;
  17596.     property AutoFormatPlainTextWordMail: WordBool read Get_AutoFormatPlainTextWordMail write Set_AutoFormatPlainTextWordMail;
  17597.     property AutoFormatAsYouTypeReplaceHyperlinks: WordBool read Get_AutoFormatAsYouTypeReplaceHyperlinks write Set_AutoFormatAsYouTypeReplaceHyperlinks;
  17598.     property AutoFormatReplaceHyperlinks: WordBool read Get_AutoFormatReplaceHyperlinks write Set_AutoFormatReplaceHyperlinks;
  17599.     property DefaultHighlightColorIndex: WdColorIndex read Get_DefaultHighlightColorIndex write Set_DefaultHighlightColorIndex;
  17600.     property DefaultBorderLineStyle: WdLineStyle read Get_DefaultBorderLineStyle write Set_DefaultBorderLineStyle;
  17601.     property CheckSpellingAsYouType: WordBool read Get_CheckSpellingAsYouType write Set_CheckSpellingAsYouType;
  17602.     property CheckGrammarAsYouType: WordBool read Get_CheckGrammarAsYouType write Set_CheckGrammarAsYouType;
  17603.     property IgnoreInternetAndFileAddresses: WordBool read Get_IgnoreInternetAndFileAddresses write Set_IgnoreInternetAndFileAddresses;
  17604.     property ShowReadabilityStatistics: WordBool read Get_ShowReadabilityStatistics write Set_ShowReadabilityStatistics;
  17605.     property IgnoreUppercase: WordBool read Get_IgnoreUppercase write Set_IgnoreUppercase;
  17606.     property IgnoreMixedDigits: WordBool read Get_IgnoreMixedDigits write Set_IgnoreMixedDigits;
  17607.     property SuggestFromMainDictionaryOnly: WordBool read Get_SuggestFromMainDictionaryOnly write Set_SuggestFromMainDictionaryOnly;
  17608.     property SuggestSpellingCorrections: WordBool read Get_SuggestSpellingCorrections write Set_SuggestSpellingCorrections;
  17609.     property DefaultBorderLineWidth: WdLineWidth read Get_DefaultBorderLineWidth write Set_DefaultBorderLineWidth;
  17610.     property CheckGrammarWithSpelling: WordBool read Get_CheckGrammarWithSpelling write Set_CheckGrammarWithSpelling;
  17611.     property DefaultOpenFormat: WdOpenFormat read Get_DefaultOpenFormat write Set_DefaultOpenFormat;
  17612.     property PrintDraft: WordBool read Get_PrintDraft write Set_PrintDraft;
  17613.     property PrintReverse: WordBool read Get_PrintReverse write Set_PrintReverse;
  17614.     property MapPaperSize: WordBool read Get_MapPaperSize write Set_MapPaperSize;
  17615.     property AutoFormatAsYouTypeApplyTables: WordBool read Get_AutoFormatAsYouTypeApplyTables write Set_AutoFormatAsYouTypeApplyTables;
  17616.     property AutoFormatApplyFirstIndents: WordBool read Get_AutoFormatApplyFirstIndents write Set_AutoFormatApplyFirstIndents;
  17617.     property AutoFormatMatchParentheses: WordBool read Get_AutoFormatMatchParentheses write Set_AutoFormatMatchParentheses;
  17618.     property AutoFormatReplaceFarEastDashes: WordBool read Get_AutoFormatReplaceFarEastDashes write Set_AutoFormatReplaceFarEastDashes;
  17619.     property AutoFormatDeleteAutoSpaces: WordBool read Get_AutoFormatDeleteAutoSpaces write Set_AutoFormatDeleteAutoSpaces;
  17620.     property AutoFormatAsYouTypeApplyFirstIndents: WordBool read Get_AutoFormatAsYouTypeApplyFirstIndents write Set_AutoFormatAsYouTypeApplyFirstIndents;
  17621.     property AutoFormatAsYouTypeApplyDates: WordBool read Get_AutoFormatAsYouTypeApplyDates write Set_AutoFormatAsYouTypeApplyDates;
  17622.     property AutoFormatAsYouTypeApplyClosings: WordBool read Get_AutoFormatAsYouTypeApplyClosings write Set_AutoFormatAsYouTypeApplyClosings;
  17623.     property AutoFormatAsYouTypeMatchParentheses: WordBool read Get_AutoFormatAsYouTypeMatchParentheses write Set_AutoFormatAsYouTypeMatchParentheses;
  17624.     property AutoFormatAsYouTypeReplaceFarEastDashes: WordBool read Get_AutoFormatAsYouTypeReplaceFarEastDashes write Set_AutoFormatAsYouTypeReplaceFarEastDashes;
  17625.     property AutoFormatAsYouTypeDeleteAutoSpaces: WordBool read Get_AutoFormatAsYouTypeDeleteAutoSpaces write Set_AutoFormatAsYouTypeDeleteAutoSpaces;
  17626.     property AutoFormatAsYouTypeInsertClosings: WordBool read Get_AutoFormatAsYouTypeInsertClosings write Set_AutoFormatAsYouTypeInsertClosings;
  17627.     property AutoFormatAsYouTypeAutoLetterWizard: WordBool read Get_AutoFormatAsYouTypeAutoLetterWizard write Set_AutoFormatAsYouTypeAutoLetterWizard;
  17628.     property AutoFormatAsYouTypeInsertOvers: WordBool read Get_AutoFormatAsYouTypeInsertOvers write Set_AutoFormatAsYouTypeInsertOvers;
  17629.     property DisplayGridLines: WordBool read Get_DisplayGridLines write Set_DisplayGridLines;
  17630.     property MatchFuzzyCase: WordBool read Get_MatchFuzzyCase write Set_MatchFuzzyCase;
  17631.     property MatchFuzzyByte: WordBool read Get_MatchFuzzyByte write Set_MatchFuzzyByte;
  17632.     property MatchFuzzyHiragana: WordBool read Get_MatchFuzzyHiragana write Set_MatchFuzzyHiragana;
  17633.     property MatchFuzzySmallKana: WordBool read Get_MatchFuzzySmallKana write Set_MatchFuzzySmallKana;
  17634.     property MatchFuzzyDash: WordBool read Get_MatchFuzzyDash write Set_MatchFuzzyDash;
  17635.     property MatchFuzzyIterationMark: WordBool read Get_MatchFuzzyIterationMark write Set_MatchFuzzyIterationMark;
  17636.     property MatchFuzzyKanji: WordBool read Get_MatchFuzzyKanji write Set_MatchFuzzyKanji;
  17637.     property MatchFuzzyOldKana: WordBool read Get_MatchFuzzyOldKana write Set_MatchFuzzyOldKana;
  17638.     property MatchFuzzyProlongedSoundMark: WordBool read Get_MatchFuzzyProlongedSoundMark write Set_MatchFuzzyProlongedSoundMark;
  17639.     property MatchFuzzyDZ: WordBool read Get_MatchFuzzyDZ write Set_MatchFuzzyDZ;
  17640.     property MatchFuzzyBV: WordBool read Get_MatchFuzzyBV write Set_MatchFuzzyBV;
  17641.     property MatchFuzzyTC: WordBool read Get_MatchFuzzyTC write Set_MatchFuzzyTC;
  17642.     property MatchFuzzyHF: WordBool read Get_MatchFuzzyHF write Set_MatchFuzzyHF;
  17643.     property MatchFuzzyZJ: WordBool read Get_MatchFuzzyZJ write Set_MatchFuzzyZJ;
  17644.     property MatchFuzzyAY: WordBool read Get_MatchFuzzyAY write Set_MatchFuzzyAY;
  17645.     property MatchFuzzyKiKu: WordBool read Get_MatchFuzzyKiKu write Set_MatchFuzzyKiKu;
  17646.     property MatchFuzzyPunctuation: WordBool read Get_MatchFuzzyPunctuation write Set_MatchFuzzyPunctuation;
  17647.     property MatchFuzzySpace: WordBool read Get_MatchFuzzySpace write Set_MatchFuzzySpace;
  17648.     property ApplyFarEastFontsToAscii: WordBool read Get_ApplyFarEastFontsToAscii write Set_ApplyFarEastFontsToAscii;
  17649.     property ConvertHighAnsiToFarEast: WordBool read Get_ConvertHighAnsiToFarEast write Set_ConvertHighAnsiToFarEast;
  17650.     property PrintOddPagesInAscendingOrder: WordBool read Get_PrintOddPagesInAscendingOrder write Set_PrintOddPagesInAscendingOrder;
  17651.     property PrintEvenPagesInAscendingOrder: WordBool read Get_PrintEvenPagesInAscendingOrder write Set_PrintEvenPagesInAscendingOrder;
  17652.     property DefaultBorderColorIndex: WdColorIndex read Get_DefaultBorderColorIndex write Set_DefaultBorderColorIndex;
  17653.     property EnableMisusedWordsDictionary: WordBool read Get_EnableMisusedWordsDictionary write Set_EnableMisusedWordsDictionary;
  17654.     property AllowCombinedAuxiliaryForms: WordBool read Get_AllowCombinedAuxiliaryForms write Set_AllowCombinedAuxiliaryForms;
  17655.     property HangulHanjaFastConversion: WordBool read Get_HangulHanjaFastConversion write Set_HangulHanjaFastConversion;
  17656.     property CheckHangulEndings: WordBool read Get_CheckHangulEndings write Set_CheckHangulEndings;
  17657.     property EnableHangulHanjaRecentOrdering: WordBool read Get_EnableHangulHanjaRecentOrdering write Set_EnableHangulHanjaRecentOrdering;
  17658.     property MultipleWordConversionsMode: WdMultipleWordConversionsMode read Get_MultipleWordConversionsMode write Set_MultipleWordConversionsMode;
  17659.     property DefaultBorderColor: WdColor read Get_DefaultBorderColor write Set_DefaultBorderColor;
  17660.     property AllowPixelUnits: WordBool read Get_AllowPixelUnits write Set_AllowPixelUnits;
  17661.     property UseCharacterUnit: WordBool read Get_UseCharacterUnit write Set_UseCharacterUnit;
  17662.     property AllowCompoundNounProcessing: WordBool read Get_AllowCompoundNounProcessing write Set_AllowCompoundNounProcessing;
  17663.     property AutoKeyboardSwitching: WordBool read Get_AutoKeyboardSwitching write Set_AutoKeyboardSwitching;
  17664.     property DocumentViewDirection: WdDocumentViewDirection read Get_DocumentViewDirection write Set_DocumentViewDirection;
  17665.     property ArabicNumeral: WdArabicNumeral read Get_ArabicNumeral write Set_ArabicNumeral;
  17666.     property MonthNames: WdMonthNames read Get_MonthNames write Set_MonthNames;
  17667.     property CursorMovement: WdCursorMovement read Get_CursorMovement write Set_CursorMovement;
  17668.     property VisualSelection: WdVisualSelection read Get_VisualSelection write Set_VisualSelection;
  17669.     property ShowDiacritics: WordBool read Get_ShowDiacritics write Set_ShowDiacritics;
  17670.     property ShowControlCharacters: WordBool read Get_ShowControlCharacters write Set_ShowControlCharacters;
  17671.     property AddControlCharacters: WordBool read Get_AddControlCharacters write Set_AddControlCharacters;
  17672.     property AddBiDirectionalMarksWhenSavingTextFile: WordBool read Get_AddBiDirectionalMarksWhenSavingTextFile write Set_AddBiDirectionalMarksWhenSavingTextFile;
  17673.     property StrictInitialAlefHamza: WordBool read Get_StrictInitialAlefHamza write Set_StrictInitialAlefHamza;
  17674.     property StrictFinalYaa: WordBool read Get_StrictFinalYaa write Set_StrictFinalYaa;
  17675.     property HebrewMode: WdHebSpellStart read Get_HebrewMode write Set_HebrewMode;
  17676.     property ArabicMode: WdAraSpeller read Get_ArabicMode write Set_ArabicMode;
  17677.     property AllowClickAndTypeMouse: WordBool read Get_AllowClickAndTypeMouse write Set_AllowClickAndTypeMouse;
  17678.     property UseGermanSpellingReform: WordBool read Get_UseGermanSpellingReform write Set_UseGermanSpellingReform;
  17679.     property InterpretHighAnsi: WdHighAnsiText read Get_InterpretHighAnsi write Set_InterpretHighAnsi;
  17680.     property AddHebDoubleQuote: WordBool read Get_AddHebDoubleQuote write Set_AddHebDoubleQuote;
  17681.     property UseDiffDiacColor: WordBool read Get_UseDiffDiacColor write Set_UseDiffDiacColor;
  17682.     property DiacriticColorVal: WdColor read Get_DiacriticColorVal write Set_DiacriticColorVal;
  17683.     property OptimizeForWord97byDefault: WordBool read Get_OptimizeForWord97byDefault write Set_OptimizeForWord97byDefault;
  17684.   end;
  17685.  
  17686. // *********************************************************************//
  17687. // DispIntf:  OptionsDisp
  17688. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17689. // GUID:      {000209B7-0000-0000-C000-000000000046}
  17690. // *********************************************************************//
  17691.   OptionsDisp = dispinterface
  17692.     ['{000209B7-0000-0000-C000-000000000046}']
  17693.     property Application_: Application_ readonly dispid 1000;
  17694.     property Creator: Integer readonly dispid 1001;
  17695.     property Parent: IDispatch readonly dispid 1002;
  17696.     property AllowAccentedUppercase: WordBool dispid 1;
  17697.     property WPHelp: WordBool dispid 17;
  17698.     property WPDocNavKeys: WordBool dispid 18;
  17699.     property Pagination: WordBool dispid 19;
  17700.     property BlueScreen: WordBool dispid 20;
  17701.     property EnableSound: WordBool dispid 21;
  17702.     property ConfirmConversions: WordBool dispid 22;
  17703.     property UpdateLinksAtOpen: WordBool dispid 23;
  17704.     property SendMailAttach: WordBool dispid 24;
  17705.     property MeasurementUnit: WdMeasurementUnits dispid 26;
  17706.     property ButtonFieldClicks: Integer dispid 27;
  17707.     property ShortMenuNames: WordBool dispid 28;
  17708.     property RTFInClipboard: WordBool dispid 29;
  17709.     property UpdateFieldsAtPrint: WordBool dispid 30;
  17710.     property PrintProperties: WordBool dispid 31;
  17711.     property PrintFieldCodes: WordBool dispid 32;
  17712.     property PrintComments: WordBool dispid 33;
  17713.     property PrintHiddenText: WordBool dispid 34;
  17714.     property EnvelopeFeederInstalled: WordBool readonly dispid 35;
  17715.     property UpdateLinksAtPrint: WordBool dispid 36;
  17716.     property PrintBackground: WordBool dispid 37;
  17717.     property PrintDrawingObjects: WordBool dispid 38;
  17718.     property DefaultTray: WideString dispid 39;
  17719.     property DefaultTrayID: Integer dispid 40;
  17720.     property CreateBackup: WordBool dispid 41;
  17721.     property AllowFastSave: WordBool dispid 42;
  17722.     property SavePropertiesPrompt: WordBool dispid 43;
  17723.     property SaveNormalPrompt: WordBool dispid 44;
  17724.     property SaveInterval: Integer dispid 45;
  17725.     property BackgroundSave: WordBool dispid 46;
  17726.     property InsertedTextMark: WdInsertedTextMark dispid 57;
  17727.     property DeletedTextMark: WdDeletedTextMark dispid 58;
  17728.     property RevisedLinesMark: WdRevisedLinesMark dispid 59;
  17729.     property InsertedTextColor: WdColorIndex dispid 60;
  17730.     property DeletedTextColor: WdColorIndex dispid 61;
  17731.     property RevisedLinesColor: WdColorIndex dispid 62;
  17732.     property DefaultFilePath[Path: WdDefaultFilePath]: WideString dispid 65;
  17733.     property Overtype: WordBool dispid 66;
  17734.     property ReplaceSelection: WordBool dispid 67;
  17735.     property AllowDragAndDrop: WordBool dispid 68;
  17736.     property AutoWordSelection: WordBool dispid 69;
  17737.     property INSKeyForPaste: WordBool dispid 70;
  17738.     property SmartCutPaste: WordBool dispid 71;
  17739.     property TabIndentKey: WordBool dispid 72;
  17740.     property PictureEditor: WideString dispid 73;
  17741.     property AnimateScreenMovements: WordBool dispid 74;
  17742.     property VirusProtection: WordBool dispid 75;
  17743.     property RevisedPropertiesMark: WdRevisedPropertiesMark dispid 76;
  17744.     property RevisedPropertiesColor: WdColorIndex dispid 77;
  17745.     property SnapToGrid: WordBool dispid 79;
  17746.     property SnapToShapes: WordBool dispid 80;
  17747.     property GridDistanceHorizontal: Single dispid 81;
  17748.     property GridDistanceVertical: Single dispid 82;
  17749.     property GridOriginHorizontal: Single dispid 83;
  17750.     property GridOriginVertical: Single dispid 84;
  17751.     property InlineConversion: WordBool dispid 86;
  17752.     property IMEAutomaticControl: WordBool dispid 87;
  17753.     property AutoFormatApplyHeadings: WordBool dispid 250;
  17754.     property AutoFormatApplyLists: WordBool dispid 251;
  17755.     property AutoFormatApplyBulletedLists: WordBool dispid 252;
  17756.     property AutoFormatApplyOtherParas: WordBool dispid 253;
  17757.     property AutoFormatReplaceQuotes: WordBool dispid 254;
  17758.     property AutoFormatReplaceSymbols: WordBool dispid 255;
  17759.     property AutoFormatReplaceOrdinals: WordBool dispid 256;
  17760.     property AutoFormatReplaceFractions: WordBool dispid 257;
  17761.     property AutoFormatReplacePlainTextEmphasis: WordBool dispid 258;
  17762.     property AutoFormatPreserveStyles: WordBool dispid 259;
  17763.     property AutoFormatAsYouTypeApplyHeadings: WordBool dispid 260;
  17764.     property AutoFormatAsYouTypeApplyBorders: WordBool dispid 261;
  17765.     property AutoFormatAsYouTypeApplyBulletedLists: WordBool dispid 262;
  17766.     property AutoFormatAsYouTypeApplyNumberedLists: WordBool dispid 263;
  17767.     property AutoFormatAsYouTypeReplaceQuotes: WordBool dispid 264;
  17768.     property AutoFormatAsYouTypeReplaceSymbols: WordBool dispid 265;
  17769.     property AutoFormatAsYouTypeReplaceOrdinals: WordBool dispid 266;
  17770.     property AutoFormatAsYouTypeReplaceFractions: WordBool dispid 267;
  17771.     property AutoFormatAsYouTypeReplacePlainTextEmphasis: WordBool dispid 268;
  17772.     property AutoFormatAsYouTypeFormatListItemBeginning: WordBool dispid 269;
  17773.     property AutoFormatAsYouTypeDefineStyles: WordBool dispid 270;
  17774.     property AutoFormatPlainTextWordMail: WordBool dispid 271;
  17775.     property AutoFormatAsYouTypeReplaceHyperlinks: WordBool dispid 272;
  17776.     property AutoFormatReplaceHyperlinks: WordBool dispid 273;
  17777.     property DefaultHighlightColorIndex: WdColorIndex dispid 274;
  17778.     property DefaultBorderLineStyle: WdLineStyle dispid 275;
  17779.     property CheckSpellingAsYouType: WordBool dispid 276;
  17780.     property CheckGrammarAsYouType: WordBool dispid 277;
  17781.     property IgnoreInternetAndFileAddresses: WordBool dispid 278;
  17782.     property ShowReadabilityStatistics: WordBool dispid 279;
  17783.     property IgnoreUppercase: WordBool dispid 280;
  17784.     property IgnoreMixedDigits: WordBool dispid 281;
  17785.     property SuggestFromMainDictionaryOnly: WordBool dispid 282;
  17786.     property SuggestSpellingCorrections: WordBool dispid 283;
  17787.     property DefaultBorderLineWidth: WdLineWidth dispid 284;
  17788.     property CheckGrammarWithSpelling: WordBool dispid 285;
  17789.     property DefaultOpenFormat: WdOpenFormat dispid 286;
  17790.     property PrintDraft: WordBool dispid 287;
  17791.     property PrintReverse: WordBool dispid 288;
  17792.     property MapPaperSize: WordBool dispid 289;
  17793.     property AutoFormatAsYouTypeApplyTables: WordBool dispid 290;
  17794.     property AutoFormatApplyFirstIndents: WordBool dispid 291;
  17795.     property AutoFormatMatchParentheses: WordBool dispid 294;
  17796.     property AutoFormatReplaceFarEastDashes: WordBool dispid 295;
  17797.     property AutoFormatDeleteAutoSpaces: WordBool dispid 296;
  17798.     property AutoFormatAsYouTypeApplyFirstIndents: WordBool dispid 297;
  17799.     property AutoFormatAsYouTypeApplyDates: WordBool dispid 298;
  17800.     property AutoFormatAsYouTypeApplyClosings: WordBool dispid 299;
  17801.     property AutoFormatAsYouTypeMatchParentheses: WordBool dispid 300;
  17802.     property AutoFormatAsYouTypeReplaceFarEastDashes: WordBool dispid 301;
  17803.     property AutoFormatAsYouTypeDeleteAutoSpaces: WordBool dispid 302;
  17804.     property AutoFormatAsYouTypeInsertClosings: WordBool dispid 303;
  17805.     property AutoFormatAsYouTypeAutoLetterWizard: WordBool dispid 304;
  17806.     property AutoFormatAsYouTypeInsertOvers: WordBool dispid 305;
  17807.     property DisplayGridLines: WordBool dispid 306;
  17808.     property MatchFuzzyCase: WordBool dispid 309;
  17809.     property MatchFuzzyByte: WordBool dispid 310;
  17810.     property MatchFuzzyHiragana: WordBool dispid 311;
  17811.     property MatchFuzzySmallKana: WordBool dispid 312;
  17812.     property MatchFuzzyDash: WordBool dispid 313;
  17813.     property MatchFuzzyIterationMark: WordBool dispid 314;
  17814.     property MatchFuzzyKanji: WordBool dispid 315;
  17815.     property MatchFuzzyOldKana: WordBool dispid 316;
  17816.     property MatchFuzzyProlongedSoundMark: WordBool dispid 317;
  17817.     property MatchFuzzyDZ: WordBool dispid 318;
  17818.     property MatchFuzzyBV: WordBool dispid 319;
  17819.     property MatchFuzzyTC: WordBool dispid 320;
  17820.     property MatchFuzzyHF: WordBool dispid 321;
  17821.     property MatchFuzzyZJ: WordBool dispid 322;
  17822.     property MatchFuzzyAY: WordBool dispid 323;
  17823.     property MatchFuzzyKiKu: WordBool dispid 324;
  17824.     property MatchFuzzyPunctuation: WordBool dispid 325;
  17825.     property MatchFuzzySpace: WordBool dispid 326;
  17826.     property ApplyFarEastFontsToAscii: WordBool dispid 327;
  17827.     property ConvertHighAnsiToFarEast: WordBool dispid 328;
  17828.     property PrintOddPagesInAscendingOrder: WordBool dispid 330;
  17829.     property PrintEvenPagesInAscendingOrder: WordBool dispid 331;
  17830.     property DefaultBorderColorIndex: WdColorIndex dispid 337;
  17831.     property EnableMisusedWordsDictionary: WordBool dispid 338;
  17832.     property AllowCombinedAuxiliaryForms: WordBool dispid 339;
  17833.     property HangulHanjaFastConversion: WordBool dispid 340;
  17834.     property CheckHangulEndings: WordBool dispid 341;
  17835.     property EnableHangulHanjaRecentOrdering: WordBool dispid 342;
  17836.     property MultipleWordConversionsMode: WdMultipleWordConversionsMode dispid 343;
  17837.     procedure SetWPHelpOptions(var CommandKeyHelp: OleVariant; var DocNavigationKeys: OleVariant; 
  17838.                                var MouseSimulation: OleVariant; var DemoGuidance: OleVariant; 
  17839.                                var DemoSpeed: OleVariant; var HelpType: OleVariant); dispid 333;
  17840.     property DefaultBorderColor: WdColor dispid 344;
  17841.     property AllowPixelUnits: WordBool dispid 345;
  17842.     property UseCharacterUnit: WordBool dispid 346;
  17843.     property AllowCompoundNounProcessing: WordBool dispid 347;
  17844.     property AutoKeyboardSwitching: WordBool dispid 399;
  17845.     property DocumentViewDirection: WdDocumentViewDirection dispid 400;
  17846.     property ArabicNumeral: WdArabicNumeral dispid 401;
  17847.     property MonthNames: WdMonthNames dispid 402;
  17848.     property CursorMovement: WdCursorMovement dispid 403;
  17849.     property VisualSelection: WdVisualSelection dispid 404;
  17850.     property ShowDiacritics: WordBool dispid 405;
  17851.     property ShowControlCharacters: WordBool dispid 406;
  17852.     property AddControlCharacters: WordBool dispid 407;
  17853.     property AddBiDirectionalMarksWhenSavingTextFile: WordBool dispid 408;
  17854.     property StrictInitialAlefHamza: WordBool dispid 409;
  17855.     property StrictFinalYaa: WordBool dispid 410;
  17856.     property HebrewMode: WdHebSpellStart dispid 411;
  17857.     property ArabicMode: WdAraSpeller dispid 412;
  17858.     property AllowClickAndTypeMouse: WordBool dispid 413;
  17859.     property UseGermanSpellingReform: WordBool dispid 415;
  17860.     property InterpretHighAnsi: WdHighAnsiText dispid 418;
  17861.     property AddHebDoubleQuote: WordBool dispid 419;
  17862.     property UseDiffDiacColor: WordBool dispid 420;
  17863.     property DiacriticColorVal: WdColor dispid 421;
  17864.     property OptimizeForWord97byDefault: WordBool dispid 423;
  17865.   end;
  17866.  
  17867. // *********************************************************************//
  17868. // Interface: MailMessage
  17869. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17870. // GUID:      {000209BA-0000-0000-C000-000000000046}
  17871. // *********************************************************************//
  17872.   MailMessage = interface(IDispatch)
  17873.     ['{000209BA-0000-0000-C000-000000000046}']
  17874.     function Get_Application_: Application_; safecall;
  17875.     function Get_Creator: Integer; safecall;
  17876.     function Get_Parent: IDispatch; safecall;
  17877.     procedure CheckName; safecall;
  17878.     procedure Delete; safecall;
  17879.     procedure DisplayMoveDialog; safecall;
  17880.     procedure DisplayProperties; safecall;
  17881.     procedure DisplaySelectNamesDialog; safecall;
  17882.     procedure Forward; safecall;
  17883.     procedure GoToNext; safecall;
  17884.     procedure GoToPrevious; safecall;
  17885.     procedure Reply; safecall;
  17886.     procedure ReplyAll; safecall;
  17887.     procedure ToggleHeader; safecall;
  17888.     property Application_: Application_ read Get_Application_;
  17889.     property Creator: Integer read Get_Creator;
  17890.     property Parent: IDispatch read Get_Parent;
  17891.   end;
  17892.  
  17893. // *********************************************************************//
  17894. // DispIntf:  MailMessageDisp
  17895. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17896. // GUID:      {000209BA-0000-0000-C000-000000000046}
  17897. // *********************************************************************//
  17898.   MailMessageDisp = dispinterface
  17899.     ['{000209BA-0000-0000-C000-000000000046}']
  17900.     property Application_: Application_ readonly dispid 1000;
  17901.     property Creator: Integer readonly dispid 1001;
  17902.     property Parent: IDispatch readonly dispid 1002;
  17903.     procedure CheckName; dispid 334;
  17904.     procedure Delete; dispid 335;
  17905.     procedure DisplayMoveDialog; dispid 336;
  17906.     procedure DisplayProperties; dispid 337;
  17907.     procedure DisplaySelectNamesDialog; dispid 338;
  17908.     procedure Forward; dispid 339;
  17909.     procedure GoToNext; dispid 340;
  17910.     procedure GoToPrevious; dispid 341;
  17911.     procedure Reply; dispid 342;
  17912.     procedure ReplyAll; dispid 343;
  17913.     procedure ToggleHeader; dispid 344;
  17914.   end;
  17915.  
  17916. // *********************************************************************//
  17917. // Interface: ProofreadingErrors
  17918. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17919. // GUID:      {000209BB-0000-0000-C000-000000000046}
  17920. // *********************************************************************//
  17921.   ProofreadingErrors = interface(IDispatch)
  17922.     ['{000209BB-0000-0000-C000-000000000046}']
  17923.     function Get_Application_: Application_; safecall;
  17924.     function Get_Creator: Integer; safecall;
  17925.     function Get_Parent: IDispatch; safecall;
  17926.     function Get__NewEnum: IUnknown; safecall;
  17927.     function Get_Count: Integer; safecall;
  17928.     function Get_Type_: WdProofreadingErrorType; safecall;
  17929.     function Item(Index: Integer): Range; safecall;
  17930.     property Application_: Application_ read Get_Application_;
  17931.     property Creator: Integer read Get_Creator;
  17932.     property Parent: IDispatch read Get_Parent;
  17933.     property _NewEnum: IUnknown read Get__NewEnum;
  17934.     property Count: Integer read Get_Count;
  17935.     property Type_: WdProofreadingErrorType read Get_Type_;
  17936.   end;
  17937.  
  17938. // *********************************************************************//
  17939. // DispIntf:  ProofreadingErrorsDisp
  17940. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17941. // GUID:      {000209BB-0000-0000-C000-000000000046}
  17942. // *********************************************************************//
  17943.   ProofreadingErrorsDisp = dispinterface
  17944.     ['{000209BB-0000-0000-C000-000000000046}']
  17945.     property Application_: Application_ readonly dispid 1000;
  17946.     property Creator: Integer readonly dispid 1001;
  17947.     property Parent: IDispatch readonly dispid 1002;
  17948.     property _NewEnum: IUnknown readonly dispid -4;
  17949.     property Count: Integer readonly dispid 1;
  17950.     property Type_: WdProofreadingErrorType readonly dispid 2;
  17951.     function Item(Index: Integer): Range; dispid 0;
  17952.   end;
  17953.  
  17954. // *********************************************************************//
  17955. // Interface: Mailer
  17956. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17957. // GUID:      {000209BD-0000-0000-C000-000000000046}
  17958. // *********************************************************************//
  17959.   Mailer = interface(IDispatch)
  17960.     ['{000209BD-0000-0000-C000-000000000046}']
  17961.     function Get_Application_: Application_; safecall;
  17962.     function Get_Creator: Integer; safecall;
  17963.     function Get_Parent: IDispatch; safecall;
  17964.     function Get_BCCRecipients: OleVariant; safecall;
  17965.     procedure Set_BCCRecipients(var prop: OleVariant); safecall;
  17966.     function Get_CCRecipients: OleVariant; safecall;
  17967.     procedure Set_CCRecipients(var prop: OleVariant); safecall;
  17968.     function Get_Recipients: OleVariant; safecall;
  17969.     procedure Set_Recipients(var prop: OleVariant); safecall;
  17970.     function Get_Enclosures: OleVariant; safecall;
  17971.     procedure Set_Enclosures(var prop: OleVariant); safecall;
  17972.     function Get_Sender: WideString; safecall;
  17973.     function Get_SendDateTime: TDateTime; safecall;
  17974.     function Get_Received: WordBool; safecall;
  17975.     function Get_Subject: WideString; safecall;
  17976.     procedure Set_Subject(const prop: WideString); safecall;
  17977.     property Application_: Application_ read Get_Application_;
  17978.     property Creator: Integer read Get_Creator;
  17979.     property Parent: IDispatch read Get_Parent;
  17980.     property Sender: WideString read Get_Sender;
  17981.     property SendDateTime: TDateTime read Get_SendDateTime;
  17982.     property Received: WordBool read Get_Received;
  17983.     property Subject: WideString read Get_Subject write Set_Subject;
  17984.   end;
  17985.  
  17986. // *********************************************************************//
  17987. // DispIntf:  MailerDisp
  17988. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  17989. // GUID:      {000209BD-0000-0000-C000-000000000046}
  17990. // *********************************************************************//
  17991.   MailerDisp = dispinterface
  17992.     ['{000209BD-0000-0000-C000-000000000046}']
  17993.     property Application_: Application_ readonly dispid 1000;
  17994.     property Creator: Integer readonly dispid 1001;
  17995.     property Parent: IDispatch readonly dispid 1002;
  17996.     function BCCRecipients: OleVariant; dispid 100;
  17997.     function CCRecipients: OleVariant; dispid 101;
  17998.     function Recipients: OleVariant; dispid 102;
  17999.     function Enclosures: OleVariant; dispid 103;
  18000.     property Sender: WideString readonly dispid 104;
  18001.     property SendDateTime: TDateTime readonly dispid 105;
  18002.     property Received: WordBool readonly dispid 106;
  18003.     property Subject: WideString dispid 107;
  18004.   end;
  18005.  
  18006. // *********************************************************************//
  18007. // Interface: WrapFormat
  18008. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18009. // GUID:      {000209C3-0000-0000-C000-000000000046}
  18010. // *********************************************************************//
  18011.   WrapFormat = interface(IDispatch)
  18012.     ['{000209C3-0000-0000-C000-000000000046}']
  18013.     function Get_Application_: Application_; safecall;
  18014.     function Get_Creator: Integer; safecall;
  18015.     function Get_Parent: IDispatch; safecall;
  18016.     function Get_Type_: WdWrapType; safecall;
  18017.     procedure Set_Type_(prop: WdWrapType); safecall;
  18018.     function Get_Side: WdWrapSideType; safecall;
  18019.     procedure Set_Side(prop: WdWrapSideType); safecall;
  18020.     function Get_DistanceTop: Single; safecall;
  18021.     procedure Set_DistanceTop(prop: Single); safecall;
  18022.     function Get_DistanceBottom: Single; safecall;
  18023.     procedure Set_DistanceBottom(prop: Single); safecall;
  18024.     function Get_DistanceLeft: Single; safecall;
  18025.     procedure Set_DistanceLeft(prop: Single); safecall;
  18026.     function Get_DistanceRight: Single; safecall;
  18027.     procedure Set_DistanceRight(prop: Single); safecall;
  18028.     function Get_AllowOverlap: Integer; safecall;
  18029.     procedure Set_AllowOverlap(prop: Integer); safecall;
  18030.     property Application_: Application_ read Get_Application_;
  18031.     property Creator: Integer read Get_Creator;
  18032.     property Parent: IDispatch read Get_Parent;
  18033.     property Type_: WdWrapType read Get_Type_ write Set_Type_;
  18034.     property Side: WdWrapSideType read Get_Side write Set_Side;
  18035.     property DistanceTop: Single read Get_DistanceTop write Set_DistanceTop;
  18036.     property DistanceBottom: Single read Get_DistanceBottom write Set_DistanceBottom;
  18037.     property DistanceLeft: Single read Get_DistanceLeft write Set_DistanceLeft;
  18038.     property DistanceRight: Single read Get_DistanceRight write Set_DistanceRight;
  18039.     property AllowOverlap: Integer read Get_AllowOverlap write Set_AllowOverlap;
  18040.   end;
  18041.  
  18042. // *********************************************************************//
  18043. // DispIntf:  WrapFormatDisp
  18044. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18045. // GUID:      {000209C3-0000-0000-C000-000000000046}
  18046. // *********************************************************************//
  18047.   WrapFormatDisp = dispinterface
  18048.     ['{000209C3-0000-0000-C000-000000000046}']
  18049.     property Application_: Application_ readonly dispid 1000;
  18050.     property Creator: Integer readonly dispid 1001;
  18051.     property Parent: IDispatch readonly dispid 1002;
  18052.     property Type_: WdWrapType dispid 100;
  18053.     property Side: WdWrapSideType dispid 101;
  18054.     property DistanceTop: Single dispid 102;
  18055.     property DistanceBottom: Single dispid 103;
  18056.     property DistanceLeft: Single dispid 104;
  18057.     property DistanceRight: Single dispid 105;
  18058.     property AllowOverlap: Integer dispid 106;
  18059.   end;
  18060.  
  18061. // *********************************************************************//
  18062. // Interface: HangulAndAlphabetExceptions
  18063. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18064. // GUID:      {000209D1-0000-0000-C000-000000000046}
  18065. // *********************************************************************//
  18066.   HangulAndAlphabetExceptions = interface(IDispatch)
  18067.     ['{000209D1-0000-0000-C000-000000000046}']
  18068.     function Get_Application_: Application_; safecall;
  18069.     function Get_Creator: Integer; safecall;
  18070.     function Get_Parent: IDispatch; safecall;
  18071.     function Get__NewEnum: IUnknown; safecall;
  18072.     function Get_Count: Integer; safecall;
  18073.     function Item(var Index: OleVariant): HangulAndAlphabetException; safecall;
  18074.     function Add(const Name: WideString): HangulAndAlphabetException; safecall;
  18075.     property Application_: Application_ read Get_Application_;
  18076.     property Creator: Integer read Get_Creator;
  18077.     property Parent: IDispatch read Get_Parent;
  18078.     property _NewEnum: IUnknown read Get__NewEnum;
  18079.     property Count: Integer read Get_Count;
  18080.   end;
  18081.  
  18082. // *********************************************************************//
  18083. // DispIntf:  HangulAndAlphabetExceptionsDisp
  18084. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18085. // GUID:      {000209D1-0000-0000-C000-000000000046}
  18086. // *********************************************************************//
  18087.   HangulAndAlphabetExceptionsDisp = dispinterface
  18088.     ['{000209D1-0000-0000-C000-000000000046}']
  18089.     property Application_: Application_ readonly dispid 1000;
  18090.     property Creator: Integer readonly dispid 1001;
  18091.     property Parent: IDispatch readonly dispid 1002;
  18092.     property _NewEnum: IUnknown readonly dispid -4;
  18093.     property Count: Integer readonly dispid 1;
  18094.     function Item(var Index: OleVariant): HangulAndAlphabetException; dispid 0;
  18095.     function Add(const Name: WideString): HangulAndAlphabetException; dispid 101;
  18096.   end;
  18097.  
  18098. // *********************************************************************//
  18099. // Interface: HangulAndAlphabetException
  18100. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18101. // GUID:      {000209D2-0000-0000-C000-000000000046}
  18102. // *********************************************************************//
  18103.   HangulAndAlphabetException = interface(IDispatch)
  18104.     ['{000209D2-0000-0000-C000-000000000046}']
  18105.     function Get_Application_: Application_; safecall;
  18106.     function Get_Creator: Integer; safecall;
  18107.     function Get_Parent: IDispatch; safecall;
  18108.     function Get_Index: Integer; safecall;
  18109.     function Get_Name: WideString; safecall;
  18110.     procedure Delete; safecall;
  18111.     property Application_: Application_ read Get_Application_;
  18112.     property Creator: Integer read Get_Creator;
  18113.     property Parent: IDispatch read Get_Parent;
  18114.     property Index: Integer read Get_Index;
  18115.     property Name: WideString read Get_Name;
  18116.   end;
  18117.  
  18118. // *********************************************************************//
  18119. // DispIntf:  HangulAndAlphabetExceptionDisp
  18120. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18121. // GUID:      {000209D2-0000-0000-C000-000000000046}
  18122. // *********************************************************************//
  18123.   HangulAndAlphabetExceptionDisp = dispinterface
  18124.     ['{000209D2-0000-0000-C000-000000000046}']
  18125.     property Application_: Application_ readonly dispid 1000;
  18126.     property Creator: Integer readonly dispid 1001;
  18127.     property Parent: IDispatch readonly dispid 1002;
  18128.     property Index: Integer readonly dispid 1;
  18129.     property Name: WideString readonly dispid 2;
  18130.     procedure Delete; dispid 101;
  18131.   end;
  18132.  
  18133. // *********************************************************************//
  18134. // Interface: Adjustments
  18135. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18136. // GUID:      {000209C4-0000-0000-C000-000000000046}
  18137. // *********************************************************************//
  18138.   Adjustments = interface(IDispatch)
  18139.     ['{000209C4-0000-0000-C000-000000000046}']
  18140.     function Get_Application_: Application_; safecall;
  18141.     function Get_Creator: Integer; safecall;
  18142.     function Get_Parent: IDispatch; safecall;
  18143.     function Get_Count: Integer; safecall;
  18144.     function Get_Item(Index: Integer): Single; safecall;
  18145.     procedure Set_Item(Index: Integer; prop: Single); safecall;
  18146.     property Application_: Application_ read Get_Application_;
  18147.     property Creator: Integer read Get_Creator;
  18148.     property Parent: IDispatch read Get_Parent;
  18149.     property Count: Integer read Get_Count;
  18150.     property Item[Index: Integer]: Single read Get_Item write Set_Item; default;
  18151.   end;
  18152.  
  18153. // *********************************************************************//
  18154. // DispIntf:  AdjustmentsDisp
  18155. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18156. // GUID:      {000209C4-0000-0000-C000-000000000046}
  18157. // *********************************************************************//
  18158.   AdjustmentsDisp = dispinterface
  18159.     ['{000209C4-0000-0000-C000-000000000046}']
  18160.     property Application_: Application_ readonly dispid 1000;
  18161.     property Creator: Integer readonly dispid 1001;
  18162.     property Parent: IDispatch readonly dispid 1;
  18163.     property Count: Integer readonly dispid 2;
  18164.     property Item[Index: Integer]: Single dispid 0; default;
  18165.   end;
  18166.  
  18167. // *********************************************************************//
  18168. // Interface: CalloutFormat
  18169. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18170. // GUID:      {000209C5-0000-0000-C000-000000000046}
  18171. // *********************************************************************//
  18172.   CalloutFormat = interface(IDispatch)
  18173.     ['{000209C5-0000-0000-C000-000000000046}']
  18174.     function Get_Application_: Application_; safecall;
  18175.     function Get_Creator: Integer; safecall;
  18176.     function Get_Parent: IDispatch; safecall;
  18177.     function Get_Accent: MsoTriState; safecall;
  18178.     procedure Set_Accent(prop: MsoTriState); safecall;
  18179.     function Get_Angle: MsoCalloutAngleType; safecall;
  18180.     procedure Set_Angle(prop: MsoCalloutAngleType); safecall;
  18181.     function Get_AutoAttach: MsoTriState; safecall;
  18182.     procedure Set_AutoAttach(prop: MsoTriState); safecall;
  18183.     function Get_AutoLength: MsoTriState; safecall;
  18184.     function Get_Border: MsoTriState; safecall;
  18185.     procedure Set_Border(prop: MsoTriState); safecall;
  18186.     function Get_Drop: Single; safecall;
  18187.     function Get_DropType: MsoCalloutDropType; safecall;
  18188.     function Get_Gap: Single; safecall;
  18189.     procedure Set_Gap(prop: Single); safecall;
  18190.     function Get_Length: Single; safecall;
  18191.     function Get_Type_: MsoCalloutType; safecall;
  18192.     procedure Set_Type_(prop: MsoCalloutType); safecall;
  18193.     procedure AutomaticLength; safecall;
  18194.     procedure CustomDrop(Drop: Single); safecall;
  18195.     procedure CustomLength(Length: Single); safecall;
  18196.     procedure PresetDrop(DropType: MsoCalloutDropType); safecall;
  18197.     property Application_: Application_ read Get_Application_;
  18198.     property Creator: Integer read Get_Creator;
  18199.     property Parent: IDispatch read Get_Parent;
  18200.     property Accent: MsoTriState read Get_Accent write Set_Accent;
  18201.     property Angle: MsoCalloutAngleType read Get_Angle write Set_Angle;
  18202.     property AutoAttach: MsoTriState read Get_AutoAttach write Set_AutoAttach;
  18203.     property AutoLength: MsoTriState read Get_AutoLength;
  18204.     property Border: MsoTriState read Get_Border write Set_Border;
  18205.     property Drop: Single read Get_Drop;
  18206.     property DropType: MsoCalloutDropType read Get_DropType;
  18207.     property Gap: Single read Get_Gap write Set_Gap;
  18208.     property Length: Single read Get_Length;
  18209.     property Type_: MsoCalloutType read Get_Type_ write Set_Type_;
  18210.   end;
  18211.  
  18212. // *********************************************************************//
  18213. // DispIntf:  CalloutFormatDisp
  18214. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18215. // GUID:      {000209C5-0000-0000-C000-000000000046}
  18216. // *********************************************************************//
  18217.   CalloutFormatDisp = dispinterface
  18218.     ['{000209C5-0000-0000-C000-000000000046}']
  18219.     property Application_: Application_ readonly dispid 1000;
  18220.     property Creator: Integer readonly dispid 1001;
  18221.     property Parent: IDispatch readonly dispid 1;
  18222.     property Accent: MsoTriState dispid 100;
  18223.     property Angle: MsoCalloutAngleType dispid 101;
  18224.     property AutoAttach: MsoTriState dispid 102;
  18225.     property AutoLength: MsoTriState readonly dispid 103;
  18226.     property Border: MsoTriState dispid 104;
  18227.     property Drop: Single readonly dispid 105;
  18228.     property DropType: MsoCalloutDropType readonly dispid 106;
  18229.     property Gap: Single dispid 107;
  18230.     property Length: Single readonly dispid 108;
  18231.     property Type_: MsoCalloutType dispid 109;
  18232.     procedure AutomaticLength; dispid 10;
  18233.     procedure CustomDrop(Drop: Single); dispid 11;
  18234.     procedure CustomLength(Length: Single); dispid 12;
  18235.     procedure PresetDrop(DropType: MsoCalloutDropType); dispid 13;
  18236.   end;
  18237.  
  18238. // *********************************************************************//
  18239. // Interface: ColorFormat
  18240. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18241. // GUID:      {000209C6-0000-0000-C000-000000000046}
  18242. // *********************************************************************//
  18243.   ColorFormat = interface(IDispatch)
  18244.     ['{000209C6-0000-0000-C000-000000000046}']
  18245.     function Get_Application_: Application_; safecall;
  18246.     function Get_Creator: Integer; safecall;
  18247.     function Get_Parent: IDispatch; safecall;
  18248.     function Get_RGB_: Integer; safecall;
  18249.     procedure Set_RGB_(prop: Integer); safecall;
  18250.     function Get_SchemeColor: Integer; safecall;
  18251.     procedure Set_SchemeColor(prop: Integer); safecall;
  18252.     function Get_Type_: MsoColorType; safecall;
  18253.     property Application_: Application_ read Get_Application_;
  18254.     property Creator: Integer read Get_Creator;
  18255.     property Parent: IDispatch read Get_Parent;
  18256.     property RGB_: Integer read Get_RGB_ write Set_RGB_;
  18257.     property SchemeColor: Integer read Get_SchemeColor write Set_SchemeColor;
  18258.     property Type_: MsoColorType read Get_Type_;
  18259.   end;
  18260.  
  18261. // *********************************************************************//
  18262. // DispIntf:  ColorFormatDisp
  18263. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18264. // GUID:      {000209C6-0000-0000-C000-000000000046}
  18265. // *********************************************************************//
  18266.   ColorFormatDisp = dispinterface
  18267.     ['{000209C6-0000-0000-C000-000000000046}']
  18268.     property Application_: Application_ readonly dispid 1000;
  18269.     property Creator: Integer readonly dispid 1001;
  18270.     property Parent: IDispatch readonly dispid 1;
  18271.     property RGB_: Integer dispid 0;
  18272.     property SchemeColor: Integer dispid 100;
  18273.     property Type_: MsoColorType readonly dispid 101;
  18274.   end;
  18275.  
  18276. // *********************************************************************//
  18277. // Interface: ConnectorFormat
  18278. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  18279. // GUID:      {000209C7-0000-0000-C000-000000000046}
  18280. // *********************************************************************//
  18281.   ConnectorFormat = interface(IDispatch)
  18282.     ['{000209C7-0000-0000-C000-000000000046}']
  18283.     function Get_Application_: Application_; safecall;
  18284.     function Get_Creator: Integer; safecall;
  18285.     function Get_BeginConnected: MsoTriState; safecall;
  18286.     function Get_BeginConnectedShape: Shape; safecall;
  18287.     function Get_BeginConnectionSite: Integer; safecall;
  18288.     function Get_EndConnected: MsoTriState; safecall;
  18289.     function Get_EndConnectedShape: Shape; safecall;
  18290.     function Get_EndConnectionSite: Integer; safecall;
  18291.     function Get_Parent: IDispatch; safecall;
  18292.     function Get_Type_: MsoConnectorType; safecall;
  18293.     procedure Set_Type_(prop: MsoConnectorType); safecall;
  18294.     procedure BeginConnect(out ConnectedShape: Shape; ConnectionSite: Integer); safecall;
  18295.     procedure BeginDisconnect; safecall;
  18296.     procedure EndConnect(out ConnectedShape: Shape; ConnectionSite: Integer); safecall;
  18297.     procedure EndDisconnect; safecall;
  18298.     property Application_: Application_ read Get_Application_;
  18299.     property Creator: Integer read Get_Creator;
  18300.     property BeginConnected: MsoTriState read Get_BeginConnected;
  18301.     property BeginConnectedShape: Shape read Get_BeginConnectedShape;
  18302.     property BeginConnectionSite: Integer read Get_BeginConnectionSite;
  18303.     property EndConnected: MsoTriState read Get_EndConnected;
  18304.     property EndConnectedShape: Shape read Get_EndConnectedShape;
  18305.     property EndConnectionSite: Integer read Get_EndConnectionSite;
  18306.     property Parent: IDispatch read Get_Parent;
  18307.     property Type_: MsoConnectorType read Get_Type_ write Set_Type_;
  18308.   end;
  18309.  
  18310. // *********************************************************************//
  18311. // DispIntf:  ConnectorFormatDisp
  18312. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  18313. // GUID:      {000209C7-0000-0000-C000-000000000046}
  18314. // *********************************************************************//
  18315.   ConnectorFormatDisp = dispinterface
  18316.     ['{000209C7-0000-0000-C000-000000000046}']
  18317.     property Application_: Application_ readonly dispid 1000;
  18318.     property Creator: Integer readonly dispid 1001;
  18319.     property BeginConnected: MsoTriState readonly dispid 100;
  18320.     property BeginConnectedShape: Shape readonly dispid 101;
  18321.     property BeginConnectionSite: Integer readonly dispid 102;
  18322.     property EndConnected: MsoTriState readonly dispid 103;
  18323.     property EndConnectedShape: Shape readonly dispid 104;
  18324.     property EndConnectionSite: Integer readonly dispid 105;
  18325.     property Parent: IDispatch readonly dispid 1;
  18326.     property Type_: MsoConnectorType dispid 106;
  18327.     procedure BeginConnect(out ConnectedShape: Shape; ConnectionSite: Integer); dispid 10;
  18328.     procedure BeginDisconnect; dispid 11;
  18329.     procedure EndConnect(out ConnectedShape: Shape; ConnectionSite: Integer); dispid 12;
  18330.     procedure EndDisconnect; dispid 13;
  18331.   end;
  18332.  
  18333. // *********************************************************************//
  18334. // Interface: FillFormat
  18335. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18336. // GUID:      {000209C8-0000-0000-C000-000000000046}
  18337. // *********************************************************************//
  18338.   FillFormat = interface(IDispatch)
  18339.     ['{000209C8-0000-0000-C000-000000000046}']
  18340.     function Get_Application_: Application_; safecall;
  18341.     function Get_Creator: Integer; safecall;
  18342.     function Get_Parent: IDispatch; safecall;
  18343.     function Get_BackColor: ColorFormat; safecall;
  18344.     function Get_ForeColor: ColorFormat; safecall;
  18345.     function Get_GradientColorType: MsoGradientColorType; safecall;
  18346.     function Get_GradientDegree: Single; safecall;
  18347.     function Get_GradientStyle: MsoGradientStyle; safecall;
  18348.     function Get_GradientVariant: Integer; safecall;
  18349.     function Get_Pattern: MsoPatternType; safecall;
  18350.     function Get_PresetGradientType: MsoPresetGradientType; safecall;
  18351.     function Get_PresetTexture: MsoPresetTexture; safecall;
  18352.     function Get_TextureName: WideString; safecall;
  18353.     function Get_TextureType: MsoTextureType; safecall;
  18354.     function Get_Transparency: Single; safecall;
  18355.     procedure Set_Transparency(prop: Single); safecall;
  18356.     function Get_Type_: MsoFillType; safecall;
  18357.     function Get_Visible: MsoTriState; safecall;
  18358.     procedure Set_Visible(prop: MsoTriState); safecall;
  18359.     procedure Background; safecall;
  18360.     procedure OneColorGradient(Style: MsoGradientStyle; Variant: Integer; Degree: Single); safecall;
  18361.     procedure Patterned(Pattern: MsoPatternType); safecall;
  18362.     procedure PresetGradient(Style: MsoGradientStyle; Variant: Integer; 
  18363.                              PresetGradientType: MsoPresetGradientType); safecall;
  18364.     procedure PresetTextured(PresetTexture: MsoPresetTexture); safecall;
  18365.     procedure Solid; safecall;
  18366.     procedure TwoColorGradient(Style: MsoGradientStyle; Variant: Integer); safecall;
  18367.     procedure UserPicture(const PictureFile: WideString); safecall;
  18368.     procedure UserTextured(const TextureFile: WideString); safecall;
  18369.     property Application_: Application_ read Get_Application_;
  18370.     property Creator: Integer read Get_Creator;
  18371.     property Parent: IDispatch read Get_Parent;
  18372.     property BackColor: ColorFormat read Get_BackColor;
  18373.     property ForeColor: ColorFormat read Get_ForeColor;
  18374.     property GradientColorType: MsoGradientColorType read Get_GradientColorType;
  18375.     property GradientDegree: Single read Get_GradientDegree;
  18376.     property GradientStyle: MsoGradientStyle read Get_GradientStyle;
  18377.     property GradientVariant: Integer read Get_GradientVariant;
  18378.     property Pattern: MsoPatternType read Get_Pattern;
  18379.     property PresetGradientType: MsoPresetGradientType read Get_PresetGradientType;
  18380.     property PresetTexture: MsoPresetTexture read Get_PresetTexture;
  18381.     property TextureName: WideString read Get_TextureName;
  18382.     property TextureType: MsoTextureType read Get_TextureType;
  18383.     property Transparency: Single read Get_Transparency write Set_Transparency;
  18384.     property Type_: MsoFillType read Get_Type_;
  18385.     property Visible: MsoTriState read Get_Visible write Set_Visible;
  18386.   end;
  18387.  
  18388. // *********************************************************************//
  18389. // DispIntf:  FillFormatDisp
  18390. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18391. // GUID:      {000209C8-0000-0000-C000-000000000046}
  18392. // *********************************************************************//
  18393.   FillFormatDisp = dispinterface
  18394.     ['{000209C8-0000-0000-C000-000000000046}']
  18395.     property Application_: Application_ readonly dispid 1000;
  18396.     property Creator: Integer readonly dispid 1001;
  18397.     property Parent: IDispatch readonly dispid 1;
  18398.     property BackColor: ColorFormat readonly dispid 100;
  18399.     property ForeColor: ColorFormat readonly dispid 101;
  18400.     property GradientColorType: MsoGradientColorType readonly dispid 102;
  18401.     property GradientDegree: Single readonly dispid 103;
  18402.     property GradientStyle: MsoGradientStyle readonly dispid 104;
  18403.     property GradientVariant: Integer readonly dispid 105;
  18404.     property Pattern: MsoPatternType readonly dispid 106;
  18405.     property PresetGradientType: MsoPresetGradientType readonly dispid 107;
  18406.     property PresetTexture: MsoPresetTexture readonly dispid 108;
  18407.     property TextureName: WideString readonly dispid 109;
  18408.     property TextureType: MsoTextureType readonly dispid 110;
  18409.     property Transparency: Single dispid 111;
  18410.     property Type_: MsoFillType readonly dispid 112;
  18411.     property Visible: MsoTriState dispid 113;
  18412.     procedure Background; dispid 10;
  18413.     procedure OneColorGradient(Style: MsoGradientStyle; Variant: Integer; Degree: Single); dispid 11;
  18414.     procedure Patterned(Pattern: MsoPatternType); dispid 12;
  18415.     procedure PresetGradient(Style: MsoGradientStyle; Variant: Integer; 
  18416.                              PresetGradientType: MsoPresetGradientType); dispid 13;
  18417.     procedure PresetTextured(PresetTexture: MsoPresetTexture); dispid 14;
  18418.     procedure Solid; dispid 15;
  18419.     procedure TwoColorGradient(Style: MsoGradientStyle; Variant: Integer); dispid 16;
  18420.     procedure UserPicture(const PictureFile: WideString); dispid 17;
  18421.     procedure UserTextured(const TextureFile: WideString); dispid 18;
  18422.   end;
  18423.  
  18424. // *********************************************************************//
  18425. // Interface: FreeformBuilder
  18426. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18427. // GUID:      {000209C9-0000-0000-C000-000000000046}
  18428. // *********************************************************************//
  18429.   FreeformBuilder = interface(IDispatch)
  18430.     ['{000209C9-0000-0000-C000-000000000046}']
  18431.     function Get_Application_: Application_; safecall;
  18432.     function Get_Creator: Integer; safecall;
  18433.     function Get_Parent: IDispatch; safecall;
  18434.     procedure AddNodes(SegmentType: MsoSegmentType; EditingType: MsoEditingType; X1: Single; 
  18435.                        Y1: Single; X2: Single; Y2: Single; X3: Single; Y3: Single); safecall;
  18436.     function ConvertToShape(var Anchor: OleVariant): Shape; safecall;
  18437.     property Application_: Application_ read Get_Application_;
  18438.     property Creator: Integer read Get_Creator;
  18439.     property Parent: IDispatch read Get_Parent;
  18440.   end;
  18441.  
  18442. // *********************************************************************//
  18443. // DispIntf:  FreeformBuilderDisp
  18444. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18445. // GUID:      {000209C9-0000-0000-C000-000000000046}
  18446. // *********************************************************************//
  18447.   FreeformBuilderDisp = dispinterface
  18448.     ['{000209C9-0000-0000-C000-000000000046}']
  18449.     property Application_: Application_ readonly dispid 1000;
  18450.     property Creator: Integer readonly dispid 1001;
  18451.     property Parent: IDispatch readonly dispid 1;
  18452.     procedure AddNodes(SegmentType: MsoSegmentType; EditingType: MsoEditingType; X1: Single; 
  18453.                        Y1: Single; X2: Single; Y2: Single; X3: Single; Y3: Single); dispid 10;
  18454.     function ConvertToShape(var Anchor: OleVariant): Shape; dispid 11;
  18455.   end;
  18456.  
  18457. // *********************************************************************//
  18458. // Interface: LineFormat
  18459. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18460. // GUID:      {000209CA-0000-0000-C000-000000000046}
  18461. // *********************************************************************//
  18462.   LineFormat = interface(IDispatch)
  18463.     ['{000209CA-0000-0000-C000-000000000046}']
  18464.     function Get_Application_: Application_; safecall;
  18465.     function Get_Creator: Integer; safecall;
  18466.     function Get_Parent: IDispatch; safecall;
  18467.     function Get_BackColor: ColorFormat; safecall;
  18468.     function Get_BeginArrowheadLength: MsoArrowheadLength; safecall;
  18469.     procedure Set_BeginArrowheadLength(prop: MsoArrowheadLength); safecall;
  18470.     function Get_BeginArrowheadStyle: MsoArrowheadStyle; safecall;
  18471.     procedure Set_BeginArrowheadStyle(prop: MsoArrowheadStyle); safecall;
  18472.     function Get_BeginArrowheadWidth: MsoArrowheadWidth; safecall;
  18473.     procedure Set_BeginArrowheadWidth(prop: MsoArrowheadWidth); safecall;
  18474.     function Get_DashStyle: MsoLineDashStyle; safecall;
  18475.     procedure Set_DashStyle(prop: MsoLineDashStyle); safecall;
  18476.     function Get_EndArrowheadLength: MsoArrowheadLength; safecall;
  18477.     procedure Set_EndArrowheadLength(prop: MsoArrowheadLength); safecall;
  18478.     function Get_EndArrowheadStyle: MsoArrowheadStyle; safecall;
  18479.     procedure Set_EndArrowheadStyle(prop: MsoArrowheadStyle); safecall;
  18480.     function Get_EndArrowheadWidth: MsoArrowheadWidth; safecall;
  18481.     procedure Set_EndArrowheadWidth(prop: MsoArrowheadWidth); safecall;
  18482.     function Get_ForeColor: ColorFormat; safecall;
  18483.     function Get_Pattern: MsoPatternType; safecall;
  18484.     procedure Set_Pattern(prop: MsoPatternType); safecall;
  18485.     function Get_Style: MsoLineStyle; safecall;
  18486.     procedure Set_Style(prop: MsoLineStyle); safecall;
  18487.     function Get_Transparency: Single; safecall;
  18488.     procedure Set_Transparency(prop: Single); safecall;
  18489.     function Get_Visible: MsoTriState; safecall;
  18490.     procedure Set_Visible(prop: MsoTriState); safecall;
  18491.     function Get_Weight: Single; safecall;
  18492.     procedure Set_Weight(prop: Single); safecall;
  18493.     property Application_: Application_ read Get_Application_;
  18494.     property Creator: Integer read Get_Creator;
  18495.     property Parent: IDispatch read Get_Parent;
  18496.     property BackColor: ColorFormat read Get_BackColor;
  18497.     property BeginArrowheadLength: MsoArrowheadLength read Get_BeginArrowheadLength write Set_BeginArrowheadLength;
  18498.     property BeginArrowheadStyle: MsoArrowheadStyle read Get_BeginArrowheadStyle write Set_BeginArrowheadStyle;
  18499.     property BeginArrowheadWidth: MsoArrowheadWidth read Get_BeginArrowheadWidth write Set_BeginArrowheadWidth;
  18500.     property DashStyle: MsoLineDashStyle read Get_DashStyle write Set_DashStyle;
  18501.     property EndArrowheadLength: MsoArrowheadLength read Get_EndArrowheadLength write Set_EndArrowheadLength;
  18502.     property EndArrowheadStyle: MsoArrowheadStyle read Get_EndArrowheadStyle write Set_EndArrowheadStyle;
  18503.     property EndArrowheadWidth: MsoArrowheadWidth read Get_EndArrowheadWidth write Set_EndArrowheadWidth;
  18504.     property ForeColor: ColorFormat read Get_ForeColor;
  18505.     property Pattern: MsoPatternType read Get_Pattern write Set_Pattern;
  18506.     property Style: MsoLineStyle read Get_Style write Set_Style;
  18507.     property Transparency: Single read Get_Transparency write Set_Transparency;
  18508.     property Visible: MsoTriState read Get_Visible write Set_Visible;
  18509.     property Weight: Single read Get_Weight write Set_Weight;
  18510.   end;
  18511.  
  18512. // *********************************************************************//
  18513. // DispIntf:  LineFormatDisp
  18514. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18515. // GUID:      {000209CA-0000-0000-C000-000000000046}
  18516. // *********************************************************************//
  18517.   LineFormatDisp = dispinterface
  18518.     ['{000209CA-0000-0000-C000-000000000046}']
  18519.     property Application_: Application_ readonly dispid 1000;
  18520.     property Creator: Integer readonly dispid 1001;
  18521.     property Parent: IDispatch readonly dispid 1;
  18522.     property BackColor: ColorFormat readonly dispid 100;
  18523.     property BeginArrowheadLength: MsoArrowheadLength dispid 101;
  18524.     property BeginArrowheadStyle: MsoArrowheadStyle dispid 102;
  18525.     property BeginArrowheadWidth: MsoArrowheadWidth dispid 103;
  18526.     property DashStyle: MsoLineDashStyle dispid 104;
  18527.     property EndArrowheadLength: MsoArrowheadLength dispid 105;
  18528.     property EndArrowheadStyle: MsoArrowheadStyle dispid 106;
  18529.     property EndArrowheadWidth: MsoArrowheadWidth dispid 107;
  18530.     property ForeColor: ColorFormat readonly dispid 108;
  18531.     property Pattern: MsoPatternType dispid 109;
  18532.     property Style: MsoLineStyle dispid 110;
  18533.     property Transparency: Single dispid 111;
  18534.     property Visible: MsoTriState dispid 112;
  18535.     property Weight: Single dispid 113;
  18536.   end;
  18537.  
  18538. // *********************************************************************//
  18539. // Interface: PictureFormat
  18540. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18541. // GUID:      {000209CB-0000-0000-C000-000000000046}
  18542. // *********************************************************************//
  18543.   PictureFormat = interface(IDispatch)
  18544.     ['{000209CB-0000-0000-C000-000000000046}']
  18545.     function Get_Application_: Application_; safecall;
  18546.     function Get_Creator: Integer; safecall;
  18547.     function Get_Parent: IDispatch; safecall;
  18548.     function Get_Brightness: Single; safecall;
  18549.     procedure Set_Brightness(prop: Single); safecall;
  18550.     function Get_ColorType: MsoPictureColorType; safecall;
  18551.     procedure Set_ColorType(prop: MsoPictureColorType); safecall;
  18552.     function Get_Contrast: Single; safecall;
  18553.     procedure Set_Contrast(prop: Single); safecall;
  18554.     function Get_CropBottom: Single; safecall;
  18555.     procedure Set_CropBottom(prop: Single); safecall;
  18556.     function Get_CropLeft: Single; safecall;
  18557.     procedure Set_CropLeft(prop: Single); safecall;
  18558.     function Get_CropRight: Single; safecall;
  18559.     procedure Set_CropRight(prop: Single); safecall;
  18560.     function Get_CropTop: Single; safecall;
  18561.     procedure Set_CropTop(prop: Single); safecall;
  18562.     function Get_TransparencyColor: Integer; safecall;
  18563.     procedure Set_TransparencyColor(prop: Integer); safecall;
  18564.     function Get_TransparentBackground: MsoTriState; safecall;
  18565.     procedure Set_TransparentBackground(prop: MsoTriState); safecall;
  18566.     procedure IncrementBrightness(Increment: Single); safecall;
  18567.     procedure IncrementContrast(Increment: Single); safecall;
  18568.     property Application_: Application_ read Get_Application_;
  18569.     property Creator: Integer read Get_Creator;
  18570.     property Parent: IDispatch read Get_Parent;
  18571.     property Brightness: Single read Get_Brightness write Set_Brightness;
  18572.     property ColorType: MsoPictureColorType read Get_ColorType write Set_ColorType;
  18573.     property Contrast: Single read Get_Contrast write Set_Contrast;
  18574.     property CropBottom: Single read Get_CropBottom write Set_CropBottom;
  18575.     property CropLeft: Single read Get_CropLeft write Set_CropLeft;
  18576.     property CropRight: Single read Get_CropRight write Set_CropRight;
  18577.     property CropTop: Single read Get_CropTop write Set_CropTop;
  18578.     property TransparencyColor: Integer read Get_TransparencyColor write Set_TransparencyColor;
  18579.     property TransparentBackground: MsoTriState read Get_TransparentBackground write Set_TransparentBackground;
  18580.   end;
  18581.  
  18582. // *********************************************************************//
  18583. // DispIntf:  PictureFormatDisp
  18584. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18585. // GUID:      {000209CB-0000-0000-C000-000000000046}
  18586. // *********************************************************************//
  18587.   PictureFormatDisp = dispinterface
  18588.     ['{000209CB-0000-0000-C000-000000000046}']
  18589.     property Application_: Application_ readonly dispid 1000;
  18590.     property Creator: Integer readonly dispid 1001;
  18591.     property Parent: IDispatch readonly dispid 1;
  18592.     property Brightness: Single dispid 100;
  18593.     property ColorType: MsoPictureColorType dispid 101;
  18594.     property Contrast: Single dispid 102;
  18595.     property CropBottom: Single dispid 103;
  18596.     property CropLeft: Single dispid 104;
  18597.     property CropRight: Single dispid 105;
  18598.     property CropTop: Single dispid 106;
  18599.     property TransparencyColor: Integer dispid 107;
  18600.     property TransparentBackground: MsoTriState dispid 108;
  18601.     procedure IncrementBrightness(Increment: Single); dispid 10;
  18602.     procedure IncrementContrast(Increment: Single); dispid 11;
  18603.   end;
  18604.  
  18605. // *********************************************************************//
  18606. // Interface: ShadowFormat
  18607. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18608. // GUID:      {000209CC-0000-0000-C000-000000000046}
  18609. // *********************************************************************//
  18610.   ShadowFormat = interface(IDispatch)
  18611.     ['{000209CC-0000-0000-C000-000000000046}']
  18612.     function Get_Application_: Application_; safecall;
  18613.     function Get_Creator: Integer; safecall;
  18614.     function Get_Parent: IDispatch; safecall;
  18615.     function Get_ForeColor: ColorFormat; safecall;
  18616.     function Get_Obscured: MsoTriState; safecall;
  18617.     procedure Set_Obscured(prop: MsoTriState); safecall;
  18618.     function Get_OffsetX: Single; safecall;
  18619.     procedure Set_OffsetX(prop: Single); safecall;
  18620.     function Get_OffsetY: Single; safecall;
  18621.     procedure Set_OffsetY(prop: Single); safecall;
  18622.     function Get_Transparency: Single; safecall;
  18623.     procedure Set_Transparency(prop: Single); safecall;
  18624.     function Get_Type_: MsoShadowType; safecall;
  18625.     procedure Set_Type_(prop: MsoShadowType); safecall;
  18626.     function Get_Visible: MsoTriState; safecall;
  18627.     procedure Set_Visible(prop: MsoTriState); safecall;
  18628.     procedure IncrementOffsetX(Increment: Single); safecall;
  18629.     procedure IncrementOffsetY(Increment: Single); safecall;
  18630.     property Application_: Application_ read Get_Application_;
  18631.     property Creator: Integer read Get_Creator;
  18632.     property Parent: IDispatch read Get_Parent;
  18633.     property ForeColor: ColorFormat read Get_ForeColor;
  18634.     property Obscured: MsoTriState read Get_Obscured write Set_Obscured;
  18635.     property OffsetX: Single read Get_OffsetX write Set_OffsetX;
  18636.     property OffsetY: Single read Get_OffsetY write Set_OffsetY;
  18637.     property Transparency: Single read Get_Transparency write Set_Transparency;
  18638.     property Type_: MsoShadowType read Get_Type_ write Set_Type_;
  18639.     property Visible: MsoTriState read Get_Visible write Set_Visible;
  18640.   end;
  18641.  
  18642. // *********************************************************************//
  18643. // DispIntf:  ShadowFormatDisp
  18644. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18645. // GUID:      {000209CC-0000-0000-C000-000000000046}
  18646. // *********************************************************************//
  18647.   ShadowFormatDisp = dispinterface
  18648.     ['{000209CC-0000-0000-C000-000000000046}']
  18649.     property Application_: Application_ readonly dispid 1000;
  18650.     property Creator: Integer readonly dispid 1001;
  18651.     property Parent: IDispatch readonly dispid 1;
  18652.     property ForeColor: ColorFormat readonly dispid 100;
  18653.     property Obscured: MsoTriState dispid 101;
  18654.     property OffsetX: Single dispid 102;
  18655.     property OffsetY: Single dispid 103;
  18656.     property Transparency: Single dispid 104;
  18657.     property Type_: MsoShadowType dispid 105;
  18658.     property Visible: MsoTriState dispid 106;
  18659.     procedure IncrementOffsetX(Increment: Single); dispid 10;
  18660.     procedure IncrementOffsetY(Increment: Single); dispid 11;
  18661.   end;
  18662.  
  18663. // *********************************************************************//
  18664. // Interface: ShapeNode
  18665. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18666. // GUID:      {000209CD-0000-0000-C000-000000000046}
  18667. // *********************************************************************//
  18668.   ShapeNode = interface(IDispatch)
  18669.     ['{000209CD-0000-0000-C000-000000000046}']
  18670.     function Get_Application_: Application_; safecall;
  18671.     function Get_Creator: Integer; safecall;
  18672.     function Get_Parent: IDispatch; safecall;
  18673.     function Get_EditingType: MsoEditingType; safecall;
  18674.     function Get_Points: OleVariant; safecall;
  18675.     function Get_SegmentType: MsoSegmentType; safecall;
  18676.     property Application_: Application_ read Get_Application_;
  18677.     property Creator: Integer read Get_Creator;
  18678.     property Parent: IDispatch read Get_Parent;
  18679.     property EditingType: MsoEditingType read Get_EditingType;
  18680.     property Points: OleVariant read Get_Points;
  18681.     property SegmentType: MsoSegmentType read Get_SegmentType;
  18682.   end;
  18683.  
  18684. // *********************************************************************//
  18685. // DispIntf:  ShapeNodeDisp
  18686. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18687. // GUID:      {000209CD-0000-0000-C000-000000000046}
  18688. // *********************************************************************//
  18689.   ShapeNodeDisp = dispinterface
  18690.     ['{000209CD-0000-0000-C000-000000000046}']
  18691.     property Application_: Application_ readonly dispid 1000;
  18692.     property Creator: Integer readonly dispid 1001;
  18693.     property Parent: IDispatch readonly dispid 1;
  18694.     property EditingType: MsoEditingType readonly dispid 100;
  18695.     property Points: OleVariant readonly dispid 101;
  18696.     property SegmentType: MsoSegmentType readonly dispid 102;
  18697.   end;
  18698.  
  18699. // *********************************************************************//
  18700. // Interface: ShapeNodes
  18701. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18702. // GUID:      {000209CE-0000-0000-C000-000000000046}
  18703. // *********************************************************************//
  18704.   ShapeNodes = interface(IDispatch)
  18705.     ['{000209CE-0000-0000-C000-000000000046}']
  18706.     function Get_Application_: Application_; safecall;
  18707.     function Get_Creator: Integer; safecall;
  18708.     function Get_Parent: IDispatch; safecall;
  18709.     function Get_Count: Integer; safecall;
  18710.     function Get__NewEnum: IUnknown; safecall;
  18711.     procedure Delete(Index: Integer); safecall;
  18712.     function Item(var Index: OleVariant): ShapeNode; safecall;
  18713.     procedure SetEditingType(Index: Integer; EditingType: MsoEditingType); safecall;
  18714.     procedure SetPosition(Index: Integer; X1: Single; Y1: Single); safecall;
  18715.     procedure SetSegmentType(Index: Integer; SegmentType: MsoSegmentType); safecall;
  18716.     procedure Insert(Index: Integer; SegmentType: MsoSegmentType; EditingType: MsoEditingType; 
  18717.                      X1: Single; Y1: Single; X2: Single; Y2: Single; X3: Single; Y3: Single); safecall;
  18718.     property Application_: Application_ read Get_Application_;
  18719.     property Creator: Integer read Get_Creator;
  18720.     property Parent: IDispatch read Get_Parent;
  18721.     property Count: Integer read Get_Count;
  18722.     property _NewEnum: IUnknown read Get__NewEnum;
  18723.   end;
  18724.  
  18725. // *********************************************************************//
  18726. // DispIntf:  ShapeNodesDisp
  18727. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18728. // GUID:      {000209CE-0000-0000-C000-000000000046}
  18729. // *********************************************************************//
  18730.   ShapeNodesDisp = dispinterface
  18731.     ['{000209CE-0000-0000-C000-000000000046}']
  18732.     property Application_: Application_ readonly dispid 1000;
  18733.     property Creator: Integer readonly dispid 1001;
  18734.     property Parent: IDispatch readonly dispid 1;
  18735.     property Count: Integer readonly dispid 2;
  18736.     property _NewEnum: IUnknown readonly dispid -4;
  18737.     procedure Delete(Index: Integer); dispid 11;
  18738.     function Item(var Index: OleVariant): ShapeNode; dispid 0;
  18739.     procedure SetEditingType(Index: Integer; EditingType: MsoEditingType); dispid 13;
  18740.     procedure SetPosition(Index: Integer; X1: Single; Y1: Single); dispid 14;
  18741.     procedure SetSegmentType(Index: Integer; SegmentType: MsoSegmentType); dispid 15;
  18742.     procedure Insert(Index: Integer; SegmentType: MsoSegmentType; EditingType: MsoEditingType; 
  18743.                      X1: Single; Y1: Single; X2: Single; Y2: Single; X3: Single; Y3: Single); dispid 12;
  18744.   end;
  18745.  
  18746. // *********************************************************************//
  18747. // Interface: TextEffectFormat
  18748. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18749. // GUID:      {000209CF-0000-0000-C000-000000000046}
  18750. // *********************************************************************//
  18751.   TextEffectFormat = interface(IDispatch)
  18752.     ['{000209CF-0000-0000-C000-000000000046}']
  18753.     function Get_Application_: Application_; safecall;
  18754.     function Get_Creator: Integer; safecall;
  18755.     function Get_Parent: IDispatch; safecall;
  18756.     function Get_Alignment: MsoTextEffectAlignment; safecall;
  18757.     procedure Set_Alignment(prop: MsoTextEffectAlignment); safecall;
  18758.     function Get_FontBold: MsoTriState; safecall;
  18759.     procedure Set_FontBold(prop: MsoTriState); safecall;
  18760.     function Get_FontItalic: MsoTriState; safecall;
  18761.     procedure Set_FontItalic(prop: MsoTriState); safecall;
  18762.     function Get_FontName: WideString; safecall;
  18763.     procedure Set_FontName(const prop: WideString); safecall;
  18764.     function Get_FontSize: Single; safecall;
  18765.     procedure Set_FontSize(prop: Single); safecall;
  18766.     function Get_KernedPairs: MsoTriState; safecall;
  18767.     procedure Set_KernedPairs(prop: MsoTriState); safecall;
  18768.     function Get_NormalizedHeight: MsoTriState; safecall;
  18769.     procedure Set_NormalizedHeight(prop: MsoTriState); safecall;
  18770.     function Get_PresetShape: MsoPresetTextEffectShape; safecall;
  18771.     procedure Set_PresetShape(prop: MsoPresetTextEffectShape); safecall;
  18772.     function Get_PresetTextEffect: MsoPresetTextEffect; safecall;
  18773.     procedure Set_PresetTextEffect(prop: MsoPresetTextEffect); safecall;
  18774.     function Get_RotatedChars: MsoTriState; safecall;
  18775.     procedure Set_RotatedChars(prop: MsoTriState); safecall;
  18776.     function Get_Text: WideString; safecall;
  18777.     procedure Set_Text(const prop: WideString); safecall;
  18778.     function Get_Tracking: Single; safecall;
  18779.     procedure Set_Tracking(prop: Single); safecall;
  18780.     procedure ToggleVerticalText; safecall;
  18781.     property Application_: Application_ read Get_Application_;
  18782.     property Creator: Integer read Get_Creator;
  18783.     property Parent: IDispatch read Get_Parent;
  18784.     property Alignment: MsoTextEffectAlignment read Get_Alignment write Set_Alignment;
  18785.     property FontBold: MsoTriState read Get_FontBold write Set_FontBold;
  18786.     property FontItalic: MsoTriState read Get_FontItalic write Set_FontItalic;
  18787.     property FontName: WideString read Get_FontName write Set_FontName;
  18788.     property FontSize: Single read Get_FontSize write Set_FontSize;
  18789.     property KernedPairs: MsoTriState read Get_KernedPairs write Set_KernedPairs;
  18790.     property NormalizedHeight: MsoTriState read Get_NormalizedHeight write Set_NormalizedHeight;
  18791.     property PresetShape: MsoPresetTextEffectShape read Get_PresetShape write Set_PresetShape;
  18792.     property PresetTextEffect: MsoPresetTextEffect read Get_PresetTextEffect write Set_PresetTextEffect;
  18793.     property RotatedChars: MsoTriState read Get_RotatedChars write Set_RotatedChars;
  18794.     property Text: WideString read Get_Text write Set_Text;
  18795.     property Tracking: Single read Get_Tracking write Set_Tracking;
  18796.   end;
  18797.  
  18798. // *********************************************************************//
  18799. // DispIntf:  TextEffectFormatDisp
  18800. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18801. // GUID:      {000209CF-0000-0000-C000-000000000046}
  18802. // *********************************************************************//
  18803.   TextEffectFormatDisp = dispinterface
  18804.     ['{000209CF-0000-0000-C000-000000000046}']
  18805.     property Application_: Application_ readonly dispid 1000;
  18806.     property Creator: Integer readonly dispid 1001;
  18807.     property Parent: IDispatch readonly dispid 1;
  18808.     property Alignment: MsoTextEffectAlignment dispid 100;
  18809.     property FontBold: MsoTriState dispid 101;
  18810.     property FontItalic: MsoTriState dispid 102;
  18811.     property FontName: WideString dispid 103;
  18812.     property FontSize: Single dispid 104;
  18813.     property KernedPairs: MsoTriState dispid 105;
  18814.     property NormalizedHeight: MsoTriState dispid 106;
  18815.     property PresetShape: MsoPresetTextEffectShape dispid 107;
  18816.     property PresetTextEffect: MsoPresetTextEffect dispid 108;
  18817.     property RotatedChars: MsoTriState dispid 109;
  18818.     property Text: WideString dispid 110;
  18819.     property Tracking: Single dispid 111;
  18820.     procedure ToggleVerticalText; dispid 10;
  18821.   end;
  18822.  
  18823. // *********************************************************************//
  18824. // Interface: ThreeDFormat
  18825. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18826. // GUID:      {000209D0-0000-0000-C000-000000000046}
  18827. // *********************************************************************//
  18828.   ThreeDFormat = interface(IDispatch)
  18829.     ['{000209D0-0000-0000-C000-000000000046}']
  18830.     function Get_Application_: Application_; safecall;
  18831.     function Get_Creator: Integer; safecall;
  18832.     function Get_Parent: IDispatch; safecall;
  18833.     function Get_Depth: Single; safecall;
  18834.     procedure Set_Depth(prop: Single); safecall;
  18835.     function Get_ExtrusionColor: ColorFormat; safecall;
  18836.     function Get_ExtrusionColorType: MsoExtrusionColorType; safecall;
  18837.     procedure Set_ExtrusionColorType(prop: MsoExtrusionColorType); safecall;
  18838.     function Get_Perspective: MsoTriState; safecall;
  18839.     procedure Set_Perspective(prop: MsoTriState); safecall;
  18840.     function Get_PresetExtrusionDirection: MsoPresetExtrusionDirection; safecall;
  18841.     function Get_PresetLightingDirection: MsoPresetLightingDirection; safecall;
  18842.     procedure Set_PresetLightingDirection(prop: MsoPresetLightingDirection); safecall;
  18843.     function Get_PresetLightingSoftness: MsoPresetLightingSoftness; safecall;
  18844.     procedure Set_PresetLightingSoftness(prop: MsoPresetLightingSoftness); safecall;
  18845.     function Get_PresetMaterial: MsoPresetMaterial; safecall;
  18846.     procedure Set_PresetMaterial(prop: MsoPresetMaterial); safecall;
  18847.     function Get_PresetThreeDFormat: MsoPresetThreeDFormat; safecall;
  18848.     function Get_RotationX: Single; safecall;
  18849.     procedure Set_RotationX(prop: Single); safecall;
  18850.     function Get_RotationY: Single; safecall;
  18851.     procedure Set_RotationY(prop: Single); safecall;
  18852.     function Get_Visible: MsoTriState; safecall;
  18853.     procedure Set_Visible(prop: MsoTriState); safecall;
  18854.     procedure IncrementRotationX(Increment: Single); safecall;
  18855.     procedure IncrementRotationY(Increment: Single); safecall;
  18856.     procedure ResetRotation; safecall;
  18857.     procedure SetExtrusionDirection(PresetExtrusionDirection: MsoPresetExtrusionDirection); safecall;
  18858.     procedure SetThreeDFormat(PresetThreeDFormat: MsoPresetThreeDFormat); safecall;
  18859.     property Application_: Application_ read Get_Application_;
  18860.     property Creator: Integer read Get_Creator;
  18861.     property Parent: IDispatch read Get_Parent;
  18862.     property Depth: Single read Get_Depth write Set_Depth;
  18863.     property ExtrusionColor: ColorFormat read Get_ExtrusionColor;
  18864.     property ExtrusionColorType: MsoExtrusionColorType read Get_ExtrusionColorType write Set_ExtrusionColorType;
  18865.     property Perspective: MsoTriState read Get_Perspective write Set_Perspective;
  18866.     property PresetExtrusionDirection: MsoPresetExtrusionDirection read Get_PresetExtrusionDirection;
  18867.     property PresetLightingDirection: MsoPresetLightingDirection read Get_PresetLightingDirection write Set_PresetLightingDirection;
  18868.     property PresetLightingSoftness: MsoPresetLightingSoftness read Get_PresetLightingSoftness write Set_PresetLightingSoftness;
  18869.     property PresetMaterial: MsoPresetMaterial read Get_PresetMaterial write Set_PresetMaterial;
  18870.     property PresetThreeDFormat: MsoPresetThreeDFormat read Get_PresetThreeDFormat;
  18871.     property RotationX: Single read Get_RotationX write Set_RotationX;
  18872.     property RotationY: Single read Get_RotationY write Set_RotationY;
  18873.     property Visible: MsoTriState read Get_Visible write Set_Visible;
  18874.   end;
  18875.  
  18876. // *********************************************************************//
  18877. // DispIntf:  ThreeDFormatDisp
  18878. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  18879. // GUID:      {000209D0-0000-0000-C000-000000000046}
  18880. // *********************************************************************//
  18881.   ThreeDFormatDisp = dispinterface
  18882.     ['{000209D0-0000-0000-C000-000000000046}']
  18883.     property Application_: Application_ readonly dispid 1000;
  18884.     property Creator: Integer readonly dispid 1001;
  18885.     property Parent: IDispatch readonly dispid 1;
  18886.     property Depth: Single dispid 100;
  18887.     property ExtrusionColor: ColorFormat readonly dispid 101;
  18888.     property ExtrusionColorType: MsoExtrusionColorType dispid 102;
  18889.     property Perspective: MsoTriState dispid 103;
  18890.     property PresetExtrusionDirection: MsoPresetExtrusionDirection readonly dispid 104;
  18891.     property PresetLightingDirection: MsoPresetLightingDirection dispid 105;
  18892.     property PresetLightingSoftness: MsoPresetLightingSoftness dispid 106;
  18893.     property PresetMaterial: MsoPresetMaterial dispid 107;
  18894.     property PresetThreeDFormat: MsoPresetThreeDFormat readonly dispid 108;
  18895.     property RotationX: Single dispid 109;
  18896.     property RotationY: Single dispid 110;
  18897.     property Visible: MsoTriState dispid 111;
  18898.     procedure IncrementRotationX(Increment: Single); dispid 10;
  18899.     procedure IncrementRotationY(Increment: Single); dispid 11;
  18900.     procedure ResetRotation; dispid 12;
  18901.     procedure SetExtrusionDirection(PresetExtrusionDirection: MsoPresetExtrusionDirection); dispid 14;
  18902.     procedure SetThreeDFormat(PresetThreeDFormat: MsoPresetThreeDFormat); dispid 13;
  18903.   end;
  18904.  
  18905. // *********************************************************************//
  18906. // DispIntf:  ApplicationEvents
  18907. // Flags:     (4112) Hidden Dispatchable
  18908. // GUID:      {000209F7-0000-0000-C000-000000000046}
  18909. // *********************************************************************//
  18910.   ApplicationEvents = dispinterface
  18911.     ['{000209F7-0000-0000-C000-000000000046}']
  18912.   end;
  18913.  
  18914. // *********************************************************************//
  18915. // DispIntf:  ApplicationEvents2
  18916. // Flags:     (4112) Hidden Dispatchable
  18917. // GUID:      {000209FE-0000-0000-C000-000000000046}
  18918. // *********************************************************************//
  18919.   ApplicationEvents2 = dispinterface
  18920.     ['{000209FE-0000-0000-C000-000000000046}']
  18921.     procedure QueryInterface_(var riid: {??TGUID} OleVariant; out ppvObj: {??Pointer} OleVariant); dispid 1610612736;
  18922.     function AddRef_: UINT; dispid 1610612737;
  18923.     function Release_: UINT; dispid 1610612738;
  18924.     procedure GetTypeInfoCount_(out pctinfo: SYSUINT); dispid 1610678272;
  18925.     procedure GetTypeInfo_(itinfo: SYSUINT; lcid: UINT; out pptinfo: {??Pointer} OleVariant); dispid 1610678273;
  18926.     procedure GetIDsOfNames_(var riid: {??TGUID} OleVariant; rgszNames: {??PPShortint1} OleVariant; 
  18927.                              cNames: SYSUINT; lcid: UINT; out rgdispid: Integer); dispid 1610678274;
  18928.     procedure Invoke_(dispidMember: Integer; var riid: {??TGUID} OleVariant; lcid: UINT; 
  18929.                       wFlags: {??Word} OleVariant; var pdispparams: {??DISPPARAMS} OleVariant; 
  18930.                       out pvarResult: OleVariant; out pexcepinfo: {??EXCEPINFO} OleVariant; 
  18931.                       out puArgErr: SYSUINT); dispid 1610678275;
  18932.     procedure Startup; dispid 1;
  18933.     procedure Quit; dispid 2;
  18934.     procedure DocumentChange; dispid 3;
  18935.     procedure DocumentOpen(const Doc: Document); dispid 4;
  18936.     procedure DocumentBeforeClose(const Doc: Document; var Cancel: WordBool); dispid 6;
  18937.     procedure DocumentBeforePrint(const Doc: Document; var Cancel: WordBool); dispid 7;
  18938.     procedure DocumentBeforeSave(const Doc: Document; var SaveAsUI: WordBool; var Cancel: WordBool); dispid 8;
  18939.     procedure NewDocument(const Doc: Document); dispid 9;
  18940.     procedure WindowActivate(const Doc: Document; const Wn: Window_); dispid 10;
  18941.     procedure WindowDeactivate(const Doc: Document; const Wn: Window_); dispid 11;
  18942.     procedure WindowSelectionChange(const Sel: Selection); dispid 12;
  18943.     procedure WindowBeforeRightClick(const Sel: Selection; var Cancel: WordBool); dispid 13;
  18944.     procedure WindowBeforeDoubleClick(const Sel: Selection; var Cancel: WordBool); dispid 14;
  18945.   end;
  18946.  
  18947. // *********************************************************************//
  18948. // DispIntf:  DocumentEvents
  18949. // Flags:     (4112) Hidden Dispatchable
  18950. // GUID:      {000209F6-0000-0000-C000-000000000046}
  18951. // *********************************************************************//
  18952.   DocumentEvents = dispinterface
  18953.     ['{000209F6-0000-0000-C000-000000000046}']
  18954.     procedure New; dispid 4;
  18955.     procedure Open; dispid 5;
  18956.     procedure Close; dispid 6;
  18957.   end;
  18958.  
  18959. // *********************************************************************//
  18960. // DispIntf:  OCXEvents
  18961. // Flags:     (4112) Hidden Dispatchable
  18962. // GUID:      {000209F3-0000-0000-C000-000000000046}
  18963. // *********************************************************************//
  18964.   OCXEvents = dispinterface
  18965.     ['{000209F3-0000-0000-C000-000000000046}']
  18966.     procedure GotFocus; dispid -2147417888;
  18967.     procedure LostFocus; dispid -2147417887;
  18968.   end;
  18969.  
  18970. // *********************************************************************//
  18971. // Interface: IApplicationEvents
  18972. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  18973. // GUID:      {000209F7-0001-0000-C000-000000000046}
  18974. // *********************************************************************//
  18975.   IApplicationEvents = interface(IDispatch)
  18976.     ['{000209F7-0001-0000-C000-000000000046}']
  18977.     procedure Startup; safecall;
  18978.     procedure Quit; safecall;
  18979.     procedure DocumentChange; safecall;
  18980.   end;
  18981.  
  18982. // *********************************************************************//
  18983. // DispIntf:  IApplicationEventsDisp
  18984. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  18985. // GUID:      {000209F7-0001-0000-C000-000000000046}
  18986. // *********************************************************************//
  18987.   IApplicationEventsDisp = dispinterface
  18988.     ['{000209F7-0001-0000-C000-000000000046}']
  18989.     procedure Startup; dispid 1;
  18990.     procedure Quit; dispid 2;
  18991.     procedure DocumentChange; dispid 3;
  18992.   end;
  18993.  
  18994. // *********************************************************************//
  18995. // Interface: IApplicationEvents2
  18996. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  18997. // GUID:      {000209FE-0001-0000-C000-000000000046}
  18998. // *********************************************************************//
  18999.   IApplicationEvents2 = interface(IDispatch)
  19000.     ['{000209FE-0001-0000-C000-000000000046}']
  19001.     procedure Startup; safecall;
  19002.     procedure Quit; safecall;
  19003.     procedure DocumentChange; safecall;
  19004.     procedure DocumentOpen(const Doc: Document); safecall;
  19005.     procedure DocumentBeforeClose(const Doc: Document; var Cancel: WordBool); safecall;
  19006.     procedure DocumentBeforePrint(const Doc: Document; var Cancel: WordBool); safecall;
  19007.     procedure DocumentBeforeSave(const Doc: Document; var SaveAsUI: WordBool; var Cancel: WordBool); safecall;
  19008.     procedure NewDocument(const Doc: Document); safecall;
  19009.     procedure WindowActivate(const Doc: Document; const Wn: Window_); safecall;
  19010.     procedure WindowDeactivate(const Doc: Document; const Wn: Window_); safecall;
  19011.     procedure WindowSelectionChange(const Sel: Selection); safecall;
  19012.     procedure WindowBeforeRightClick(const Sel: Selection; var Cancel: WordBool); safecall;
  19013.     procedure WindowBeforeDoubleClick(const Sel: Selection; var Cancel: WordBool); safecall;
  19014.   end;
  19015.  
  19016. // *********************************************************************//
  19017. // DispIntf:  IApplicationEvents2Disp
  19018. // Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
  19019. // GUID:      {000209FE-0001-0000-C000-000000000046}
  19020. // *********************************************************************//
  19021.   IApplicationEvents2Disp = dispinterface
  19022.     ['{000209FE-0001-0000-C000-000000000046}']
  19023.     procedure Startup; dispid 1;
  19024.     procedure Quit; dispid 2;
  19025.     procedure DocumentChange; dispid 3;
  19026.     procedure DocumentOpen(const Doc: Document); dispid 4;
  19027.     procedure DocumentBeforeClose(const Doc: Document; var Cancel: WordBool); dispid 6;
  19028.     procedure DocumentBeforePrint(const Doc: Document; var Cancel: WordBool); dispid 7;
  19029.     procedure DocumentBeforeSave(const Doc: Document; var SaveAsUI: WordBool; var Cancel: WordBool); dispid 8;
  19030.     procedure NewDocument(const Doc: Document); dispid 9;
  19031.     procedure WindowActivate(const Doc: Document; const Wn: Window_); dispid 10;
  19032.     procedure WindowDeactivate(const Doc: Document; const Wn: Window_); dispid 11;
  19033.     procedure WindowSelectionChange(const Sel: Selection); dispid 12;
  19034.     procedure WindowBeforeRightClick(const Sel: Selection; var Cancel: WordBool); dispid 13;
  19035.     procedure WindowBeforeDoubleClick(const Sel: Selection; var Cancel: WordBool); dispid 14;
  19036.   end;
  19037.  
  19038. // *********************************************************************//
  19039. // Interface: EmailAuthor
  19040. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19041. // GUID:      {000209D7-0000-0000-C000-000000000046}
  19042. // *********************************************************************//
  19043.   EmailAuthor = interface(IDispatch)
  19044.     ['{000209D7-0000-0000-C000-000000000046}']
  19045.     function Get_Application_: Application_; safecall;
  19046.     function Get_Creator: Integer; safecall;
  19047.     function Get_Parent: IDispatch; safecall;
  19048.     function Get_Style: Style; safecall;
  19049.     property Application_: Application_ read Get_Application_;
  19050.     property Creator: Integer read Get_Creator;
  19051.     property Parent: IDispatch read Get_Parent;
  19052.     property Style: Style read Get_Style;
  19053.   end;
  19054.  
  19055. // *********************************************************************//
  19056. // DispIntf:  EmailAuthorDisp
  19057. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19058. // GUID:      {000209D7-0000-0000-C000-000000000046}
  19059. // *********************************************************************//
  19060.   EmailAuthorDisp = dispinterface
  19061.     ['{000209D7-0000-0000-C000-000000000046}']
  19062.     property Application_: Application_ readonly dispid 1000;
  19063.     property Creator: Integer readonly dispid 1001;
  19064.     property Parent: IDispatch readonly dispid 1002;
  19065.     property Style: Style readonly dispid 103;
  19066.   end;
  19067.  
  19068. // *********************************************************************//
  19069. // Interface: EmailOptions
  19070. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19071. // GUID:      {000209DB-0000-0000-C000-000000000046}
  19072. // *********************************************************************//
  19073.   EmailOptions = interface(IDispatch)
  19074.     ['{000209DB-0000-0000-C000-000000000046}']
  19075.     function Get_Application_: Application_; safecall;
  19076.     function Get_Creator: Integer; safecall;
  19077.     function Get_Parent: IDispatch; safecall;
  19078.     function Get_UseThemeStyle: WordBool; safecall;
  19079.     procedure Set_UseThemeStyle(prop: WordBool); safecall;
  19080.     function Get_MarkCommentsWith: WideString; safecall;
  19081.     procedure Set_MarkCommentsWith(const prop: WideString); safecall;
  19082.     function Get_MarkComments: WordBool; safecall;
  19083.     procedure Set_MarkComments(prop: WordBool); safecall;
  19084.     function Get_EmailSignature: EmailSignature; safecall;
  19085.     function Get_ComposeStyle: Style; safecall;
  19086.     function Get_ReplyStyle: Style; safecall;
  19087.     function Get_ThemeName: WideString; safecall;
  19088.     procedure Set_ThemeName(const prop: WideString); safecall;
  19089.     property Application_: Application_ read Get_Application_;
  19090.     property Creator: Integer read Get_Creator;
  19091.     property Parent: IDispatch read Get_Parent;
  19092.     property UseThemeStyle: WordBool read Get_UseThemeStyle write Set_UseThemeStyle;
  19093.     property MarkCommentsWith: WideString read Get_MarkCommentsWith write Set_MarkCommentsWith;
  19094.     property MarkComments: WordBool read Get_MarkComments write Set_MarkComments;
  19095.     property EmailSignature: EmailSignature read Get_EmailSignature;
  19096.     property ComposeStyle: Style read Get_ComposeStyle;
  19097.     property ReplyStyle: Style read Get_ReplyStyle;
  19098.     property ThemeName: WideString read Get_ThemeName write Set_ThemeName;
  19099.   end;
  19100.  
  19101. // *********************************************************************//
  19102. // DispIntf:  EmailOptionsDisp
  19103. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19104. // GUID:      {000209DB-0000-0000-C000-000000000046}
  19105. // *********************************************************************//
  19106.   EmailOptionsDisp = dispinterface
  19107.     ['{000209DB-0000-0000-C000-000000000046}']
  19108.     property Application_: Application_ readonly dispid 100;
  19109.     property Creator: Integer readonly dispid 101;
  19110.     property Parent: IDispatch readonly dispid 102;
  19111.     property UseThemeStyle: WordBool dispid 103;
  19112.     property MarkCommentsWith: WideString dispid 106;
  19113.     property MarkComments: WordBool dispid 107;
  19114.     property EmailSignature: EmailSignature readonly dispid 108;
  19115.     property ComposeStyle: Style readonly dispid 109;
  19116.     property ReplyStyle: Style readonly dispid 110;
  19117.     property ThemeName: WideString dispid 114;
  19118.   end;
  19119.  
  19120. // *********************************************************************//
  19121. // Interface: EmailSignature
  19122. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19123. // GUID:      {000209DC-0000-0000-C000-000000000046}
  19124. // *********************************************************************//
  19125.   EmailSignature = interface(IDispatch)
  19126.     ['{000209DC-0000-0000-C000-000000000046}']
  19127.     function Get_Application_: Application_; safecall;
  19128.     function Get_Creator: Integer; safecall;
  19129.     function Get_Parent: IDispatch; safecall;
  19130.     function Get_NewMessageSignature: WideString; safecall;
  19131.     procedure Set_NewMessageSignature(const prop: WideString); safecall;
  19132.     function Get_ReplyMessageSignature: WideString; safecall;
  19133.     procedure Set_ReplyMessageSignature(const prop: WideString); safecall;
  19134.     property Application_: Application_ read Get_Application_;
  19135.     property Creator: Integer read Get_Creator;
  19136.     property Parent: IDispatch read Get_Parent;
  19137.     property NewMessageSignature: WideString read Get_NewMessageSignature write Set_NewMessageSignature;
  19138.     property ReplyMessageSignature: WideString read Get_ReplyMessageSignature write Set_ReplyMessageSignature;
  19139.   end;
  19140.  
  19141. // *********************************************************************//
  19142. // DispIntf:  EmailSignatureDisp
  19143. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19144. // GUID:      {000209DC-0000-0000-C000-000000000046}
  19145. // *********************************************************************//
  19146.   EmailSignatureDisp = dispinterface
  19147.     ['{000209DC-0000-0000-C000-000000000046}']
  19148.     property Application_: Application_ readonly dispid 100;
  19149.     property Creator: Integer readonly dispid 101;
  19150.     property Parent: IDispatch readonly dispid 102;
  19151.     property NewMessageSignature: WideString dispid 103;
  19152.     property ReplyMessageSignature: WideString dispid 104;
  19153.   end;
  19154.  
  19155. // *********************************************************************//
  19156. // Interface: Email
  19157. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19158. // GUID:      {000209DD-0000-0000-C000-000000000046}
  19159. // *********************************************************************//
  19160.   Email = interface(IDispatch)
  19161.     ['{000209DD-0000-0000-C000-000000000046}']
  19162.     function Get_Application_: Application_; safecall;
  19163.     function Get_Creator: Integer; safecall;
  19164.     function Get_Parent: IDispatch; safecall;
  19165.     function Get_CurrentEmailAuthor: EmailAuthor; safecall;
  19166.     property Application_: Application_ read Get_Application_;
  19167.     property Creator: Integer read Get_Creator;
  19168.     property Parent: IDispatch read Get_Parent;
  19169.     property CurrentEmailAuthor: EmailAuthor read Get_CurrentEmailAuthor;
  19170.   end;
  19171.  
  19172. // *********************************************************************//
  19173. // DispIntf:  EmailDisp
  19174. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19175. // GUID:      {000209DD-0000-0000-C000-000000000046}
  19176. // *********************************************************************//
  19177.   EmailDisp = dispinterface
  19178.     ['{000209DD-0000-0000-C000-000000000046}']
  19179.     property Application_: Application_ readonly dispid 100;
  19180.     property Creator: Integer readonly dispid 101;
  19181.     property Parent: IDispatch readonly dispid 102;
  19182.     property CurrentEmailAuthor: EmailAuthor readonly dispid 105;
  19183.   end;
  19184.  
  19185. // *********************************************************************//
  19186. // Interface: HorizontalLineFormat
  19187. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19188. // GUID:      {000209DE-0000-0000-C000-000000000046}
  19189. // *********************************************************************//
  19190.   HorizontalLineFormat = interface(IDispatch)
  19191.     ['{000209DE-0000-0000-C000-000000000046}']
  19192.     function Get_Application_: Application_; safecall;
  19193.     function Get_Creator: Integer; safecall;
  19194.     function Get_Parent: IDispatch; safecall;
  19195.     function Get_PercentWidth: Single; safecall;
  19196.     procedure Set_PercentWidth(prop: Single); safecall;
  19197.     function Get_NoShade: WordBool; safecall;
  19198.     procedure Set_NoShade(prop: WordBool); safecall;
  19199.     function Get_Alignment: WdHorizontalLineAlignment; safecall;
  19200.     procedure Set_Alignment(prop: WdHorizontalLineAlignment); safecall;
  19201.     function Get_WidthType: WdHorizontalLineWidthType; safecall;
  19202.     procedure Set_WidthType(prop: WdHorizontalLineWidthType); safecall;
  19203.     property Application_: Application_ read Get_Application_;
  19204.     property Creator: Integer read Get_Creator;
  19205.     property Parent: IDispatch read Get_Parent;
  19206.     property PercentWidth: Single read Get_PercentWidth write Set_PercentWidth;
  19207.     property NoShade: WordBool read Get_NoShade write Set_NoShade;
  19208.     property Alignment: WdHorizontalLineAlignment read Get_Alignment write Set_Alignment;
  19209.     property WidthType: WdHorizontalLineWidthType read Get_WidthType write Set_WidthType;
  19210.   end;
  19211.  
  19212. // *********************************************************************//
  19213. // DispIntf:  HorizontalLineFormatDisp
  19214. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19215. // GUID:      {000209DE-0000-0000-C000-000000000046}
  19216. // *********************************************************************//
  19217.   HorizontalLineFormatDisp = dispinterface
  19218.     ['{000209DE-0000-0000-C000-000000000046}']
  19219.     property Application_: Application_ readonly dispid 1000;
  19220.     property Creator: Integer readonly dispid 1001;
  19221.     property Parent: IDispatch readonly dispid 1002;
  19222.     property PercentWidth: Single dispid 2;
  19223.     property NoShade: WordBool dispid 3;
  19224.     property Alignment: WdHorizontalLineAlignment dispid 4;
  19225.     property WidthType: WdHorizontalLineWidthType dispid 5;
  19226.   end;
  19227.  
  19228. // *********************************************************************//
  19229. // Interface: Frameset
  19230. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19231. // GUID:      {000209E2-0000-0000-C000-000000000046}
  19232. // *********************************************************************//
  19233.   Frameset = interface(IDispatch)
  19234.     ['{000209E2-0000-0000-C000-000000000046}']
  19235.     function Get_Application_: Application_; safecall;
  19236.     function Get_Creator: Integer; safecall;
  19237.     function Get_Parent: IDispatch; safecall;
  19238.     function Get__NewEnum: IUnknown; safecall;
  19239.     function Get_ParentFrameset: Frameset; safecall;
  19240.     function Get_Type_: WdFramesetType; safecall;
  19241.     function Get_WidthType: WdFramesetSizeType; safecall;
  19242.     procedure Set_WidthType(prop: WdFramesetSizeType); safecall;
  19243.     function Get_HeightType: WdFramesetSizeType; safecall;
  19244.     procedure Set_HeightType(prop: WdFramesetSizeType); safecall;
  19245.     function Get_Width: Integer; safecall;
  19246.     procedure Set_Width(prop: Integer); safecall;
  19247.     function Get_Height: Integer; safecall;
  19248.     procedure Set_Height(prop: Integer); safecall;
  19249.     function Get_ChildFramesetCount: Integer; safecall;
  19250.     function Get_ChildFramesetItem(Index: Integer): Frameset; safecall;
  19251.     function Get_FramesetBorderWidth: Single; safecall;
  19252.     procedure Set_FramesetBorderWidth(prop: Single); safecall;
  19253.     function Get_FramesetBorderColor: WdColor; safecall;
  19254.     procedure Set_FramesetBorderColor(prop: WdColor); safecall;
  19255.     function Get_FrameScrollbarType: WdScrollbarType; safecall;
  19256.     procedure Set_FrameScrollbarType(prop: WdScrollbarType); safecall;
  19257.     function Get_FrameResizable: WordBool; safecall;
  19258.     procedure Set_FrameResizable(prop: WordBool); safecall;
  19259.     function Get_FrameName: WideString; safecall;
  19260.     procedure Set_FrameName(const prop: WideString); safecall;
  19261.     function Get_FrameDisplayBorders: WordBool; safecall;
  19262.     procedure Set_FrameDisplayBorders(prop: WordBool); safecall;
  19263.     function Get_FrameDefaultURL: WideString; safecall;
  19264.     procedure Set_FrameDefaultURL(const prop: WideString); safecall;
  19265.     function Get_FrameLinkToFile: WordBool; safecall;
  19266.     procedure Set_FrameLinkToFile(prop: WordBool); safecall;
  19267.     function AddNewFrame(Where: WdFramesetNewFrameLocation): Frameset; safecall;
  19268.     procedure Delete; safecall;
  19269.     property Application_: Application_ read Get_Application_;
  19270.     property Creator: Integer read Get_Creator;
  19271.     property Parent: IDispatch read Get_Parent;
  19272.     property _NewEnum: IUnknown read Get__NewEnum;
  19273.     property ParentFrameset: Frameset read Get_ParentFrameset;
  19274.     property Type_: WdFramesetType read Get_Type_;
  19275.     property WidthType: WdFramesetSizeType read Get_WidthType write Set_WidthType;
  19276.     property HeightType: WdFramesetSizeType read Get_HeightType write Set_HeightType;
  19277.     property Width: Integer read Get_Width write Set_Width;
  19278.     property Height: Integer read Get_Height write Set_Height;
  19279.     property ChildFramesetCount: Integer read Get_ChildFramesetCount;
  19280.     property ChildFramesetItem[Index: Integer]: Frameset read Get_ChildFramesetItem;
  19281.     property FramesetBorderWidth: Single read Get_FramesetBorderWidth write Set_FramesetBorderWidth;
  19282.     property FramesetBorderColor: WdColor read Get_FramesetBorderColor write Set_FramesetBorderColor;
  19283.     property FrameScrollbarType: WdScrollbarType read Get_FrameScrollbarType write Set_FrameScrollbarType;
  19284.     property FrameResizable: WordBool read Get_FrameResizable write Set_FrameResizable;
  19285.     property FrameName: WideString read Get_FrameName write Set_FrameName;
  19286.     property FrameDisplayBorders: WordBool read Get_FrameDisplayBorders write Set_FrameDisplayBorders;
  19287.     property FrameDefaultURL: WideString read Get_FrameDefaultURL write Set_FrameDefaultURL;
  19288.     property FrameLinkToFile: WordBool read Get_FrameLinkToFile write Set_FrameLinkToFile;
  19289.   end;
  19290.  
  19291. // *********************************************************************//
  19292. // DispIntf:  FramesetDisp
  19293. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19294. // GUID:      {000209E2-0000-0000-C000-000000000046}
  19295. // *********************************************************************//
  19296.   FramesetDisp = dispinterface
  19297.     ['{000209E2-0000-0000-C000-000000000046}']
  19298.     property Application_: Application_ readonly dispid 1000;
  19299.     property Creator: Integer readonly dispid 1001;
  19300.     property Parent: IDispatch readonly dispid 1002;
  19301.     property _NewEnum: IUnknown readonly dispid -4;
  19302.     property ParentFrameset: Frameset readonly dispid 1003;
  19303.     property Type_: WdFramesetType readonly dispid 0;
  19304.     property WidthType: WdFramesetSizeType dispid 1;
  19305.     property HeightType: WdFramesetSizeType dispid 2;
  19306.     property Width: Integer dispid 3;
  19307.     property Height: Integer dispid 4;
  19308.     property ChildFramesetCount: Integer readonly dispid 5;
  19309.     property ChildFramesetItem[Index: Integer]: Frameset readonly dispid 6;
  19310.     property FramesetBorderWidth: Single dispid 20;
  19311.     property FramesetBorderColor: WdColor dispid 21;
  19312.     property FrameScrollbarType: WdScrollbarType dispid 30;
  19313.     property FrameResizable: WordBool dispid 31;
  19314.     property FrameName: WideString dispid 34;
  19315.     property FrameDisplayBorders: WordBool dispid 35;
  19316.     property FrameDefaultURL: WideString dispid 36;
  19317.     property FrameLinkToFile: WordBool dispid 37;
  19318.     function AddNewFrame(Where: WdFramesetNewFrameLocation): Frameset; dispid 50;
  19319.     procedure Delete; dispid 51;
  19320.   end;
  19321.  
  19322. // *********************************************************************//
  19323. // Interface: DefaultWebOptions
  19324. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19325. // GUID:      {000209E3-0000-0000-C000-000000000046}
  19326. // *********************************************************************//
  19327.   DefaultWebOptions = interface(IDispatch)
  19328.     ['{000209E3-0000-0000-C000-000000000046}']
  19329.     function Get_Application_: Application_; safecall;
  19330.     function Get_Creator: Integer; safecall;
  19331.     function Get_Parent: IDispatch; safecall;
  19332.     function Get_OptimizeForBrowser: WordBool; safecall;
  19333.     procedure Set_OptimizeForBrowser(prop: WordBool); safecall;
  19334.     function Get_BrowserLevel: WdBrowserLevel; safecall;
  19335.     procedure Set_BrowserLevel(prop: WdBrowserLevel); safecall;
  19336.     function Get_RelyOnCSS: WordBool; safecall;
  19337.     procedure Set_RelyOnCSS(prop: WordBool); safecall;
  19338.     function Get_OrganizeInFolder: WordBool; safecall;
  19339.     procedure Set_OrganizeInFolder(prop: WordBool); safecall;
  19340.     function Get_UpdateLinksOnSave: WordBool; safecall;
  19341.     procedure Set_UpdateLinksOnSave(prop: WordBool); safecall;
  19342.     function Get_UseLongFileNames: WordBool; safecall;
  19343.     procedure Set_UseLongFileNames(prop: WordBool); safecall;
  19344.     function Get_CheckIfOfficeIsHTMLEditor: WordBool; safecall;
  19345.     procedure Set_CheckIfOfficeIsHTMLEditor(prop: WordBool); safecall;
  19346.     function Get_CheckIfWordIsDefaultHTMLEditor: WordBool; safecall;
  19347.     procedure Set_CheckIfWordIsDefaultHTMLEditor(prop: WordBool); safecall;
  19348.     function Get_RelyOnVML: WordBool; safecall;
  19349.     procedure Set_RelyOnVML(prop: WordBool); safecall;
  19350.     function Get_AllowPNG: WordBool; safecall;
  19351.     procedure Set_AllowPNG(prop: WordBool); safecall;
  19352.     function Get_ScreenSize: MsoScreenSize; safecall;
  19353.     procedure Set_ScreenSize(prop: MsoScreenSize); safecall;
  19354.     function Get_PixelsPerInch: Integer; safecall;
  19355.     procedure Set_PixelsPerInch(prop: Integer); safecall;
  19356.     function Get_Encoding: MsoEncoding; safecall;
  19357.     procedure Set_Encoding(prop: MsoEncoding); safecall;
  19358.     function Get_AlwaysSaveInDefaultEncoding: WordBool; safecall;
  19359.     procedure Set_AlwaysSaveInDefaultEncoding(prop: WordBool); safecall;
  19360.     function Get_Fonts: WebPageFonts; safecall;
  19361.     function Get_FolderSuffix: WideString; safecall;
  19362.     property Application_: Application_ read Get_Application_;
  19363.     property Creator: Integer read Get_Creator;
  19364.     property Parent: IDispatch read Get_Parent;
  19365.     property OptimizeForBrowser: WordBool read Get_OptimizeForBrowser write Set_OptimizeForBrowser;
  19366.     property BrowserLevel: WdBrowserLevel read Get_BrowserLevel write Set_BrowserLevel;
  19367.     property RelyOnCSS: WordBool read Get_RelyOnCSS write Set_RelyOnCSS;
  19368.     property OrganizeInFolder: WordBool read Get_OrganizeInFolder write Set_OrganizeInFolder;
  19369.     property UpdateLinksOnSave: WordBool read Get_UpdateLinksOnSave write Set_UpdateLinksOnSave;
  19370.     property UseLongFileNames: WordBool read Get_UseLongFileNames write Set_UseLongFileNames;
  19371.     property CheckIfOfficeIsHTMLEditor: WordBool read Get_CheckIfOfficeIsHTMLEditor write Set_CheckIfOfficeIsHTMLEditor;
  19372.     property CheckIfWordIsDefaultHTMLEditor: WordBool read Get_CheckIfWordIsDefaultHTMLEditor write Set_CheckIfWordIsDefaultHTMLEditor;
  19373.     property RelyOnVML: WordBool read Get_RelyOnVML write Set_RelyOnVML;
  19374.     property AllowPNG: WordBool read Get_AllowPNG write Set_AllowPNG;
  19375.     property ScreenSize: MsoScreenSize read Get_ScreenSize write Set_ScreenSize;
  19376.     property PixelsPerInch: Integer read Get_PixelsPerInch write Set_PixelsPerInch;
  19377.     property Encoding: MsoEncoding read Get_Encoding write Set_Encoding;
  19378.     property AlwaysSaveInDefaultEncoding: WordBool read Get_AlwaysSaveInDefaultEncoding write Set_AlwaysSaveInDefaultEncoding;
  19379.     property Fonts: WebPageFonts read Get_Fonts;
  19380.     property FolderSuffix: WideString read Get_FolderSuffix;
  19381.   end;
  19382.  
  19383. // *********************************************************************//
  19384. // DispIntf:  DefaultWebOptionsDisp
  19385. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19386. // GUID:      {000209E3-0000-0000-C000-000000000046}
  19387. // *********************************************************************//
  19388.   DefaultWebOptionsDisp = dispinterface
  19389.     ['{000209E3-0000-0000-C000-000000000046}']
  19390.     property Application_: Application_ readonly dispid 1000;
  19391.     property Creator: Integer readonly dispid 1001;
  19392.     property Parent: IDispatch readonly dispid 1002;
  19393.     property OptimizeForBrowser: WordBool dispid 1;
  19394.     property BrowserLevel: WdBrowserLevel dispid 2;
  19395.     property RelyOnCSS: WordBool dispid 3;
  19396.     property OrganizeInFolder: WordBool dispid 4;
  19397.     property UpdateLinksOnSave: WordBool dispid 5;
  19398.     property UseLongFileNames: WordBool dispid 6;
  19399.     property CheckIfOfficeIsHTMLEditor: WordBool dispid 7;
  19400.     property CheckIfWordIsDefaultHTMLEditor: WordBool dispid 8;
  19401.     property RelyOnVML: WordBool dispid 9;
  19402.     property AllowPNG: WordBool dispid 10;
  19403.     property ScreenSize: MsoScreenSize dispid 11;
  19404.     property PixelsPerInch: Integer dispid 12;
  19405.     property Encoding: MsoEncoding dispid 13;
  19406.     property AlwaysSaveInDefaultEncoding: WordBool dispid 14;
  19407.     property Fonts: WebPageFonts readonly dispid 15;
  19408.     property FolderSuffix: WideString readonly dispid 16;
  19409.   end;
  19410.  
  19411. // *********************************************************************//
  19412. // Interface: WebOptions
  19413. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19414. // GUID:      {000209E4-0000-0000-C000-000000000046}
  19415. // *********************************************************************//
  19416.   WebOptions = interface(IDispatch)
  19417.     ['{000209E4-0000-0000-C000-000000000046}']
  19418.     function Get_Application_: Application_; safecall;
  19419.     function Get_Creator: Integer; safecall;
  19420.     function Get_Parent: IDispatch; safecall;
  19421.     function Get_OptimizeForBrowser: WordBool; safecall;
  19422.     procedure Set_OptimizeForBrowser(prop: WordBool); safecall;
  19423.     function Get_BrowserLevel: WdBrowserLevel; safecall;
  19424.     procedure Set_BrowserLevel(prop: WdBrowserLevel); safecall;
  19425.     function Get_RelyOnCSS: WordBool; safecall;
  19426.     procedure Set_RelyOnCSS(prop: WordBool); safecall;
  19427.     function Get_OrganizeInFolder: WordBool; safecall;
  19428.     procedure Set_OrganizeInFolder(prop: WordBool); safecall;
  19429.     function Get_UseLongFileNames: WordBool; safecall;
  19430.     procedure Set_UseLongFileNames(prop: WordBool); safecall;
  19431.     function Get_RelyOnVML: WordBool; safecall;
  19432.     procedure Set_RelyOnVML(prop: WordBool); safecall;
  19433.     function Get_AllowPNG: WordBool; safecall;
  19434.     procedure Set_AllowPNG(prop: WordBool); safecall;
  19435.     function Get_ScreenSize: MsoScreenSize; safecall;
  19436.     procedure Set_ScreenSize(prop: MsoScreenSize); safecall;
  19437.     function Get_PixelsPerInch: Integer; safecall;
  19438.     procedure Set_PixelsPerInch(prop: Integer); safecall;
  19439.     function Get_Encoding: MsoEncoding; safecall;
  19440.     procedure Set_Encoding(prop: MsoEncoding); safecall;
  19441.     function Get_FolderSuffix: WideString; safecall;
  19442.     procedure UseDefaultFolderSuffix; safecall;
  19443.     property Application_: Application_ read Get_Application_;
  19444.     property Creator: Integer read Get_Creator;
  19445.     property Parent: IDispatch read Get_Parent;
  19446.     property OptimizeForBrowser: WordBool read Get_OptimizeForBrowser write Set_OptimizeForBrowser;
  19447.     property BrowserLevel: WdBrowserLevel read Get_BrowserLevel write Set_BrowserLevel;
  19448.     property RelyOnCSS: WordBool read Get_RelyOnCSS write Set_RelyOnCSS;
  19449.     property OrganizeInFolder: WordBool read Get_OrganizeInFolder write Set_OrganizeInFolder;
  19450.     property UseLongFileNames: WordBool read Get_UseLongFileNames write Set_UseLongFileNames;
  19451.     property RelyOnVML: WordBool read Get_RelyOnVML write Set_RelyOnVML;
  19452.     property AllowPNG: WordBool read Get_AllowPNG write Set_AllowPNG;
  19453.     property ScreenSize: MsoScreenSize read Get_ScreenSize write Set_ScreenSize;
  19454.     property PixelsPerInch: Integer read Get_PixelsPerInch write Set_PixelsPerInch;
  19455.     property Encoding: MsoEncoding read Get_Encoding write Set_Encoding;
  19456.     property FolderSuffix: WideString read Get_FolderSuffix;
  19457.   end;
  19458.  
  19459. // *********************************************************************//
  19460. // DispIntf:  WebOptionsDisp
  19461. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19462. // GUID:      {000209E4-0000-0000-C000-000000000046}
  19463. // *********************************************************************//
  19464.   WebOptionsDisp = dispinterface
  19465.     ['{000209E4-0000-0000-C000-000000000046}']
  19466.     property Application_: Application_ readonly dispid 1000;
  19467.     property Creator: Integer readonly dispid 1001;
  19468.     property Parent: IDispatch readonly dispid 1002;
  19469.     property OptimizeForBrowser: WordBool dispid 1;
  19470.     property BrowserLevel: WdBrowserLevel dispid 2;
  19471.     property RelyOnCSS: WordBool dispid 3;
  19472.     property OrganizeInFolder: WordBool dispid 4;
  19473.     property UseLongFileNames: WordBool dispid 5;
  19474.     property RelyOnVML: WordBool dispid 6;
  19475.     property AllowPNG: WordBool dispid 7;
  19476.     property ScreenSize: MsoScreenSize dispid 8;
  19477.     property PixelsPerInch: Integer dispid 9;
  19478.     property Encoding: MsoEncoding dispid 10;
  19479.     property FolderSuffix: WideString readonly dispid 11;
  19480.     procedure UseDefaultFolderSuffix; dispid 101;
  19481.   end;
  19482.  
  19483. // *********************************************************************//
  19484. // Interface: OtherCorrectionsExceptions
  19485. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19486. // GUID:      {000209DF-0000-0000-C000-000000000046}
  19487. // *********************************************************************//
  19488.   OtherCorrectionsExceptions = interface(IDispatch)
  19489.     ['{000209DF-0000-0000-C000-000000000046}']
  19490.     function Get_Application_: Application_; safecall;
  19491.     function Get_Creator: Integer; safecall;
  19492.     function Get_Parent: IDispatch; safecall;
  19493.     function Get__NewEnum: IUnknown; safecall;
  19494.     function Get_Count: Integer; safecall;
  19495.     function Item(var Index: OleVariant): OtherCorrectionsException; safecall;
  19496.     function Add(const Name: WideString): OtherCorrectionsException; safecall;
  19497.     property Application_: Application_ read Get_Application_;
  19498.     property Creator: Integer read Get_Creator;
  19499.     property Parent: IDispatch read Get_Parent;
  19500.     property _NewEnum: IUnknown read Get__NewEnum;
  19501.     property Count: Integer read Get_Count;
  19502.   end;
  19503.  
  19504. // *********************************************************************//
  19505. // DispIntf:  OtherCorrectionsExceptionsDisp
  19506. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19507. // GUID:      {000209DF-0000-0000-C000-000000000046}
  19508. // *********************************************************************//
  19509.   OtherCorrectionsExceptionsDisp = dispinterface
  19510.     ['{000209DF-0000-0000-C000-000000000046}']
  19511.     property Application_: Application_ readonly dispid 1000;
  19512.     property Creator: Integer readonly dispid 1001;
  19513.     property Parent: IDispatch readonly dispid 1002;
  19514.     property _NewEnum: IUnknown readonly dispid -4;
  19515.     property Count: Integer readonly dispid 1;
  19516.     function Item(var Index: OleVariant): OtherCorrectionsException; dispid 0;
  19517.     function Add(const Name: WideString): OtherCorrectionsException; dispid 101;
  19518.   end;
  19519.  
  19520. // *********************************************************************//
  19521. // Interface: OtherCorrectionsException
  19522. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19523. // GUID:      {000209E1-0000-0000-C000-000000000046}
  19524. // *********************************************************************//
  19525.   OtherCorrectionsException = interface(IDispatch)
  19526.     ['{000209E1-0000-0000-C000-000000000046}']
  19527.     function Get_Application_: Application_; safecall;
  19528.     function Get_Creator: Integer; safecall;
  19529.     function Get_Parent: IDispatch; safecall;
  19530.     function Get_Index: Integer; safecall;
  19531.     function Get_Name: WideString; safecall;
  19532.     procedure Delete; safecall;
  19533.     property Application_: Application_ read Get_Application_;
  19534.     property Creator: Integer read Get_Creator;
  19535.     property Parent: IDispatch read Get_Parent;
  19536.     property Index: Integer read Get_Index;
  19537.     property Name: WideString read Get_Name;
  19538.   end;
  19539.  
  19540. // *********************************************************************//
  19541. // DispIntf:  OtherCorrectionsExceptionDisp
  19542. // Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
  19543. // GUID:      {000209E1-0000-0000-C000-000000000046}
  19544. // *********************************************************************//
  19545.   OtherCorrectionsExceptionDisp = dispinterface
  19546.     ['{000209E1-0000-0000-C000-000000000046}']
  19547.     property Application_: Application_ readonly dispid 1000;
  19548.     property Creator: Integer readonly dispid 1001;
  19549.     property Parent: IDispatch readonly dispid 1002;
  19550.     property Index: Integer readonly dispid 1;
  19551.     property Name: WideString readonly dispid 2;
  19552.     procedure Delete; dispid 101;
  19553.   end;
  19554.  
  19555.   CoGlobal = class
  19556.     class function Create: _Global;
  19557.     class function CreateRemote(const MachineName: string): _Global;
  19558.   end;
  19559.  
  19560.   CoDocument = class
  19561.     class function Create: _Document;
  19562.     class function CreateRemote(const MachineName: string): _Document;
  19563.   end;
  19564.  
  19565.   CoFont = class
  19566.     class function Create: _Font;
  19567.     class function CreateRemote(const MachineName: string): _Font;
  19568.   end;
  19569.  
  19570.   CoParagraphFormat = class
  19571.     class function Create: _ParagraphFormat;
  19572.     class function CreateRemote(const MachineName: string): _ParagraphFormat;
  19573.   end;
  19574.  
  19575.   CoOLEControl = class
  19576.     class function Create: _OLEControl;
  19577.     class function CreateRemote(const MachineName: string): _OLEControl;
  19578.   end;
  19579.  
  19580.   CoLetterContent = class
  19581.     class function Create: _LetterContent;
  19582.     class function CreateRemote(const MachineName: string): _LetterContent;
  19583.   end;
  19584.  
  19585.   CoApplication_ = class
  19586.     class function Create: _Application;
  19587.     class function CreateRemote(const MachineName: string): _Application;
  19588.   end;
  19589.  
  19590. implementation
  19591.  
  19592. uses ComObj;
  19593.  
  19594. class function CoGlobal.Create: _Global;
  19595. begin
  19596.   Result := CreateComObject(CLASS_Global) as _Global;
  19597. end;
  19598.  
  19599. class function CoGlobal.CreateRemote(const MachineName: string): _Global;
  19600. begin
  19601.   Result := CreateRemoteComObject(MachineName, CLASS_Global) as _Global;
  19602. end;
  19603.  
  19604. class function CoDocument.Create: _Document;
  19605. begin
  19606.   Result := CreateComObject(CLASS_Document) as _Document;
  19607. end;
  19608.  
  19609. class function CoDocument.CreateRemote(const MachineName: string): _Document;
  19610. begin
  19611.   Result := CreateRemoteComObject(MachineName, CLASS_Document) as _Document;
  19612. end;
  19613.  
  19614. class function CoFont.Create: _Font;
  19615. begin
  19616.   Result := CreateComObject(CLASS_Font) as _Font;
  19617. end;
  19618.  
  19619. class function CoFont.CreateRemote(const MachineName: string): _Font;
  19620. begin
  19621.   Result := CreateRemoteComObject(MachineName, CLASS_Font) as _Font;
  19622. end;
  19623.  
  19624. class function CoParagraphFormat.Create: _ParagraphFormat;
  19625. begin
  19626.   Result := CreateComObject(CLASS_ParagraphFormat) as _ParagraphFormat;
  19627. end;
  19628.  
  19629. class function CoParagraphFormat.CreateRemote(const MachineName: string): _ParagraphFormat;
  19630. begin
  19631.   Result := CreateRemoteComObject(MachineName, CLASS_ParagraphFormat) as _ParagraphFormat;
  19632. end;
  19633.  
  19634. class function CoOLEControl.Create: _OLEControl;
  19635. begin
  19636.   Result := CreateComObject(CLASS_OLEControl) as _OLEControl;
  19637. end;
  19638.  
  19639. class function CoOLEControl.CreateRemote(const MachineName: string): _OLEControl;
  19640. begin
  19641.   Result := CreateRemoteComObject(MachineName, CLASS_OLEControl) as _OLEControl;
  19642. end;
  19643.  
  19644. class function CoLetterContent.Create: _LetterContent;
  19645. begin
  19646.   Result := CreateComObject(CLASS_LetterContent) as _LetterContent;
  19647. end;
  19648.  
  19649. class function CoLetterContent.CreateRemote(const MachineName: string): _LetterContent;
  19650. begin
  19651.   Result := CreateRemoteComObject(MachineName, CLASS_LetterContent) as _LetterContent;
  19652. end;
  19653.  
  19654. class function CoApplication_.Create: _Application;
  19655. begin
  19656.   Result := CreateComObject(CLASS_Application_) as _Application;
  19657. end;
  19658.  
  19659. class function CoApplication_.CreateRemote(const MachineName: string): _Application;
  19660. begin
  19661.   Result := CreateRemoteComObject(MachineName, CLASS_Application_) as _Application;
  19662. end;
  19663.  
  19664. end.
  19665.